nptl: Add adapt_count parameter to lll_unlock_elision
[glibc.git] / ChangeLog
blob6a743e454b75fcecc2a3e4e669621a11fc0736ed
1 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4         Add elision adapt_count parameter to list of arguments.
5         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6         (lll_unlock_elision): Update with new parameter list
7         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8         (lll_unlock_elision): Likewise
9         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10         (lll_unlock_elision): Likewise
12 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14         [BZ #19122]
15         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
16         attribute_hidden.
18         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
19         attribute_hidden.
20         [IS_IN (rtld)] (__strdup): Likewise.
21         [IS_IN (rtld)] (__strerror_r): Likewise.
22         [IS_IN (rtld)] (__strsep_g): Likewise.
23         [IS_IN (rtld)] (memchr): Likewise.
24         [IS_IN (rtld)] (memcmp): Likewise.
25         [IS_IN (rtld)] (memcpy): Likewise.
26         [IS_IN (rtld)] (memmove): Likewise.
27         [IS_IN (rtld)] (memset): Likewise.
28         [IS_IN (rtld)] (rawmemchr): Likewise.
29         [IS_IN (rtld)] (stpcpy): Likewise.
30         [IS_IN (rtld)] (strchr): Likewise.
31         [IS_IN (rtld)] (strcmp): Likewise.
32         [IS_IN (rtld)] (strlen): Likewise.
33         [IS_IN (rtld)] (strnlen): Likewise.
34         [IS_IN (rtld)] (strsep): Likewise.
36         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
37         attribute_hidden.
38         [IS_IN (rtld)] (__strtoul_internal): Likewise.
40         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
41         attribute_hidden.
42         [IS_IN (rtld)] (__libc_sigaction): Likewise.
44         * include/setjmp.h (__longjmp): Add attribute_hidden.
45         [IS_IN (rtld)] (__sigsetjmp): Likewise.
47         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
48         Add attribute_hidden.
50         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
51         [IS_IN (rtld)] (__open): Likewise.
52         [IS_IN (rtld)] (__fcntl): Likewise.
54         * include/dirent.h (__opendirat): Add attribute_hidden.
55         (__getdents): Likewise.
56         (__getdents64): Likewise.
57         (__alloc_dir): Likewise.
58         [IS_IN (rtld)] (__closedir): Likewise.
59         [IS_IN (rtld)] (__fdopendir): Likewise.
60         [IS_IN (rtld)] (__readdir): Likewise.
61         [IS_IN (rtld)] (__readdir64): Likewise.
62         [IS_IN (rtld)] (__rewinddir): Likewise.
64         * include/dlfcn.h (_dl_catch_error): Moved to ...
65         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
66         attribute_hidden.
68         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
69         (_itoa_word): Likewise.
71         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
72         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
73         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
74         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
75         (_dl_higher_prime_number): Likewise.
76         (_dl_debug_printf_c): Likewise.
77         (_dl_signal_cerror): Likewise.
78         (_dl_receive_error): Likewise.
79         (_dl_reloc_bad_type): Likewise.
80         (_dl_resolve_conflicts): Likewise.
81         (_dl_check_all_versions): Likewise.
82         (_dl_check_map_versions): Likewise.
83         (_dl_sort_fini): Likewise.
84         (_dl_debug_initialize): Likewise.
85         (_dl_init_paths): Likewise.
86         (_dl_show_auxv): Likewise.
87         (_dl_next_ld_env_entry): Likewise.
88         (_dl_important_hwcaps): Likewise.
89         (_dl_load_cache_lookup): Likewise.
90         (_dl_update_slotinfo): Likewise.
91         (_dl_show_scope): Likewise.
93         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
94         attribute_hidden.
95         (_wordcopy_fwd_dest_aligned): Likewise.
96         (_wordcopy_bwd_aligned): Likewise.
97         (_wordcopy_bwd_dest_aligned): Likewise.
99         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
100         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
101         Likewise.
102         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
103         Likewise.
104         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
106 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
108         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
109         GCC 5 requirement.
111 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
113         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
114         test.
115         * sysdeps/i386/configure: Regenerated.
116         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
117         code unconditional.
119         * configure.ac (libc_cv_asm_previous_directive): Remove configure
120         test.
121         (libc_cv_asm_popsection_directive): Likewise.
122         * configure: Regenerated.
123         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
124         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
125         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
126         (__make_section_unallocated): Make definition unconditional.
127         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
128         Remove conditional definition.
129         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
130         (__make_section_unallocated): Likewise.
132         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
133         * configure: Regenerated.
134         * config.make.in (static-libgcc): Remove variable.
135         * Makerules (build-shlib-helper): Use -static-libgcc instead of
136         $(static-libgcc).
137         (build-module-helper): Likewise.
139         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
140         * configure: Regenerated.
142 2015-10-15  Florian Weimer  <fweimer@redhat.com>
144         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
145         (struct char_buffer): New type.
146         (char_buffer_start, char_buffer_size, char_buffer_error)
147         (char_buffer_rewind, char_buffer_add): New functions.
148         (ADDW): Remove macro, replaced by the char_buffer_add function.
149         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
150         of extend_alloca.  Make control flow more explicit.
152 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
154         [BZ #19137]
155         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
156         Add -fomit-frame-pointer.
157         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
159 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
161         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
162         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
163         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
164         only if !__GNUC_PREREQ (5,0).
165         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
166         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
167         (INTERNAL_SYSCALL_NCS): Likewise.
168         (LOADREGS_0): New macro for GCC 5.
169         (ASMARGS_0): Likewise.
170         (LOADREGS_1): Likewise.
171         (ASMARGS_1): Likewise.
172         (LOADREGS_2): Likewise.
173         (ASMARGS_2): Likewise.
174         (LOADREGS_3): Likewise.
175         (ASMARGS_3): Likewise.
176         (LOADREGS_4): Likewise.
177         (ASMARGS_4): Likewise.
178         (LOADREGS_5): Likewise.
179         (ASMARGS_5): Likewise.
180         (LOADREGS_6): Likewise.
181         (ASMARGS_6): Likewise.
183 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
185         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
186         -fomit-frame-pointer.
187         (CFLAGS-mmap64.c): Likewise.
188         (CFLAGS-semtimedop.c): Likewise.
189         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
190         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
191         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
192         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
194 2015-10-15  Florian Weimer  <fweimer@redhat.com>
196         [BZ #18928]
197         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
198         _dl_pointer_guard member.
199         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
200         initializer.
201         (security_init): Always set up pointer guard.
202         (process_envvars): Do not process LD_POINTER_GUARD.
204 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
206         [BZ #19134]
207         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
208         (.LC2): Likewise.
209         (.LC3): Likewise.
210         (__lround): Do not add 0.5 to integer or out-of-range arguments.
212 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
214         [BZ #19129]
215         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
216         r0 and r1.
218 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
220         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
222 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
224         * include/stap-probe.h: Fix macro definition formatting.
226 2015-10-14  Florian Weimer  <fweimer@redhat.com>
228         [BZ #19074]
229         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
230         load and store num_ifs.
232 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
234         [BZ #18822]
235         * sysdeps/unix/sysv/linux/sched_getaffinity.c
236         (__sched_getaffinity_new): Add libc_hidden_proto and
237         libc_hidden_def.
239 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
241         [BZ #19007]
242         * scripts/localplt.awk: Also allow GOT references.
243         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
244         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
245         with "+ REL R_386_GLOB_DAT".
246         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
247         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
249 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
251         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
252         INLINE_SYSCALL_ERROR_RETURN_VALUE.
253         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
254         Likewise.
255         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
256         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
257         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
258         INTERNAL_SYSCALLINTERNAL_SYSCALL and
259         INLINE_SYSCALL_ERROR_RETURN_VALUE.
260         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
261         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
262         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
263         Likewise.
264         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
266 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
268         [BZ #19125]
269         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
270         <math_private.h> and <stdint.h>.
271         (__llround): Avoid conversions to and from long long int, and
272         subtractions, where those might raise spurious exceptions.
273         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
274         <math_private.h> and <stdint.h>.
275         (__llroundf): Avoid conversions to and from long long int, and
276         subtractions, where those might raise spurious exceptions.
278 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
280         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
281         INLINE_SYSCALL_ERROR_RETURN_VALUE.
282         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
283         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
284         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
285         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
286         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
287         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
288         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
289         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
290         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
291         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
292         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
293         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
294         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
295         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
296         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
297         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
298         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
299         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
300         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
301         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
302         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
303         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
304         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
305         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
306         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
307         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
308         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
309         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
310         (__xstat64_conv): Likewise.
311         (__xstat32_conv): Likewise.
313 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
315         * sysdeps/unix/sysv/linux/sysdep.h: New file.
316         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
317         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
318         <sysdeps/unix/sysv/linux/sysdep.h>.
319         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
320         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
321         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
322         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
323         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
324         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
325         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
326         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
327         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
330         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
331         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
332         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
333         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
334         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
335         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
336         (sysdep-dl-routines): Add sysdep.
337         [$(subdir) == nptl] (libpthread-routines): Likewise.
338         [$(subdir) == rt] (librt-routines): Likewise.
339         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
340         PIC when branching to SYSCALL_ERROR_LABEL.
341         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
342         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
343         <sysdeps/unix/sysv/linux/sysdep.h>.
344         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
345         (SYSCALL_ERROR_ERRNO): Removed.
346         (SYSCALL_ERROR_HANDLER): Changed to empty.
347         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
348         (__syscall_error): New prototype.
349         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
350         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
352 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
354         [BZ #19124]
355         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
356         (_dl_runtime_resolve_avx512): Make it a hidden alias of
357         _dl_runtime_resolve_avx.
358         (_dl_runtime_profile_avx512): Make it a hidden alias of
359         _dl_runtime_profile_avx.
361 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
363         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
364         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
365         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
366         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
368         [BZ #16422]
369         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
370         New configure test.
371         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
372         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
373         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
374         <math_private.h> and <stdint.h>.
375         (__llrint): Avoid conversions to long long int where those might
376         raise spurious exceptions.
377         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
378         <math_private.h> and <stdint.h>.
379         (__llrintf): Avoid conversions to long long int where those might
380         raise spurious exceptions.
382 2015-10-12  Andreas Schwab  <schwab@suse.de>
384         [BZ #18969]
385         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
386         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
387         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
388         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
389         $(gen-locales).
390         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
391         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
392         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
393         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
394         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
395         $(gen-locales).
396         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
397         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
398         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
399         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
400         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
401         ($(objpfx)tst-ftell-active-handler.out)
402         ($(objpfx)tst-ftell-append.out)
403         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
404         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
405         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
406         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
407         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
408         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
409         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
410         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
411         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
412         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
413         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
414         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
415         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
416         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
417         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
418         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
419         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
420         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
421         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
422         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
423         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
424         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
425         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
426         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
427         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
428         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
429         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
430         $(gen-locales).
431         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
432         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
433         $(gen-locales).
434         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
435         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
436         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
437         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
438         $(gen-locales).
439         * libio/tst_wprintf2.c (main): Use explicit locale.
440         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
442 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
444         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
445         __msg_sig_post.
446         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
448 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
450         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
451         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
453         * sysdeps/arm/libm-test-ulps: Regenerated.
455         [BZ #15470]
456         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
458         [BZ #16399]
459         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
460         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
461         and <fix-fp-int-convert-overflow.h>.
462         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
463         FIX_DBL_LLONG_CONVERT_OVERFLOW.
464         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
465         and <fix-fp-int-convert-overflow.h>.
466         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
467         FIX_DBL_LLONG_CONVERT_OVERFLOW.
468         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
469         <fix-fp-int-convert-overflow.h>.
470         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
471         FIX_DBL_LLONG_CONVERT_OVERFLOW.
472         * sysdeps/ieee754/dbl-64/s_lround.c: Include
473         <fix-fp-int-convert-overflow.h>.
474         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
475         FIX_DBL_LLONG_CONVERT_OVERFLOW.
476         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
477         and <fix-fp-int-convert-overflow.h>.
478         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
479         FIX_DBL_LLONG_CONVERT_OVERFLOW.
480         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
481         <limits.h> and <fix-fp-int-convert-overflow.h>.
482         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
483         FIX_DBL_LLONG_CONVERT_OVERFLOW.
484         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
485         and <fix-fp-int-convert-overflow.h>.
486         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
487         FIX_DBL_LLONG_CONVERT_OVERFLOW.
488         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
489         and <fix-fp-int-convert-overflow.h>.
490         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
491         FIX_DBL_LLONG_CONVERT_OVERFLOW.
492         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
494 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
496         [BZ #18589]
497         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
498         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
499         $(gen-locales).
501 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
502             Phil Blundell <pb@pbcl.net>
504         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
505         * nptl/tst-cancel26.c: New file.
506         * nptl/tst-cancel27.c: Likewise.
508 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
510         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
511         __ILP32__ isn't defined.
512         (lrint): Likewise.
513         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
514         (lrintf): Likewise.
515         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
516         (lrintl): Likewise.
517         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
518         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
519         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
521 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
523         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
524         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
526         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
527         file.
528         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
529         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
531 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
533         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
534         configure test.
535         * sysdeps/i386/configure: Regenerated.
536         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
537         configure test.
538         * sysdeps/x86_64/configure: Regenerated.
539         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
540         Make code unconditional.
542         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
543         test.
544         * sysdeps/i386/configure: Regenerated.
545         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
546         test.
547         * sysdeps/x86_64/configure: Regenerated.
548         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
549         Make code unconditional.
550         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
551         Likewise.
552         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
553         Likewise.
554         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
555         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
556         code unconditional.
557         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
558         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
559         code unconditional.
560         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
561         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
562         code unconditional.
563         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
564         code unconditional.
565         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
566         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
567         code unconditional.
568         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
569         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
570         code unconditional.
571         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
572         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
573         code unconditional.
574         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
575         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
576         code unconditional.
577         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
578         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
580         [BZ #19095]
581         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
582         mantissa to long int before shifting left.
584 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
586         [BZ #19094]
587         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
588         <limits.h>.
589         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
590         when result overflows but exception would not result from cast.
591         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
592         <limits.h>.
593         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
594         when result overflows but exception would not result from cast.
595         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
596         <limits.h>.
597         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
598         when result overflows but exception would not result from cast.
599         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
600         <limits.h>.
601         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
602         when result overflows but exception would not result from cast.
603         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
604         <limits.h>.
605         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
606         when result overflows but exception would not result from cast.
607         * math/libm-test.inc (lrint_test_data): Add more tests.
608         (llrint_test_data): Likewise.
610 2015-10-08  Roland McGrath  <roland@hack.frob.com>
612         [BZ #18872]
613         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
614         Move out from under [$(run-built-tests) = yes] conditional.
615         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
616         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
618 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
620         [BZ #18589]
621         * string/Makefile (tests): Add bug-strcoll2.
622         (LOCALES): Add cs_CZ.UTF-8.
623         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
625         [BZ #18589]
626         * string/bug-strcoll2.c: New file.
627         * locale/categories.def: Revert commit
628         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
629         * locale/langinfo.h: Likewise.
630         * locale/localeinfo.h: Likewise.
631         * locale/C-collate.c: Likewise.
632         * locale/programs/ld-collate.c (collate_output): Likewise.
633         * string/strcoll_l.c (STRDIFF): Likewise.
634         (STRCOLL): Likewise.
635         * wcsmbs/wcscoll_l.c: Likewise.
637 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
639         * math/libm-test.inc (lround_test_data): Do not expect the absence
640         of "inexact" for some tests with non-integer arguments.
641         (llround_test_data): Likewise.
643         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
644         test.
645         (libc_cv_cc_sse2avx): Likewise.
646         * sysdeps/i386/configure: Regenerated.
647         * sysdeps/i386/i686/multiarch/Makefile
648         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
649         [$(subdir) = math].
650         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
651         code unconditional.
652         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
653         Likewise.
654         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
655         Likewise.
656         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
657         Likewise.
658         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
659         test.
660         (libc_cv_cc_sse2avx): Likewise.
661         * sysdeps/x86_64/configure: Regenerated.
662         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
663         unconditional.
664         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
665         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
666         unconditional.
667         (_dl_runtime_profile)
668         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
669         conditional code.
670         * sysdeps/x86_64/fpu/multiarch/Makefile
671         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
672         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
673         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
674         * sysdeps/x86_64/fpu/multiarch/e_exp.c
675         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
676         * sysdeps/x86_64/fpu/multiarch/e_log.c
677         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
678         * sysdeps/x86_64/fpu/multiarch/s_atan.c
679         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
680         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
681         Likewise.
682         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
683         Likewise.
684         * sysdeps/x86_64/fpu/multiarch/s_sin.c
685         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
686         * sysdeps/x86_64/fpu/multiarch/s_tan.c
687         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
688         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
689         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
690         (HAVE_SSE2AVX_SUPPORT): Likewise.
692 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
694         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
695         instead of #pragma optimize.
697 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
699         [BZ #17195]
700         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
701         as is similarly done in systrim and _int_free already.
703 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
705         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
707 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
709         [BZ #19088]
710         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
711         <limits.h>.
712         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
713         overflows but exception would not result from cast.
714         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
715         and <limits.h>.
716         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
717         overflows but exception would not result from cast.
718         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
719         <limits.h>.
720         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
721         overflows but exception would not result from cast.
722         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
723         <limits.h>.
724         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
725         overflows but exception would not result from cast.
726         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
727         <limits.h>.
728         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
729         overflows but exception would not result from cast.
730         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
731         <limits.h>.
732         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
733         overflows but exception would not result from cast.
734         * math/libm-test.inc (lround_test_data): Add more tests.
735         (llround_test_data): Likewise.
737 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
739         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
740         (CFLAGS-ialloc.c): Ditto.
741         (CFLAGS-scheck.c): Ditto.
743 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
745         [BZ #19086]
746         * manual/filesys.texi (Storage Allocation): Fix argument order for
747         posix_fallocate64.
749 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
751         [BZ #19085]
752         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
753         exponent below 48 inside case for non-overflowing exponent.
754         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
756 2015-10-07  Florian Weimer  <fweimer@redhat.com>
758         * iconvdata/cp737.h (from_idx): Add const.
759         * iconvdata/cp775.h (from_idx): Likewise.
761 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
763         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
764         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
765         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
767         [BZ #19079]
768         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
769         file, conditioned on [!_LP64].
770         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
771         [!_LP64] (__lround): Do not define as function or alias.
772         [!_LP64] (lround): Likewise.
773         [!_LP64] (__lroundl): Likewise.
774         [!_LP64] (lroundl): Likewise.
775         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
776         macro.
777         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
778         Likewise.
780 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
782         * math/libm-test.inc (lrint_test_data): Add more tests.
783         (llrint_test_data): Likewise.
784         (lround_test_data): Likewise.
785         (llround_test_data): Likewise.
787         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
788         (llrint_test_data): Add tests used for lrint.
790         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
791         test.
792         * sysdeps/i386/configure: Regenerated.
793         * sysdeps/i386/i686/multiarch/Makefile
794         [$(config-cflags-sse4) = yes]: Make code unconditional.
795         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
796         Likewise.
797         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
798         Likewise.
799         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
800         test.
801         * sysdeps/x86_64/configure: Regenerated.
802         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
803         Make code unconditional.
804         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
805         Likewise.
806         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
807         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
809         * scripts/rpm2dynsym.sh: Remove file.
811 2015-10-06  Florian Weimer  <fweimer@redhat.com>
813         * configure.ac (libc_cv_cxx_thread_local): Define.
814         * configure: Regenerate.
815         * config.make.in (have-cxx-thread_local): Define.
816         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
817         (LDLIBS-tst-thread_local1): Define.
818         (tests): Add tst-thread_local1.
819         [have-cxx-thread_local != yes] (tests-unsupported): Add
820         tst-thread_local1.
821         * nptl/tst-thread_local1.cc: New file.
823 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
825         [BZ #19078]
826         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
827         (u_thres): Likewise.
828         (__expl): Determine whether to call __kernel_standard_l based on
829         value of result, not argument.
831         * math/libm-test.inc (scalb_test_data): Add more expectations for
832         the "inexact" exception.
834         [BZ #19077]
835         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
836         0.0L for argument 1.0L.
838         [BZ #19076]
839         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
840         constant 0.0L when computing infinite result.
842 2015-10-06  Florian Weimer  <fweimer@redhat.com>
844         [BZ #10432]
845         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
846         malloc_usable_size.
848 2015-10-06  Florian Weimer  <fweimer@redhat.com>
850         [BZ #19018]
851         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
852         Mangle function pointer before storing it.
853         (__call_tls_dtors): Demangle function pointer before calling it.
855 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
857         [BZ #19012]
858         * iconv/gconv_db.c (gen_steps): Check for additional errors.
859         Clean up on failure.
861 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
863         [BZ #19071]
864         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
865         long int variable to store possibly incremented high part of
866         mantissa.
867         * math/libm-test.inc (lround_test_data): Add tests used for
868         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
869         for tests requiring 64-bit long.  Do not condition tests on
870         [TEST_FLOAT] unnecessarily.
871         (llround_test_data): Add tests used for lround.  Add another
872         expectation for the "inexact" exception.  Do not condition tests
873         on [TEST_FLOAT] unnecessarily.
875         [BZ #887]
876         [BZ #19049]
877         [BZ #19050]
878         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
879         * sysdeps/ieee754/dbl-64/e_log10.c: Include
880         <fix-int-fp-convert-zero.h>.
881         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
882         * sysdeps/ieee754/dbl-64/e_log2.c: Include
883         <fix-int-fp-convert-zero.h>.
884         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
885         * sysdeps/ieee754/dbl-64/s_erf.c: Include
886         <fix-int-fp-convert-zero.h>.
887         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
888         * sysdeps/ieee754/dbl-64/s_logb.c: Include
889         <fix-int-fp-convert-zero.h>.
890         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
891         * sysdeps/ieee754/flt-32/e_log10f.c: Include
892         <fix-int-fp-convert-zero.h>.
893         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
894         * sysdeps/ieee754/flt-32/e_log2f.c: Include
895         <fix-int-fp-convert-zero.h>.
896         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
897         * sysdeps/ieee754/flt-32/s_erff.c: Include
898         <fix-int-fp-convert-zero.h>.
899         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
900         * sysdeps/ieee754/flt-32/s_logbf.c: Include
901         <fix-int-fp-convert-zero.h>.
902         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
903         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
904         <fix-int-fp-convert-zero.h>.
905         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
906         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
907         <fix-int-fp-convert-zero.h>.
908         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
909         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
910         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
911         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
912         file.
913         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
915 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
917         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
919 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
921         [BZ #19059]
922         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
923         overflowing computation.
924         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
925         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
926         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
927         Likewise.
928         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
929         Likewise.
930         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
931         Likewise.
932         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
933         Likewise.
934         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
935         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
936         Likewise.
937         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
938         Likewise.
939         * math/libm-test.inc (nexttoward_test_data): Add more tests.
941         * nss/rewrite_field.c (__nss_rewrite_field): Use
942         internal_function.
943         * nss/valid_field.c (__nss_valid_field): Likewise.
944         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
946 2015-10-02  Florian Weimer  <fweimer@redhat.com>
948         [BZ #18724]
949         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
950         (__nss_invalid_field_characters, __nss_valid_field)
951         (__nss_valid_list_field, __nss_rewrite_field): Declare.
952         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
953         tst-field.c: New file.
954         * nss/Makefile (routines): Add valid_field, rewrite_field.
955         (tests-static): Define unconditionally.
956         (tests): Include tests-static.
957         [build-static-nss] (tests-static): Use append.
958         [build-static-nss] (tests): Remove modification.
959         * nss/getent.c (print_group): Call putgrent.  Report error.
960         (print_gshadow): Call putsgent.  Report error.
961         (print_passwd): Call putpwent.  Report error.
962         (print_shadow): Call putspent.  Report error.
963         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
964         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
965         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
966         name, password, directory, shell fields for valid syntax.  Rewrite
967         GECOS field to match syntax.
968         * pwd/Makefile (tests): Add tst-putpwent.
969         * pwd/tst-putpwent.c: New file.
970         * grp/putgrent.c (putgrent): Convert to ISO function definition.
971         Check grName, grpasswd, gr_mem fields for valid syntax.
972         Change loop variable i to size_t.
973         * grp/Makefile (tests): Add tst-putgrent.
974         * grp/tst-putgrent.c: New file.
975         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
976         valid syntax.
977         * shadow/Makefile (tests): Add tst-putspent.
978         * shadow/tst-putspent.c: New file.
979         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
980         sg_mem fields for valid syntax.
981         * gshadow/Makefile (tests): Add tst-putsgent.
982         * gshadow/tst-putsgent.c: New file.
984 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
986         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
987         assembly instructions.
989 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
991         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
992         prefix from operands.
994 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
996         [BZ #16347]
997         [BZ #19046]
998         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
999         <libc-internal.h>.
1000         (MAXLGM): Do not use diagnostic control macros.
1001         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
1002         threshold for ldbl-128ibm.
1003         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
1004         instead of multiplying by log then subtracting.
1005         * math/auto-libm-test-in: Add more tests of lgamma.
1006         * math/auto-libm-test-out: Regenerated.
1008         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
1009         (TYPE_HEX_DIG): Likewise.
1010         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
1011         precisions when printing floating-point numbers.
1012         (check_float_internal): Likewise.
1014 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
1016         [BZ #16620]
1017         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
1018         of log (10) rounded downward to 48 bits.
1019         (log10_low): Use corresponding low part of log (10).
1021         [BZ #19032]
1022         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
1023         compute result as (x - x) / (x - x) not as 0 / 0.
1024         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1025         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
1027         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1028         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
1029         and expm1.
1030         * math/auto-libm-test-out: Regenerated.
1031         * math/libm-test.inc (acos_test_data): Add more tests.
1032         (asin_test_data): Likewise.
1033         (asinh_test_data): Likewise.
1034         (atan_test_data): Likewise.
1035         (atanh_test_data): Likewise.
1036         (atan2_test_data): Likewise.
1037         (cbrt_test_data): Likewise.
1038         (ceil_test_data): Likewise.
1039         (copysign_test_data): Likewise.
1040         (cos_test_data): Likewise.
1041         (cosh_test_data): Likewise.
1042         (erf_test_data): Likewise.
1043         (erfc_test_data): Likewise.
1044         (exp_test_data): Likewise.
1045         (exp10_test_data): Likewise.
1046         (exp2_test_data): Likewise.
1047         (expm1_test_data): Likewise.
1048         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1050 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
1052         [BZ #19006]
1053         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
1054         to ...
1055         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
1056         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
1057         to ...
1058         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
1059         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
1060         to ...
1061         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
1062         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
1063         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
1064         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
1065         to ...
1066         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
1067         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1068         Moved to ...
1069         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
1070         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1071         Moved to ...
1072         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
1073         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
1074         to ...
1075         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
1076         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1077         Moved to ...
1078         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
1079         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
1080         to ...
1081         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
1082         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
1083         Removed.
1084         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
1085         Likewise.
1086         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
1087         Likewise.
1088         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
1089         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
1090         Likewise.
1091         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1092         Likewise.
1093         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1094         Likewise.
1095         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1096         Likewise.
1097         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1098         Likewise.
1099         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
1100         Likewise.
1101         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
1102         Likewise.
1103         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
1104         Likewise.
1105         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
1106         Likewise.
1107         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
1108         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
1109         Likewise.
1110         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1111         Likewise.
1112         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1113         Likewise.
1114         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1115         Likewise.
1116         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
1117         Likewise.
1118         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1119         Replace ../i486/pthread_cond_timedwait.S with
1120         ../pthread_cond_timedwait.S.
1122 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
1124         * math/libm-test.inc (acos_test_data): Refine expectations for
1125         errno and "inexact" exceptions.
1126         (acosh_test_data): Likewise.
1127         (asin_test_data): Likewise.
1128         (asinh_test_data): Likewise.
1129         (atan_test_data): Likewise.
1130         (atanh_test_data): Likewise.
1131         (atan2_test_data): Likewise.
1132         (cbrt_test_data): Likewise.
1133         (ceil_test_data): Likewise.
1134         (copysign_test_data): Likewise.
1135         (cosh_test_data): Likewise.
1136         (erf_test_data): Likewise.
1137         (erfc_test_data): Likewise.
1138         (exp_test_data): Likewise.
1139         (exp10_test_data): Likewise.
1140         (exp2_test_data): Likewise.
1141         (expm1_test_data): Likewise.
1142         (fabs_test_data): Likewise.
1143         (floor_test_data): Likewise.
1144         (fma_test_data): Likewise.
1145         (fmax_test_data): Likewise.
1146         (fmin_test_data): Likewise.
1147         (fmod_test_data): Likewise.
1148         (fpclassify_test_data): Likewise.
1149         (frexp_test_data): Likewise.
1150         (hypot_test_data): Likewise.
1151         (ilogb_test_data): Likewise.
1152         (isgreater_test_data): Likewise.
1153         (isgreaterequal_test_data): Likewise.
1154         (isinf_test_data): Likewise.
1155         (isless_test_data): Likewise.
1156         (islessequal_test_data): Likewise.
1157         (islessgreater_test_data): Likewise.
1158         (isnan_test_data): Likewise.
1159         (isnormal_test_data): Likewise.
1160         (issignaling_test_data): Likewise.
1161         (isunordered_test_data): Likewise.
1162         (j0_test_data): Likewise.
1163         (j1_test_data): Likewise.
1164         (jn_test_data): Likewise.
1165         (lgamma_test_data): Likewise.
1166         (lrint_test_data): Likewise.
1167         (llrint_test_data): Likewise.
1168         (log_test_data): Likewise.
1169         (log10_test_data): Likewise.
1170         (log1p_test_data): Likewise.
1171         (log2_test_data): Likewise.
1172         (logb_test_data): Likewise.
1173         (lround_test_data): Likewise.
1174         (llround_test_data): Likewise.
1175         (modf_test_data): Likewise.
1176         (nearbyint_test_data): Likewise.
1177         (nextafter_test_data): Likewise.
1178         (nexttoward_test_data): Likewise.
1179         (pow_test_data): Likewise.
1180         (remainder_test_data): Likewise.
1181         (remquo_test_data): Likewise.
1182         (rint_test_data): Likewise.
1183         (round_test_data): Likewise.
1184         (signbit_test_data): Likewise.
1185         (sinh_test_data): Likewise.
1186         (sqrt_test_data): Likewise.
1187         (tanh_test_data): Likewise.
1188         (tgamma_test_data): Likewise.
1189         (trunc_test_data): Likewise.
1190         (y0_test_data): Likewise.
1191         (y1_test_data): Likewise.
1192         (yn_test_data): Likewise.
1193         (significand_test_data): Likewise.
1195 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
1197         * manual/filesys.texi (Storage Allocation): Document that
1198         posix_fallocate emulation fails when fd is open with O_WRONLY.
1200 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
1202         [BZ #19016]
1203         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
1204         allow more cases with X^2 + Y^2 >= 0.5.
1205         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
1206         normal element in sum instead of special-casing based on values of
1207         arguments.
1208         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
1209         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
1210         -1 as normal element in sum instead of special-casing based on
1211         values of arguments.
1212         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
1213         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
1214         (__x2y2m1): Update comment.
1215         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
1216         as normal element in sum instead of special-casing based on values
1217         of arguments.
1218         * math/s_clog.c (__clog): Handle more cases using log1p without
1219         hypot.
1220         * math/s_clog10.c (__clog10): Likewise.
1221         * math/s_clog10f.c (__clog10f): Likewise.
1222         * math/s_clog10l.c (__clog10l): Likewise.
1223         * math/s_clogf.c (__clogf): Likewise.
1224         * math/s_clogl.c (__clogl): Likewise.
1225         * math/auto-libm-test-in: Add more tests of clog and clog10.
1226         * math/auto-libm-test-out: Regenerated.
1227         * sysdeps/i386/fpu/libm-test-ulps: Update.
1228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1230 2015-09-28  Martin Sebor  <msebor@redhat.com>
1232         [BZ #18969]
1233         * string/Makefile (LOCALES): Define.
1234         (gen-locales.mk): Include.
1235         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
1236         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
1237         * string/tst-strxfrm2.c (do_test): Print the name of the locale
1238         on setlocale failure.
1240 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
1242         [BZ #18985]
1243         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
1244         (__strftime_internal): Likewise.
1245         * time/tst-strftime.c (do_bz18985): New test.
1246         (do_test): Call it.
1248 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
1250         [BZ #18956]
1251         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
1252         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
1253         extracting high part.
1254         * math/auto-libm-test-in: Add another test of pow.
1255         * math/auto-libm-test-out: Regenerated.
1256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1258 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
1260         [BZ #18825]
1261         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
1262         New macro.
1263         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
1264         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
1265         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
1266         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
1267         DBL_NARROW_EVAL, reloading the PIC register as needed.
1268         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
1269         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
1270         FLT_NARROW_EVAL.  Use separate return path for case when first
1271         argument is NaN.
1272         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
1273         DEFINE_LDBL_MIN.
1274         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
1275         PIC register.
1276         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
1277         math_check_force_underflow_nonneg.
1278         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
1279         underflow for subnormal result.
1280         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
1281         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
1282         math_check_force_underflow_nonneg.
1283         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
1284         math_check_force_underflow.
1285         * sysdeps/x86_64/fpu/x86_64-math-asm.h
1286         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
1287         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
1288         DEFINE_LDBL_MIN.
1289         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
1290         * math/auto-libm-test-in: Add more tests of pow.
1291         * math/auto-libm-test-out: Regenerated.
1293 2015-09-25  Florian Weimer  <fweimer@redhat.com>
1295         * nss/bug17079.c (init_test_items): Add diagnostic for
1296         inconsistent entries.
1297         (test_buffer_size): Skip inconsistent entries.
1299 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
1301         [BZ #13304]
1302         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
1303         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
1304         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
1306         [BZ #13304]
1307         * sysdeps/microblaze/s_fma.c: New file.
1308         * sysdeps/microblaze/s_fmaf.c: Likewise.
1309         * sysdeps/microblaze/sfp-machine.h: Likewise.
1311 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
1313         [BZ #17250]
1314         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
1315         member.
1317 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
1319         [BZ #18803]
1320         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
1321         (MO): New macro.
1322         (__ieee754_hypot) [PIC]: Load PIC register.
1323         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
1324         DBL_NARROW_EVAL.
1325         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
1326         math_check_force_underflow_nonneg in case where result might be
1327         tiny.
1328         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1329         Likewise.
1330         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1331         Likewise.
1332         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
1333         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
1334         * math/auto-libm-test-in: Add more tests of hypot.
1335         * math/auto-libm-test-out: Regenerated.
1337 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
1339         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
1341 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
1343         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
1344         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
1345         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
1346         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
1347         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
1348         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
1349         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
1351         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
1352         LOAD_PIC_REG.
1354         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
1355         (FLT_CHECK_FORCE_UFLOW): Likewise.
1356         (DBL_CHECK_FORCE_UFLOW): Likewise.
1357         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
1358         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
1359         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
1360         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
1361         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
1362         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
1363         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
1364         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
1365         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
1366         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1367         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
1368         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
1369         (flt_min): Replace with use of DEFINE_FLT_MIN.
1370         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
1371         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
1372         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1373         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
1374         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
1375         (flt_min): Replace with use of DEFINE_FLT_MIN.
1376         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
1377         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
1378         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1379         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
1380         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
1381         (flt_min): Replace with use of DEFINE_FLT_MIN.
1382         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
1383         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
1384         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
1385         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
1386         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
1387         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
1388         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
1389         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
1390         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1391         (__atan): Use DBL_CHECK_FORCE_UFLOW.
1392         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
1393         (flt_min): Replace with use of DEFINE_FLT_MIN.
1394         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
1395         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
1396         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1397         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
1398         main computation.
1399         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
1400         (flt_min): Replace with use of DEFINE_FLT_MIN.
1401         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
1402         main computation.
1403         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
1404         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1405         (MO): New macro.
1406         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
1407         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
1408         (flt_min): Replace with use of DEFINE_FLT_MIN.
1409         (MO): New macro.
1410         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
1411         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
1412         (__log1pl): Use MO.
1414         [BZ #19003]
1415         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
1416         $(config-cflags-nofma).
1418 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1420         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1422 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
1424         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
1425         (TWO127): Likewise.
1427         * sysdeps/generic/math_private.h (fabs_tg): New macro.
1428         (min_of_type): Likewise.
1429         (math_check_force_underflow): Likewise.
1430         (math_check_force_underflow_nonneg): Likewise.
1431         (math_check_force_underflow_complex): Likewise.
1432         * math/e_exp2l.c (__ieee754_exp2l): Use
1433         math_check_force_underflow_nonneg.
1434         * math/k_casinh.c (__kernel_casinh): Likewise.
1435         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1436         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1437         * math/s_catan.c (__catan): Use
1438         math_check_force_underflow_complex.
1439         * math/s_catanf.c (__catanf): Likewise.
1440         * math/s_catanh.c (__catanh): Likewise.
1441         * math/s_catanhf.c (__catanhf): Likewise.
1442         * math/s_catanhl.c (__catanhl): Likewise.
1443         * math/s_catanl.c (__catanl): Likewise.
1444         * math/s_ccosh.c (__ccosh): Likewise.
1445         * math/s_ccoshf.c (__ccoshf): Likewise.
1446         * math/s_ccoshl.c (__ccoshl): Likewise.
1447         * math/s_cexp.c (__cexp): Likewise.
1448         * math/s_cexpf.c (__cexpf): Likewise.
1449         * math/s_cexpl.c (__cexpl): Likewise.
1450         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
1451         * math/s_clog10.c (__clog10): Likewise.
1452         * math/s_clog10f.c (__clog10f): Likewise.
1453         * math/s_clog10l.c (__clog10l): Likewise.
1454         * math/s_clogf.c (__clogf): Likewise.
1455         * math/s_clogl.c (__clogl): Likewise.
1456         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
1457         * math/s_csinf.c (__csinf): Likewise.
1458         * math/s_csinh.c (__csinh): Likewise.
1459         * math/s_csinhf.c (__csinhf): Likewise.
1460         * math/s_csinhl.c (__csinhl): Likewise.
1461         * math/s_csinl.c (__csinl): Likewise.
1462         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
1463         * math/s_csqrtf.c (__csqrtf): Likewise.
1464         * math/s_csqrtl.c (__csqrtl): Likewise.
1465         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
1466         * math/s_ctanf.c (__ctanf): Likewise.
1467         * math/s_ctanh.c (__ctanh): Likewise.
1468         * math/s_ctanhf.c (__ctanhf): Likewise.
1469         * math/s_ctanhl.c (__ctanhl): Likewise.
1470         * math/s_ctanl.c (__ctanl): Likewise.
1471         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
1472         instead of volatile.
1473         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
1474         math_check_force_underflow.
1475         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1476         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
1477         volatile when forcing underflow.
1478         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1479         math_check_force_underflow_nonneg.
1480         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
1481         Likewise.
1482         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
1483         math_check_force_underflow.
1484         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1485         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1486         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1487         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
1488         math_check_force_underflow_nonneg.
1489         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
1490         math_check_force_underflow.
1491         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
1492         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
1493         instead of volatile.
1494         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
1495         math_check_force_underflow.
1496         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1497         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1498         math_check_force_underflow_nonneg.
1499         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
1500         math_check_force_underflow.
1501         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
1502         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1503         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
1504         math_check_force_underflow_nonneg.
1505         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1506         Likewise.
1507         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
1508         math_check_force_underflow.
1509         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1510         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1511         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
1512         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
1513         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
1514         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
1515         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
1516         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
1517         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1518         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
1519         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
1520         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
1521         Likewise.
1522         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
1523         math_check_force_underflow_nonneg.
1524         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1525         Likewise.
1526         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
1527         math_check_force_underflow.
1528         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1529         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
1530         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1531         Likewise.
1532         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
1533         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
1534         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
1535         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
1536         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
1537         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
1538         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
1539         instead of volatile.
1540         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
1541         math_check_force_underflow.
1542         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
1543         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
1544         math_check_force_underflow.
1545         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
1546         Likewise.
1547         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1548         Use math_check_force_underflow_nonneg.
1549         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
1550         math_check_force_underflow.
1551         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1552         Likewise.
1553         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1554         Likewise.
1555         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1556         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1557         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1558         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1559         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
1560         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1561         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
1562         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
1563         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
1564         math_check_force_underflow_nonneg.
1565         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
1566         math_check_force_underflow.
1567         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1568         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
1569         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
1570         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
1571         math_check_force_underflow_nonneg.
1572         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
1573         math_check_force_underflow.
1574         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
1575         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
1576         instead of volatile.
1577         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
1578         math_check_force_underflow.
1580         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
1581         * stdlib/strtod_l.c: Include <math_private.h>.
1582         (overflow_value): Use math_narrow_eval.
1583         (underflow_value): Likewise.
1584         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1585         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
1586         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
1587         (__ieee754_gamma_r): Likewise.
1588         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
1589         Likewise.
1590         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1591         Likewise.
1592         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
1593         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
1594         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
1595         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
1596         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
1597         (__ieee754_gammaf_r): Likewise.
1598         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1599         Likewise.
1600         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
1601         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
1602         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
1603         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
1604         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
1605         volatile.
1606         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
1607         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
1608         math_narrow_eval.
1609         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
1610         Likewise.
1611         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1612         Likewise.
1613         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
1614         Likewise.
1615         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
1616         volatile.
1617         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
1618         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
1619         math_narrow_eval.
1620         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1621         Likewise.
1622         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1623         Likewise.
1625 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
1627         * nptl/Versions: Remove ignored symbols.
1629 2015-09-22  Florian Weimer  <fweimer@redhat.com>
1631         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
1632         * nss/Makefile (tests): Update.
1634 2015-09-22  Florian Weimer  <fweimer@redhat.com>
1636         * nss/bug18287.c: New file.
1637         * nss/Makefile (tests): Add bug18287.
1639 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1641         * mach/Versions (__mach_host_self_): Add symbol.
1643 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1645         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
1646         vm_page_size.
1648 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1650         Really fix sysdeps/i386/fpu/s_scalbn.S build
1652         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
1653         (libc: GLIBC_2_22): Remove unused version set.
1655 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
1657         * config.make.in (enable-timezone-tools): New variable.
1658         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
1659         (enable_timezone_tools): Export to generated files.
1660         * configure: Regenerate.
1661         * INSTALL: Regenerate.
1662         * manual/install.texi (--disable-timezone-tools): Document new flag.
1663         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
1664         ifeq ($(enable-timezone-tools),yes) check.
1666 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1668         * timezone/Makefile: Revert previous change.
1670         [BZ #18980]
1671         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
1672         (DEFINE_DBL_MIN): Likewise.
1673         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1674         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1675         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1676         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1677         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
1678         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1679         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1680         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
1681         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
1682         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1683         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1684         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
1685         (flt_min): Replace with use of DEFINE_FLT_MIN.
1686         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1687         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
1688         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1689         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1690         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
1691         (flt_min): Replace with use of DEFINE_FLT_MIN.
1692         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1693         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
1694         (flt_min): Replace with use of DEFINE_FLT_MIN.
1695         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1696         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
1697         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
1698         (__ieee754_hypot): Use DBL_NARROW_EVAL.
1699         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
1700         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
1701         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
1702         (__ieee754_pow): Use DBL_NARROW_EVAL.
1703         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
1704         (__ieee754_powf): Use FLT_NARROW_EVAL.
1705         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
1706         (__ieee754_expf_sse2): Convert double-precision result to single
1707         precision.
1708         * sysdeps/i386/fpu/libm-test-ulps: Update.
1710 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1712         * timezone/Makefile: Ignore unused variable errors due to private.h
1713         (time_t_min) and (time_t_max).
1714         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
1715         Likewise.
1717 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1719         [BZ #18981]
1720         * sysdeps/i386/fpu/i386-math-asm.h: New file.
1721         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
1722         (__ieee754_scalb): Use DBL_NARROW_EVAL.
1723         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
1724         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
1725         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
1726         (__scalbn): Use DBL_NARROW_EVAL.
1727         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
1728         (__scalbnf): Use FLT_NARROW_EVAL.
1730 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1732         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
1733         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
1734         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
1735         * stdio-common/printf_fp.c (___printf_fp):
1736         Use signbit to get the sign. Use isinf macro to allow inlining.
1737         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
1738         * stdio-common/printf_size.c (__printf_size): Likewise.
1740 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
1742         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
1744 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1746         [BZ #18980]
1747         * sysdeps/generic/math_private.h: Include <float.h>.
1748         (math_narrow_eval): New macro.
1749         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
1750         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
1751         math_narrow_eval on overflowing return value.
1752         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
1753         Likewise.
1754         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1755         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
1756         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
1757         Likewise.
1758         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1760 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1762         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
1763         * math/Makefile: Remove isinf_ns.c.
1764         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
1765         * math/multc3.c (__multc3): Likewise.
1766         * math/s_casin.c (__casin): Likewise.
1767         * math/s_casinf.c (__casinf): Likewise.
1768         * math/s_casinl.c (__casinl): Likewise.
1769         * math/s_cproj.c (__cproj): Likewise.
1770         * math/s_cprojf.c (__cprojf): Likewise.
1771         * math/s_cprojl.c (__cprofl): Likewise.
1772         * math/s_ctan.c (__ctan): Likewise.
1773         * math/s_ctanf.c (__ctanf): Likewise.
1774         * math/s_ctanh.c (__ctanh): Likewise.
1775         * math/s_ctanhf.c (__ctanhf): Likewise.
1776         * math/s_ctanhl.c (__ctanhl): Likewise.
1777         * math/s_ctanl.c (__ctanl): Likewise.
1778         * math/w_fmod.c (__fmod): Likewise.
1779         * math/w_fmodf.c (__fmodf): Likewise.
1780         * math/w_fmodl.c (_fmodl): Likewise.
1781         * math/w_remainder.c (__remainder): Likewise.
1782         * math/w_remainderf.c (__remainderf): Likewise.
1783         * math/w_remainderl.c (__remainderl): Likewise.
1784         * math/w_scalb.c (__scalb): Likewise.
1785         * math/w_scalbf.c (__scalbf): Likewise.
1786         * math/w_scalbl.c (__scalbl): Likewise.
1787         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
1788         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
1789         with isinf.
1790         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
1791         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
1792         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
1793         __isinf_nsf with isinf.
1794         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
1795         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
1796         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
1797         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
1798         with isinf.
1799         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
1800         __isinf_nsl with isinf.
1801         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
1802         with isinf.
1803         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
1804         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
1805         __isinf_nsl with isinf.
1806         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
1807         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
1808         with isinf.
1810 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1812         * resolv/base64.c (rcsid): Remove unused static.
1813         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
1814         static.  (tqpi1): Likewise.
1815         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
1816         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
1817         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
1818         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
1819         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
1820         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
1821         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
1822         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
1823         Likewise.
1825 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
1827         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
1828         <nptl/pthreadP.h>.
1829         (_longjmp_unwind): Use __libc_ptf_call.
1830         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
1832 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
1834         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
1835         * sysdeps/arm/__longjmp.S: Likewise
1837 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1839         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
1840         Use __builtin_signbit.
1841         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
1842         Use __builtin_signbitf.
1843         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
1844         Use __builtin_signbitl.
1845         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1846         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
1848 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1850         [BZ #15367]
1851         [BZ #17441]
1853         * math/Makefile: Build test-snan.c with -fsignaling-nans.
1854         * math/math.h (fpclassify): Use __builtin_fpclassify when
1855         available.  (signbit): Use __builtin_signbit(f/l).
1856         (isfinite): Use__builtin_isfinite.  (isnormal): Use
1857         __builtin_isnormal.  (isnan): Use __builtin_isnan.
1858         (isinf): Use __builtin_isinf_sign.
1860 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1862         * benchtests/Makefile: Add bench-math-inlines, link with libm.
1863         * benchtests/bench-math-inlines.c: New benchmark.
1864         * benchtests/bench-util.h: New file.
1865         * benchtests/bench-util.c: New file.
1866         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
1868 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
1870         * elf/tst-dlmopen1.c: Define TEST_SO.
1871         (do_test): Use TEST_SO.
1873         * elf/dl-load.c: Include libc-internal.h.
1874         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
1876 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1878         [BZ #17887]
1879         * time/strptime_l.c (__strptime_internal): Make %z accept
1880         [+-]HH:MM time zones.
1882 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1884         [BZ #17886]
1885         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
1886         valid time zone.
1888 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
1890         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
1891         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
1892         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1893         (__ASSUME_FDATASYNC): Delete.
1895 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1897         * conform/linknamespace.pl: Require weak undefined symbols to be
1898         in the standard namespace.
1899         (%strong_syms): Rename to %seen_syms.
1900         (%strong_seen): Rename to %seen_where.
1902 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
1904         [BZ #18970]
1905         * misc/error.c (error): Replace pthread_setcancelstate with
1906         __pthread_setcancelstate.
1907         (error_at_line): Likewise.
1908         * posix/wordexp.c (parse_comm): Likewise.
1909         * stdlib/fmtmsg.c (fmtmsg): Likewise.
1910         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
1911         (__pthread_setcancelstate): This.
1912         (pthread_setcancelstate): Add an alias.
1913         * nptl/nptl-init.c (pthread_functions): Replace
1914         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
1915         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
1916         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
1917         hidden_proto.
1918         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
1919         it with hidden_def.
1920         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
1921         (pthread_setcancelstate): Renamed to ...
1922         (__pthread_setcancelstate): This.
1923         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
1924         __libc_ptf_call with __pthread_setcancelstate.
1926 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1927             Andreas Schwab  <schwab@suse.de>
1929         [BZ #17118]
1930         * math/s_ctan.c (__ctan): Determine sign of zero real part of
1931         result when imaginary part of argument is infinite using sine and
1932         cosine.
1933         * math/s_ctanf.c (__ctanf): Likewise.
1934         * math/s_ctanl.c (__ctanl): Likewise.
1935         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
1936         of result when real part of argument is infinite using sine and
1937         cosine.
1938         * math/s_ctanhf.c (__ctanhf): Likewise.
1939         * math/s_ctanhl.c (__ctanhl): Likewise.
1940         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
1941         (ctanh_test_data): Add more tests of ctanh.
1943 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1945         [BZ #15384]
1946         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1947         bit-mask as in subtraction.
1948         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1949         Likewise.
1950         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1951         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1952         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1954         [BZ #18951]
1955         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1956         underflow exception for small results.
1957         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1958         Likewise.
1959         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1960         Likewise.
1961         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1962         Likewise.
1963         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1964         Likewise.
1965         * math/auto-libm-test-in: Add more tests of tgamma.
1966         * math/auto-libm-test-out: Regenerated.
1968 2015-09-17  Andreas Schwab  <schwab@suse.de>
1970         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1972 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
1974         [BZ #18977]
1975         * math/bits/mathcalls.h
1976         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1977         not declare.
1978         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1979         Likewise.
1980         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1981         Likewise.
1982         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1983         Likewise.
1984         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1985         Likewise.
1986         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1987         Likewise.
1988         * conform/data/math.h-data
1989         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1990         function.
1991         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1992         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1993         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1994         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1995         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1996         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1997         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1998         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1999         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
2000         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
2001         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
2003         [BZ #6803]
2004         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
2005         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
2006         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
2007         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
2008         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
2009         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
2010         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
2011         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
2012         [NO_LONG_DOUBLE] (scalbnl): Likewise.
2013         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
2014         Likewise.
2015         [NO_LONG_DOUBLE] (scalbnl): Likewise.
2016         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
2017         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
2018         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
2019         long_double_symbol calls.
2020         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
2021         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
2022         strong alias of __ldexpl.
2023         (scalbnl): Define using long_double_symbol.
2024         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
2025         Remove alias.
2026         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
2027         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
2028         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
2029         (scalbln_test_data): Add more errno expectations.
2031 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
2033         Cache the host port like we cache the task port.  This way we do not
2034         need to call the kernel just to get the port.  Furthermore, we no
2035         longer increase the reference count on every invocation of
2036         `mach_host_self'.
2038         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
2039         Protect declarations against the macro expansion.
2040         * mach/mach_init.c (__mach_host_self_): New variable.
2041         (mach_init): Initialize `__mach_host_self_'.
2042         * mach/mach_init.h (__mach_host_self_): New declaration.
2043         (__mach_host_self, mach_host_self): New macros.
2044         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
2045         Release reference.
2047 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
2049         [BZ #4404]
2050         * po/de.po: Update from Translation Project.
2052         [BZ #16415]
2053         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
2054         (__expm1l): Remove code to handle positive infinity and overflow.
2055         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
2056         variable.
2057         (__expm1l): Remove code to handle positive infinity and overflow.
2059 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
2060             Paul Pluzhnikov  <ppluzhnikov@google.com>
2062         [BZ #18872]
2063         * stdio-common/Makefile (tst-printf-bz18872): New test.
2064         (tst-printf-bz18872-mem.out): Likewise.
2065         * stdio-common/tst-printf-bz18872.sh: Generate new test.
2066         * stdio-common/vfprintf.c: Fix memory leaks.
2068 2015-09-16  Andreas Schwab  <schwab@suse.de>
2070         [BZ #17244]
2071         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
2072         Remove extra va_start/va_end calls.
2074         [BZ #17243]
2075         * posix/execl.c (execl): Add missing va_end.
2076         * posix/execle.c (execle): Likewise.
2077         * posix/execlp.c (execlp): Likewise.
2079 2015-09-15  Roland McGrath  <roland@hack.frob.com>
2081         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
2082         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
2084 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
2086         [BZ #18967]
2087         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
2088         undefine around includes of <bits/mathcalls.h>.
2089         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
2090         not declare function.
2091         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
2092         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
2093         (scalb): Likewise.
2094         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
2095         not define macro.
2096         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
2097         variable.
2098         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2099         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2100         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2102         [BZ #18857]
2103         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
2104         return non-finite argument without doing ordered comparisons on
2105         it.
2107         [BZ #16296]
2108         * math/fenv.h (fegetround): Use __attribute_pure__.
2109         * include/fenv.h (__fegetround): Likewise.
2111         [BZ #18595]
2112         * math/s_ctan.c (__ctan): Force underflow exception for results
2113         whose real or imaginary part has small absolute value.
2114         * math/s_ctanf.c (__ctanf): Likewise.
2115         * math/s_ctanh.c (__ctanh): Likewise.
2116         * math/s_ctanhf.c (__ctanhf): Likewise.
2117         * math/s_ctanhl.c (__ctanhl): Likewise.
2118         * math/s_ctanl.c (__ctanl): Likewise.
2119         * math/auto-libm-test-in: Do not allow missing underflow for ctan
2120         and ctanh.  Add more tests of ctan and ctanh.
2122         [BZ #15918]
2123         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
2124         handling of cases where one argument is an infinity.
2126         [BZ #18875]
2127         [BZ #18966]
2128         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
2129         (MO): New macro.
2130         (__ieee754_exp10): For small results, force underflow exception
2131         and remove excess range and precision from return value.
2132         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
2133         (MO): New macro.
2134         (__ieee754_exp10f): For small results, force underflow exception
2135         and remove excess range and precision from return value.
2136         * math/auto-libm-test-in: Add more tests of exp10.
2137         * math/auto-libm-test-out: Regenerated.
2139 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
2141         [BZ #18875]
2142         [BZ #18961]
2143         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
2144         (MO): New macro.
2145         (__ieee754_exp): For small results, force underflow exception and
2146         remove excess range and precision from return value.
2147         (__exp_finite): Likewise.
2148         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
2149         (MO): New macro.
2150         (__ieee754_expf): For small results, force underflow exception and
2151         remove excess range and precision from return value.
2152         (__expf_finite): Likewise.
2153         * math/auto-libm-test-in: Add more tests of exp.
2154         * math/auto-libm-test-out: Regenerated.
2156         [BZ #16521]
2157         [BZ #18875]
2158         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
2159         small results.
2160         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
2161         (MO): New macro.
2162         (__ieee754_exp2): For small results, force underflow exception and
2163         remove excess range and precision from return value.
2164         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
2165         (MO): New macro.
2166         (__ieee754_exp2f): For small results, force underflow exception
2167         and remove excess range and precision from return value.
2168         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
2169         (MO): New macro.
2170         (__ieee754_exp2l): Force underflow exception for small results.
2171         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2172         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2173         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
2174         (MO): New macro.
2175         (__ieee754_exp2l): Force underflow exception for small results.
2176         * math/auto-libm-test-in: Add more tests or exp2.
2177         * math/auto-libm-test-out: Regenerated.
2179 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
2181         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
2183         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
2184         /dev/null.
2186 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2188         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
2189         io fs process)): Drop spurious backslash.
2191 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2193         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
2194         Use sysinfo system call instead of parsing /proc/meminfo.
2195         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
2196         Likewise.
2198 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
2200         [BZ #16985]
2201         * programs/localedef.c (main): Display argv[remaining] when
2202         output_path is NULL.
2204 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
2206         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2207         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
2208         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
2209         tanh.
2210         * math/auto-libm-test-out: Regenerated.
2211         * sysdeps/i386/fpu/libm-test-ulps: Update.
2212         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2213         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2216 2015-09-11  Roland McGrath  <roland@hack.frob.com>
2218         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
2219         Use 'override' keyword to freeze the value here, preventing
2220         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
2222 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
2224         [BZ #14912]
2225         * sysdeps/aarch64/bits/atomic.h: Move to ...
2226         * sysdeps/aarch64/atomic-machine.h: ...here.
2227         (_AARCH64_BITS_ATOMIC_H): Rename macro to
2228         _AARCH64_ATOMIC_MACHINE_H.
2229         * sysdeps/alpha/bits/atomic.h: Move to ...
2230         * sysdeps/alpha/atomic-machine.h: ...here.
2231         * sysdeps/arm/bits/atomic.h: Move to ...
2232         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
2233         * bits/atomic.h: Move to ...
2234         * sysdeps/generic/atomic-machine.h: ...here.
2235         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2236         * sysdeps/i386/bits/atomic.h: Move to ...
2237         * sysdeps/i386/atomic-machine.h: ...here.
2238         * sysdeps/ia64/bits/atomic.h: Move to ...
2239         * sysdeps/ia64/atomic-machine.h: ...here.
2240         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
2241         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
2242         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2243         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
2244         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
2245         * sysdeps/microblaze/bits/atomic.h: Move to ...
2246         * sysdeps/microblaze/atomic-machine.h: ...here.
2247         * sysdeps/mips/bits/atomic.h: Move to ...
2248         * sysdeps/mips/atomic-machine.h: ...here.
2249         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
2250         * sysdeps/powerpc/bits/atomic.h: Move to ...
2251         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
2252         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
2253         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
2254         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
2255         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
2256         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
2257         <atomic-machine.h> instead of <bits/atomic.h>.
2258         * sysdeps/s390/bits/atomic.h: Move to ...
2259         * sysdeps/s390/atomic-machine.h: ...here.
2260         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
2261         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
2262         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2263         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
2264         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
2265         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
2266         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
2267         * sysdeps/tile/bits/atomic.h: Move to ...
2268         * sysdeps/tile/atomic-machine.h: ...here.
2269         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
2270         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
2271         <sysdeps/tile/atomic-machine.h> instead of
2272         <sysdeps/tile/bits/atomic.h>.
2273         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2274         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
2275         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
2276         <sysdeps/tile/atomic-machine.h> instead of
2277         <sysdeps/tile/bits/atomic.h>.
2278         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2279         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
2280         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
2281         <sysdeps/arm/atomic-machine.h> instead of
2282         <sysdeps/arm/bits/atomic.h>.
2283         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
2284         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
2285         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2286         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
2287         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
2288         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2289         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
2290         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
2291         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
2292         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
2293         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
2294         * sysdeps/x86_64/bits/atomic.h: Move to ...
2295         * sysdeps/x86_64/atomic-machine.h: ...here.
2296         * include/atomic.h: Include <atomic-machine.h> instead of
2297         <bits/atomic.h>.
2299         * sysdeps/mips/mips32/libm-test-ulps: Update.
2300         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2302         [BZ #18952]
2303         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
2304         not convert non-integer negative arguments to int to determine the
2305         value of signgam.
2306         * math/auto-libm-test-in: Add more tests of lgamma.
2307         * math/auto-libm-test-out: Regenerated.
2309         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
2310         cosh, csqrt, erfc, expm1 and lgamma.
2311         * math/auto-libm-test-out: Regenerated.
2312         * sysdeps/i386/fpu/libm-test-ulps: Update.
2313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2315 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
2317         [BZ #2542]
2318         [BZ #2543]
2319         [BZ #2558]
2320         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
2321         __lgamma_neg for arguments from -28.0 to -2.0.
2322         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
2323         __lgamma_negf for arguments from -15.0 to -2.0.
2324         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2325         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
2326         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
2327         Call __lgamma_negl for arguments from -33.0 to -2.0.
2328         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
2329         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2330         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
2331         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
2332         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2333         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2334         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
2335         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
2336         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
2337         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2338         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
2339         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
2340         (__lgamma_neg): Likewise.
2341         (__lgamma_negl): Likewise.
2342         (__lgamma_product): Likewise.
2343         (__lgamma_productl): Likewise.
2344         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
2345         * math/auto-libm-test-in: Add more tests of lgamma.
2346         * math/auto-libm-test-out: Regenerated.
2347         * sysdeps/i386/fpu/libm-test-ulps: Update.
2348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2350 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
2352         [BZ #18675]
2353         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
2355 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
2357         [BZ #14912]
2358         * bits/libc-lock.h: Move to ...
2359         * sysdeps/generic/libc-lock.h: ...here.
2360         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2361         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
2362         * sysdeps/mach/hurd/libc-lock.h: ...here.
2363         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2364         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
2365         * sysdeps/mach/bits/libc-lock.h: Move to ...
2366         * sysdeps/mach/libc-lock.h: ...here.
2367         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2368         * sysdeps/nptl/bits/libc-lock.h: Move to ...
2369         * sysdeps/nptl/libc-lock.h: ...here.
2370         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2371         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
2372         * sysdeps/nptl/libc-lockP.h: ...here.
2373         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
2374         * crypt/crypt_util.c: Include <libc-lock.h> instead of
2375         <bits/libc-lock.h>.
2376         * dirent/scandir-tail.c: Likewise.
2377         * dlfcn/dlerror.c: Likewise.
2378         * elf/dl-close.c: Likewise.
2379         * elf/dl-iteratephdr.c: Likewise.
2380         * elf/dl-lookup.c: Likewise.
2381         * elf/dl-open.c: Likewise.
2382         * elf/dl-support.c: Likewise.
2383         * elf/dl-writev.h: Likewise.
2384         * elf/rtld.c: Likewise.
2385         * grp/fgetgrent.c: Likewise.
2386         * gshadow/fgetsgent.c: Likewise.
2387         * gshadow/sgetsgent.c: Likewise.
2388         * iconv/gconv_conf.c: Likewise.
2389         * iconv/gconv_db.c: Likewise.
2390         * iconv/gconv_dl.c: Likewise.
2391         * iconv/gconv_int.h: Likewise.
2392         * iconv/gconv_trans.c: Likewise.
2393         * include/link.h: Likewise.
2394         * inet/getnameinfo.c: Likewise.
2395         * inet/getnetgrent.c: Likewise.
2396         * inet/getnetgrent_r.c: Likewise.
2397         * intl/bindtextdom.c: Likewise.
2398         * intl/dcigettext.c: Likewise.
2399         * intl/finddomain.c: Likewise.
2400         * intl/gettextP.h: Likewise.
2401         * intl/loadmsgcat.c: Likewise.
2402         * intl/localealias.c: Likewise.
2403         * intl/textdomain.c: Likewise.
2404         * libidn/idn-stub.c: Likewise.
2405         * libio/libioP.h: Likewise.
2406         * locale/duplocale.c: Likewise.
2407         * locale/freelocale.c: Likewise.
2408         * locale/newlocale.c: Likewise.
2409         * locale/setlocale.c: Likewise.
2410         * login/getutent_r.c: Likewise.
2411         * login/getutid_r.c: Likewise.
2412         * login/getutline_r.c: Likewise.
2413         * login/utmp-private.h: Likewise.
2414         * login/utmpname.c: Likewise.
2415         * malloc/mtrace.c: Likewise.
2416         * misc/efgcvt.c: Likewise.
2417         * misc/error.c: Likewise.
2418         * misc/fstab.c: Likewise.
2419         * misc/getpass.c: Likewise.
2420         * misc/mntent.c: Likewise.
2421         * misc/syslog.c: Likewise.
2422         * nis/nis_call.c: Likewise.
2423         * nis/nis_callback.c: Likewise.
2424         * nis/nss-default.c: Likewise.
2425         * nis/nss_compat/compat-grp.c: Likewise.
2426         * nis/nss_compat/compat-initgroups.c: Likewise.
2427         * nis/nss_compat/compat-pwd.c: Likewise.
2428         * nis/nss_compat/compat-spwd.c: Likewise.
2429         * nis/nss_nis/nis-alias.c: Likewise.
2430         * nis/nss_nis/nis-ethers.c: Likewise.
2431         * nis/nss_nis/nis-grp.c: Likewise.
2432         * nis/nss_nis/nis-hosts.c: Likewise.
2433         * nis/nss_nis/nis-network.c: Likewise.
2434         * nis/nss_nis/nis-proto.c: Likewise.
2435         * nis/nss_nis/nis-pwd.c: Likewise.
2436         * nis/nss_nis/nis-rpc.c: Likewise.
2437         * nis/nss_nis/nis-service.c: Likewise.
2438         * nis/nss_nis/nis-spwd.c: Likewise.
2439         * nis/nss_nisplus/nisplus-alias.c: Likewise.
2440         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2441         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2442         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2443         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
2444         * nis/nss_nisplus/nisplus-network.c: Likewise.
2445         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2446         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2447         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2448         * nis/nss_nisplus/nisplus-service.c: Likewise.
2449         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2450         * nis/ypclnt.c: Likewise.
2451         * nptl/libc_pthread_init.c: Likewise.
2452         * nss/getXXbyYY.c: Likewise.
2453         * nss/getXXent.c: Likewise.
2454         * nss/getXXent_r.c: Likewise.
2455         * nss/nss_db/db-XXX.c: Likewise.
2456         * nss/nss_db/db-netgrp.c: Likewise.
2457         * nss/nss_db/nss_db.h: Likewise.
2458         * nss/nss_files/files-XXX.c: Likewise.
2459         * nss/nss_files/files-alias.c: Likewise.
2460         * nss/nsswitch.c: Likewise.
2461         * posix/regex_internal.h: Likewise.
2462         * posix/wordexp.c: Likewise.
2463         * pwd/fgetpwent.c: Likewise.
2464         * resolv/res_hconf.c: Likewise.
2465         * resolv/res_libc.c: Likewise.
2466         * shadow/fgetspent.c: Likewise.
2467         * shadow/lckpwdf.c: Likewise.
2468         * shadow/sgetspent.c: Likewise.
2469         * socket/opensock.c: Likewise.
2470         * stdio-common/reg-modifier.c: Likewise.
2471         * stdio-common/reg-printf.c: Likewise.
2472         * stdio-common/reg-type.c: Likewise.
2473         * stdio-common/vfprintf.c: Likewise.
2474         * stdio-common/vfscanf.c: Likewise.
2475         * stdlib/abort.c: Likewise.
2476         * stdlib/cxa_atexit.c: Likewise.
2477         * stdlib/fmtmsg.c: Likewise.
2478         * stdlib/random.c: Likewise.
2479         * stdlib/setenv.c: Likewise.
2480         * string/strsignal.c: Likewise.
2481         * sunrpc/auth_none.c: Likewise.
2482         * sunrpc/bindrsvprt.c: Likewise.
2483         * sunrpc/create_xid.c: Likewise.
2484         * sunrpc/key_call.c: Likewise.
2485         * sunrpc/rpc_thread.c: Likewise.
2486         * sysdeps/arm/backtrace.c: Likewise.
2487         * sysdeps/generic/ldsodefs.h: Likewise.
2488         * sysdeps/generic/stdio-lock.h: Likewise.
2489         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
2490         * sysdeps/i386/backtrace.c: Likewise.
2491         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2492         * sysdeps/m68k/backtrace.c: Likewise.
2493         * sysdeps/mach/hurd/cthreads.c: Likewise.
2494         * sysdeps/mach/hurd/dirstream.h: Likewise.
2495         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
2496         * sysdeps/nptl/malloc-machine.h: Likewise.
2497         * sysdeps/nptl/stdio-lock.h: Likewise.
2498         * sysdeps/posix/dirstream.h: Likewise.
2499         * sysdeps/posix/getaddrinfo.c: Likewise.
2500         * sysdeps/posix/system.c: Likewise.
2501         * sysdeps/pthread/aio_suspend.c: Likewise.
2502         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2503         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2504         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2505         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2506         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
2507         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
2508         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
2509         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2510         * sysdeps/unix/sysv/linux/system.c: Likewise.
2511         * sysdeps/x86_64/backtrace.c: Likewise.
2512         * time/alt_digit.c: Likewise.
2513         * time/era.c: Likewise.
2514         * time/tzset.c: Likewise.
2515         * wcsmbs/wcsmbsload.c: Likewise.
2516         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
2517         instead of <bits/libc-lock.h> in comment.
2519 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
2521         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
2522         Only use .set mips2 if the current ISA is below mips2.
2523         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
2524         Likewise.
2525         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
2526         mips32r2 if the current ISA is below mips32r2.
2527         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
2528         (TLS_IE): Updated to use the TLD_RDHWR macro.
2529         (TLS_LE): Likewise.
2530         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
2531         __ASSEMBLER__ condition.
2533 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2535         Fix parallel build of before-compile targets.
2537         * sysdeps/mach/Makefile ($(patsubst
2538         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
2539         mach-before-compile target.
2540         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
2541         io fs process)): Move rule to dedicated hurd-before-compile target.
2543 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2545         Fix rules generating headers in hurd/ and mach/ when initial make call
2546         has subdir= explicitly set.
2548         * sysdeps/mach/Makefile ($(patsubst
2549         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
2550         calling $(MAKE).
2551         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
2552         io fs process)): Force subdir to hurd when calling $(MAKE).
2553         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
2554         subdir to mach when calling $(MAKE).
2556 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
2558         Check sysheaders when looking for Mach and Hurd headers
2560         * sysdeps/mach/configure.ac: Add sysheaders check.
2561         * sysdeps/mach/configure: Regenerate.
2562         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
2563         * sysdeps/mach/hurd/configure: Regenerate.
2565 2015-09-04  Roland McGrath  <roland@hack.frob.com>
2567         [BZ #18921]
2568         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
2569         Fix inverted sense of test of 'o_directory_works' value.
2570         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
2571         Bernhard Voelker <mail@bernhard-voelker.de>.
2573 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
2575         [BZ #14912]
2576         * bits/linkmap.h: Move to ...
2577         * sysdeps/generic/linkmap.h: ...here.
2578         * sysdeps/aarch64/bits/linkmap.h: Move to ...
2579         * sysdeps/aarch64/linkmap.h: ...here.
2580         * sysdeps/arm/bits/linkmap.h: Move to ...
2581         * sysdeps/arm/linkmap.h: ...here.
2582         * sysdeps/hppa/bits/linkmap.h: Move to ...
2583         * sysdeps/hppa/linkmap.h: ...here.
2584         * sysdeps/ia64/bits/linkmap.h: Move to ...
2585         * sysdeps/ia64/linkmap.h: ...here.
2586         * sysdeps/mips/bits/linkmap.h: Move to ...
2587         * sysdeps/mips/linkmap.h: ...here.
2588         * sysdeps/s390/bits/linkmap.h: Move to ...
2589         * sysdeps/s390/linkmap.h: ...here.
2590         * sysdeps/sh/bits/linkmap.h: Move to ...
2591         * sysdeps/sh/linkmap.h: ...here.
2592         * sysdeps/x86/bits/linkmap.h: Move to ...
2593         * sysdeps/x86/linkmap.h: ...here.
2594         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
2596 2015-09-04  Andreas Schwab  <schwab@suse.de>
2598         [BZ #18635]
2599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
2600         (__makecontext): Terminate FDE before return label.
2601         (__novec_makecontext): Likewise.
2603 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2605         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
2606         first member of struct sv in syscall macro.
2608 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
2610         [BZ #14912]
2611         * bits/stdio-lock.h: Move to ...
2612         * sysdeps/generic/stdio-lock.h: ...here.
2613         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2614         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
2615         * sysdeps/nptl/stdio-lock.h: ...here.
2616         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2617         * include/libio.h: Include <stdio-lock.h> instead of
2618         <bits/stdio-lock.h>.
2619         * sysdeps/nptl/fork.c: Likewise.
2620         * sysdeps/pthread/flockfile.c: Likewise.
2621         * sysdeps/pthread/ftrylockfile.c: Likewise.
2622         * sysdeps/pthread/funlockfile.c: Likewise.
2624         [BZ #14912]
2625         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
2626         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
2627         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
2628         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
2629         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
2630         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2631         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2633 2015-09-03  Roland McGrath  <roland@hack.frob.com>
2635         * elf/Makefile (test-xfail-tst-protected1a): New variable.
2636         (test-xfail-tst-protected1b): New variable.
2638 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
2640         [BZ #14912]
2641         * bits/libc-tsd.h: Move to ...
2642         * sysdeps/generic/libc-tsd.h: ...here.
2643         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
2644         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
2645         * sysdeps/mach/hurd/libc-tsd.h: ...here.
2646         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
2647         * include/ctype.h: Include <libc-tsd.h> instead of
2648         <bits/libc-tsd.h>.
2649         * include/rpc/rpc.h: Likewise.
2650         * locale/localeinfo.h: Likewise.
2651         * sunrpc/rpc_thread.c: Likewise.
2652         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
2653         * sysdeps/nptl/malloc-machine.h: Likewise.
2655         * Makefile (headers): Remove bits/libc-lock.h.
2656         * libio/Makefile (headers): Remove bits/stdio-lock.h.
2658         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
2659         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
2660         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
2661         <bits/stdio-lock.h>.
2662         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
2663         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
2665 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
2667         [BZ #18757]
2668         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
2669         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
2670         BZ #18757.
2672 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
2674         * malloc/mtrace.pl: Filter out NULL entries.
2676 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
2678         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
2679         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
2680         macro.
2682         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
2683         (TCP_CC_INFO): Likewise.
2684         (TCP_SAVE_SYN): Likewise.
2685         (TCP_SAVED_SYN): Likewise.
2687 2015-08-31  Brett Neumeier <brett@neumeier.us>
2689         [BZ #18870]
2690         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
2692 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
2694         [BZ #18873]
2695         Fix broken overflow check in posix_fallocate
2696         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
2697         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2698         Fix parenthesization typo.
2700 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
2702         [BZ #18887]
2703         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
2704         tst-mntent-blank-passno.
2705         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
2706         * misc/tst-mntent-blank-corrupt.c: New test.
2707         * misc/tst-mntent-blank-passno.c: New test ripped from ...
2708         * misc/tst-mntent.c (do_test): ... here.
2710 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
2712         [BZ #4404]
2713         * po/de.po: Fix SIGALRM typo.
2715 2015-08-28  James Perkins  <james@loowit.net>
2717         * time/tst-strptime2.c (tests): Replace short list of test
2718         strings for strptime %z specifier with code which exhaustively
2719         tests every combination of sign and 0 to 5 digits. Tests for
2720         rejection of invalid strings.
2722 2015-08-28  James Perkins  <james@loowit.net>
2724         [BZ #16141]
2725         * time/strptime_l.c (__strptime_internal): Fix %z minutes
2726         calculation, removing incorrect decimal time rounding, so that
2727         all minute values result in a valid seconds value.
2728         * time/strptime_l.c (__strptime_internal): Extend %z time zone
2729         offset range limits to UTC-99:59 through UTC+99:59 to parse
2730         current and historical use cases.
2731         * time/tst-strptime2.c (tests): Modify and add tests for the
2732         strptime %z input field descriptor, specifically conversion of
2733         minutes to seconds and validating an offset range of -9959 to
2734         +9959.
2736 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2737             Dmitry V. Levin  <ldv@altlinux.org>
2739         [BZ #18877]
2740         * posix/Makefile (tests): Add tst-mmap-offset.
2741         * posix/tst-mmap.c: New file.
2742         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
2743         offset calculation for negative values.
2745 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2747         * sysdeps/i386/init-arch.h: New file.
2748         * sysdeps/i386/i586/init-arch.h: Likewise.
2749         * sysdeps/i386/i686/init-arch.h: Likewise.
2750         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
2751         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
2752         * sysdeps/x86/cpu-features.h (bit_I586): New.
2753         (bit_I686): Likewise.
2754         (bit_CX8): Likewise.
2755         (bit_CMOV): Likewise.
2756         (index_CX8): Likewise.
2757         (index_CMOV): Likewise.
2758         (index_I586): Likewise.
2759         (index_I686): Likewise.
2760         (reg_CX8): Likewise.
2761         (reg_CMOV): Likewise.
2762         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
2763         available at compile-time.
2764         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
2765         available at compile-time.
2766         * sysdeps/x86/init-arch.h (USE_I586): New macro.
2767         (USE_I686): Likewise.
2769 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2771         * sysdeps/i386/bcopy.S: New file.
2772         * sysdeps/i386/bzero.S: Likewise.
2773         * sysdeps/i386/memcpy.S: Likewise.
2774         * sysdeps/i386/memmove.S: Likewise.
2775         * sysdeps/i386/mempcpy.S: Likewise.
2776         * sysdeps/i386/memset.S: Likewise.
2777         * sysdeps/i386/bzero.c: Removed.
2778         * sysdeps/i386/memset.c: Likewise.
2779         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
2780         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
2781         * sysdeps/i386/i586/memset_chk.S: Likewise.
2782         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
2783         * sysdeps/i386/memcpy_chk.S: Here.
2784         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
2785         * sysdeps/i386/memmove_chk.S: Here.
2786         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
2787         * sysdeps/i386/mempcpy_chk.S: Likewise.
2788         * sysdeps/i386/i686/memset_chk.S: Moved to ...
2789         * sysdeps/i386/memset_chk.S: Likewise.
2791 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
2793         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
2794         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
2795         file, move DIAG_POP_NEEDS_COMMENT to end of file.
2796         * soft-fp/fmadf4.c: Ditto.
2797         * soft-fp/fmatf4.c: Ditto.
2799 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2801         * sysdeps/i386/i586/Implies: Removed.
2802         * sysdeps/i386/i686/Implies: Likewise.
2804 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2806         * sysdeps/i386/i486/strlen.S: Moved to ...
2807         * sysdeps/i386/strlen.S: Here.
2809 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2811         * sysdeps/i386/i486/strcat.S: Moved to ...
2812         * sysdeps/i386/strcat.S: Here.
2814 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2816         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
2817         * sysdeps/i386/pthread_spin_trylock.S: Here.
2818         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
2819         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
2821 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2823         * sysdeps/i386/i486/string-inlines.c: Moved to ...
2824         * sysdeps/i386/string-inlines.c: Here.
2826 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2828         * sysdeps/i386/i486/htonl.S: Moved ...
2829         * sysdeps/i386/htonl.S: here.
2831 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2833         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
2834         * sysdeps/i386/bits/atomic.h: Here.
2836 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2838         * sysdeps/i386/i486/Versions: Removed.
2840 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2842         [BZ #2898]
2843         * misc/mktemp.c: Add mkdtemp to the link_warning message.
2844         Based on patch by Aurelien Jarno.
2846 2015-08-26  Stan Shebs  <stanshebs@google.com>
2848         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
2849         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2851 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2853         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
2854         * sysdeps/powerpc/dl-procinfo.c:
2855         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
2856         feature so it shows when LD_SHOW_AUXV=1.
2858 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2860         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2861         (__arch_compare_and_exchange_val_32_acq): Remove and use common
2862         definition.  ISA 2.07B no longer requires full sync.
2864 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
2866         [BZ #18863]
2867         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
2868         (si_call_addr): Define.
2869         (si_syscall): Define.
2870         (si_arch): Define.
2872 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2874         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
2875         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
2876         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
2877         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2878         (__memset_zero_constant_len_parameter): New.
2879         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
2880         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2881         (__memset_zero_constant_len_parameter): Don't define if
2882         __memset_chk or USE_AS_BZERO are defined.
2884         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
2885         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
2886         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
2888         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
2889         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
2890         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
2891         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
2892         comments.
2893         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
2894         -mno-mmx for $(all-rtld-routines).
2895         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
2896         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
2897         i386.
2899 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2901         * sysdeps/generic/unwind.h
2902         (_Unwind_Word): Use __mode__(__unwind_word__)
2903         instead of __mode__(__word__).
2904         (_Unwind_Sword): Likewise.
2906         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2907         (MAX_NEEDED_INPUT): New define.
2908         (MAX_NEEDED_OUTPUT): New define.
2910         * NEWS: New item for IBM z13 string optimizations.
2912         * sysdeps/s390/multiarch/memrchr-c.c: New File.
2913         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
2914         * sysdeps/s390/multiarch/memrchr.c: Likewise.
2915         * sysdeps/s390/multiarch/Makefile
2916         (sysdep_routines): Add memrchr functions.
2917         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2918         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
2920         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
2921         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
2922         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
2923         * sysdeps/s390/multiarch/Makefile
2924         (sysdep_routines): Add wmemcmp functions.
2925         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2926         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
2927         * benchtests/bench-wmemcmp.c: New File.
2928         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
2930         * sysdeps/s390/multiarch/wmemset-c.c: New File.
2931         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
2932         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2933         * sysdeps/s390/multiarch/Makefile
2934         (sysdep_routines): Add wmemset functions.
2935         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2936         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
2937         * wcsmbs/wmemset.c: Use WMEMSET if defined.
2938         * string/test-memset.c: Add wmemset support.
2939         * wcsmbs/test-wmemset.c: New File.
2940         * wcsmbs/Makefile (strop-tests): Add wmemset.
2941         * benchtests/bench-memset.c: Add wmemset support.
2942         * benchtests/bench-wmemset.c: New File.
2943         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
2945         * sysdeps/s390/multiarch/memccpy-c.c: New File.
2946         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2947         * sysdeps/s390/multiarch/memccpy.c: Likewise.
2948         * sysdeps/s390/multiarch/Makefile
2949         (sysdep_routines): Add memccpy functions.
2950         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2951         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2952         * string/memccpy.c: Use MEMCCPY if defined.
2954         * sysdeps/s390/multiarch/memchr-vx.S: New File.
2955         * sysdeps/s390/multiarch/memchr.c: Likewise.
2956         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2957         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2958         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2959         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2960         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2961         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2962         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2963         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2964         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2965         and rawmemchr functions.
2966         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2967         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2968         and wmemchr.
2969         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2970         * string/test-memchr.c: Add wmemchr support.
2971         * wcsmbs/test-wmemchr.c: New File.
2972         * wcsmbs/Makefile (strop-tests): Add wmemchr.
2973         * benchtests/bench-memchr.c: Add wmemchr support.
2974         * benchtests/bench-wmemchr.c: New File.
2975         * benchtests/Makefile (wcsmbs-bench): wmemchr.
2977         * sysdeps/s390/multiarch/strcspn-c.c: New File.
2978         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2979         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2980         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2981         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2982         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2983         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2984         wcscspn functions.
2985         * sysdeps/s390/multiarch/ifunc-impl-list.c
2986         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2987         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2988         * string/test-strcspn.c: Add wcscspn support.
2989         * wcsmbs/test-wcscspn.c: New File.
2990         * wcsmbs/Makefile (strop-tests): Add wcscspn.
2991         * benchtests/bench-strcspn.c: Add wcscspn support.
2992         * benchtests/bench-wcscspn.c: New File.
2993         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2995         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2996         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2997         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2998         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2999         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
3000         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
3001         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
3002         wcspbrk functions.
3003         * sysdeps/s390/multiarch/ifunc-impl-list.c
3004         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
3005         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
3006         * string/test-strpbrk.c: Add wcspbrk support.
3007         * wcsmbs/test-wcspbrk.c: New File.
3008         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
3009         * benchtests/bench-strpbrk.c: Add wcspbrk support.
3010         * benchtests/bench-wcspbrk.c: New File.
3011         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
3013         * sysdeps/s390/multiarch/strspn-c.c: New File.
3014         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
3015         * sysdeps/s390/multiarch/strspn.c: Likewise.
3016         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
3017         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
3018         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
3019         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
3020         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
3021         wcsspn functions.
3022         * sysdeps/s390/multiarch/ifunc-impl-list.c
3023         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
3024         * string/test-strspn.c: Add wcsspn support.
3025         * wcsmbs/test-wcsspn.c: New File.
3026         * wcsmbs/Makefile (strop-tests): Add wcsspn.
3027         * benchtests/bench-strspn.c: Add wcsspn support.
3028         * benchtests/bench-wcsspn.c: New File.
3029         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
3031         * sysdeps/s390/multiarch/strrchr-c.c: New File.
3032         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
3033         * sysdeps/s390/multiarch/strrchr.c: Likewise.
3034         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
3035         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
3036         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
3037         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
3038         wcsrchr functions.
3039         * sysdeps/s390/multiarch/ifunc-impl-list.c
3040         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
3041         * benchtests/bench-wcsrchr.c: New File.
3042         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
3044         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
3045         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
3046         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
3047         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
3048         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
3049         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
3050         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
3051         wcschrnul functions.
3052         * sysdeps/s390/multiarch/ifunc-impl-list.c
3053         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
3054         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
3055         * string/test-strchr.c: Add wcschrnul support.
3056         * wcsmbs/test-wcschrnul.c: New File.
3057         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
3058         * benchtests/bench-strchr.c: Add wcschrnul support.
3059         * benchtests/bench-wcschrnul.c: New File.
3060         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
3062         * sysdeps/s390/multiarch/strchr-c.c: New File.
3063         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
3064         * sysdeps/s390/multiarch/strchr.c: Likewise.
3065         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
3066         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
3067         * sysdeps/s390/multiarch/wcschr.c: Likewise.
3068         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
3069         wcschr functions.
3070         * sysdeps/s390/multiarch/ifunc-impl-list.c
3071         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
3072         * string/strchr.c (STRCHR): Define and use macro.
3073         * benchtests/bench-wcschr.c: New File.
3074         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
3076         * sysdeps/s390/multiarch/strncmp-c.c: New File.
3077         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
3078         * sysdeps/s390/multiarch/strncmp.c: Likewise.
3079         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
3080         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
3081         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
3082         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
3083         wcsncmp functions.
3084         * sysdeps/s390/multiarch/ifunc-impl-list.c
3085         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
3086         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
3087         * benchtests/bench-strncmp.c: Add wcsncmp support.
3088         * benchtests/bench-wcsncmp.c: New File.
3089         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
3091         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
3092         * sysdeps/s390/multiarch/strcmp.c: Likewise.
3093         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
3094         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
3095         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
3096         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
3097         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3098         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
3099         wcscmp functions.
3100         * sysdeps/s390/multiarch/ifunc-impl-list.c
3101         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
3102         * string/strcmp.c (STRCMP): Define and use macro.
3103         * benchtests/bench-wcscmp.c: New File.
3104         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
3105         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
3106         instead of _HAVE_STRING_ARCH_memchr.
3108         * sysdeps/s390/multiarch/strncat-c.c: New File.
3109         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
3110         * sysdeps/s390/multiarch/strncat.c: Likewise.
3111         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
3112         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
3113         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
3114         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
3115         wcsncat functions.
3116         * sysdeps/s390/multiarch/ifunc-impl-list.c
3117         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
3118         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
3119         * string/test-strncat.c: Add wcsncat support.
3120         * wcsmbs/test-wcsncat.c: New File.
3121         * wcsmbs/Makefile (strop-tests): Add wcsncat.
3122         * benchtests/bench-strncat.c: Add wcsncat support.
3123         * benchtests/bench-wcsncat.c: New File.
3124         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
3126         * sysdeps/s390/multiarch/strcat-c.c: New File.
3127         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
3128         * sysdeps/s390/multiarch/strcat.c: Likewise.
3129         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
3130         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
3131         * sysdeps/s390/multiarch/wcscat.c: Likewise.
3132         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
3133         wcscat functions.
3134         * sysdeps/s390/multiarch/ifunc-impl-list.c
3135         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
3136         * string/strcat.c (STRCAT): Define and use macro.
3137         * wcsmbs/wcscat.c: Use WCSCAT if defined.
3138         * string/test-strcat.c: Add wcscat support.
3139         * wcsmbs/test-wcscat.c: New File.
3140         * wcsmbs/Makefile (strop-tests): Add wcscat.
3141         * benchtests/bench-strcat.c: Add wcscat support.
3142         * benchtests/bench-wcscat.c: New File.
3143         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
3145         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
3146         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
3147         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
3148         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
3149         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
3150         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
3151         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
3152         wcpncpy functions.
3153         * sysdeps/s390/multiarch/ifunc-impl-list.c
3154         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
3155         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
3156         * string/test-stpncpy.c: Add wcpncpy support.
3157         * wcsmbs/test-wcpncpy.c: New File.
3158         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
3159         * benchtests/bench-stpncpy.c: Add wcpncpy support.
3160         * benchtests/bench-wcpncpy.c: New File.
3161         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
3163         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
3164         * sysdeps/s390/multiarch/strncpy.c: Likewise.
3165         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
3166         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
3167         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
3168         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
3169         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3170         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
3171         wcsncpy functions.
3172         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
3173         * sysdeps/s390/multiarch/ifunc-impl-list.c
3174         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
3175         * string/test-strncpy.c: Add wcsncpy support.
3176         * wcsmbs/test-wcsncpy.c: New File.
3177         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
3178         * benchtests/bench-strncpy.c: Add wcsncpy support.
3179         * benchtests/bench-wcsncpy.c: New File.
3180         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
3182         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
3183         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
3184         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
3185         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
3186         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
3187         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
3188         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
3189         wcpcpy functions.
3190         * string/stpcpy.c: Use STPCPY if defined.
3191         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
3192         * sysdeps/s390/multiarch/ifunc-impl-list.c
3193         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
3194         * string/test-stpcpy.c: Add wcpcpy support.
3195         * wcsmbs/test-wcpcpy.c: New File.
3196         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
3197         * benchtests/bench-stpcpy.c: Add wcpcpy support.
3198         * benchtests/bench-wcpcpy.c: New File.
3199         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
3201         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
3202         * sysdeps/s390/multiarch/strcpy.c: Likewise.
3203         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
3204         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
3205         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
3206         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
3207         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3208         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
3209         wcscpy functions.
3210         * sysdeps/s390/multiarch/ifunc-impl-list.c
3211         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
3212         * benchtests/bench-wcscpy.c: New File.
3213         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
3215         * sysdeps/s390/multiarch/strnlen-c.c: New File.
3216         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
3217         * sysdeps/s390/multiarch/strnlen.c: Likewise.
3218         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
3219         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
3220         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
3221         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
3222         wcsnlen functions.
3223         * sysdeps/s390/multiarch/ifunc-impl-list.c
3224         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
3225         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
3226         * string/test-strnlen.c: Add wcsnlen support.
3227         * wcsmbs/test-wcsnlen.c: New File.
3228         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
3229         * benchtests/bench-strnlen.c: Add wcsnlen support.
3230         * benchtests/bench-wcsnlen.c: New File.
3231         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
3233         * sysdeps/s390/multiarch/Makefile: New File.
3234         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
3235         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
3236         * sysdeps/s390/multiarch/strlen.c: Likewise.
3237         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
3238         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
3239         * sysdeps/s390/multiarch/wcslen.c: Likewise.
3240         * string/strlen.c (STRLEN): Define and use macro.
3241         * sysdeps/s390/multiarch/ifunc-impl-list.c
3242         (IFUNC_VX_IMPL): New macro function.
3243         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
3244         * benchtests/Makefile (wcsmbs-bench): New variable.
3245         (string-bench-all): Added wcsmbs-bench.
3246         * benchtests/bench-wcslen.c: New File.
3248         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
3249         s390_vx_libc_ifunc2): New macro function.
3251         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
3252         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
3253         assembler support.
3254         * sysdeps/s390/configure: Regenerated.
3256         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
3257         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
3259         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
3260         * sysdeps/s390/dl-procinfo.h: Add vector capability.
3261         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
3263         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3264         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
3265         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
3266         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
3267         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
3268         (memcmp, bcmp): Use __memcmp_default as alias source.
3269         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
3270         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
3271         Rename to __memcmp_default.
3272         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
3273         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
3274         (memcpy): Use __memcpy_default as alias source.
3275         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
3276         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
3277         Rename to __memcpy_default.
3278         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
3279         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
3280         (memset): Use __memset_default as alias source.
3281         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
3282         * sysdeps/s390/s390-32/memset.S (__memset_g5):
3283         Rename to __memset_default.
3284         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
3285         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
3286         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
3287         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
3288         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
3289         (memcmp, bcmp): Use __memcmp_default as alias source.
3290         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
3291         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
3292         Rename to __memcmp_default.
3293         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
3294         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
3295         (memcpy): Use __memcpy_default as alias source.
3296         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
3297         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
3298         Rename to __memcpy_default.
3299         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
3300         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
3301         (memset): Use __memset_default as alias source.
3302         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
3303         * sysdeps/s390/s390-64/memset.S (__memset_z900):
3304         Rename to __memset_default.
3305         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
3306         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
3308         [BZ #18610]
3309         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
3310         __ieee_instruction_pointer to __unused.
3311         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
3312         __ieee_instruction_pointer.
3313         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
3314         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
3315         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3316         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
3317         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
3318         Mark dxc-field as reserved.
3320 2015-08-25  Roland McGrath  <roland@hack.frob.com>
3322         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
3323         if the weak reference is not null.
3325 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
3327         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
3329         [BZ #11214]
3330         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
3332 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3334         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
3335         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
3336         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
3337         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
3338         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
3339         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
3340         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
3341         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
3342         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
3343         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
3344         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
3345         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
3346         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
3347         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
3348         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
3349         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
3350         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
3351         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
3353 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3355         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
3356         register other than r0 for tabort, it has special meaning.
3357         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
3358         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
3359         transaction before starting syscall.
3361 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3363         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
3365 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
3367         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
3369         * sysdeps/x86_64/rtld-memcmp.c: Removed.
3370         * sysdeps/x86_64/rtld-memset.S: Likewise.
3371         * sysdeps/x86_64/rtld-strchr.S: Likewise.
3372         * sysdeps/x86_64/rtld-strlen.S: Likewise.
3373         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
3374         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3376         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
3378 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
3380         * debug/strcpy_chk.c: Improve performance.
3381         * debug/stpcpy_chk.c: Likewise.
3382         * sysdeps/x86_64/strcpy_chk.S: Remove.
3383         * sysdeps/x86_64/stpcpy_chk.S: Remove.
3385         [BZ #18240]
3386         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
3388 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
3390         [BZ #15128]
3391         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
3392         ifuncmain8.
3393         (modules-names): Add ifuncmod8.
3394         ($(objpfx)ifuncmain8): New rule.
3395         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
3396         <cpuid.h>.
3397         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
3398         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
3399         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
3400         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
3401         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
3402         * sysdeps/x86_64/dl-trampoline.h: Likewise.
3403         * sysdeps/x86_64/ifuncmain8.c: New file.
3404         * sysdeps/x86_64/ifuncmod8.c: Likewise.
3405         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
3406         Removed.
3407         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
3408         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
3409         Change rtld_savespace_sse to __glibc_unused2.
3410         (RTLD_CHECK_FOREIGN_CALL): Removed.
3411         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
3412         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
3413         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
3415 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
3417         * sysdeps/aarch64/bzero.S (__bzero): Remove.
3419 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
3421         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
3422         Unconditionally set __fpcr to avoid uninialized warning.
3423         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
3425 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3427         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
3428         is corrupt.
3430         * malloc/arena.c (arena_get2): Drop unused argument.
3431         (arena_lock): Adjust.
3432         (arena_get_retry): Likewise.
3434 2015-08-24  Andreas Schwab  <schwab@suse.de>
3436         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
3437         Don't define.
3438         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3439         (__ASSUME_IPC64): Don't undef.
3440         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
3441         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3442         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3443         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
3444         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
3445         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
3446         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
3447         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
3448         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
3449         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
3450         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
3451         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
3452         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
3453         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
3454         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
3455         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
3456         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
3457         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
3458         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
3459         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
3460         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
3462 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
3464         * manual/Makefile (install): Only build manual when perl is available.
3466 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3468         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
3469         '#undef memcpy' by '#undef memchr'.
3471 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3473         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
3474         memchr not point to the internal __GI_memchr implementation.
3476 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
3478         * timezone/Makefile (CFLAGS-zdump.c): Remove
3479         -Wno-strict-prototypes.
3480         (CFLAGS-zic.c): Likewise.
3481         (CFLAGS-ialloc.c): Likewise.
3482         (CFLAGS-scheck.c): Likewise.
3484         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
3485         -Wno-error=undef.
3487 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
3489         * i386/i686/multiarch/strcasestr-c.c: Removed.
3490         * x86_64/multiarch/strcasestr.c: Likewise.
3491         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3492         Remove strcasestr.
3494 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
3496         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
3498         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
3499         variables for high and low parts before possibly modifying them.
3501 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
3503         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
3504         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
3505         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
3506         of "multiarch/init-arch.h".
3507         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
3508         * sysdeps/x86/init-arch.h: This.
3510 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
3512         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
3513         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
3515 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
3517         [BZ #17787]
3518         * manual/macros.texi: Add twoexp macro.
3519         * manual/filesys.texi: Fix exponents.
3520         * manual/llio.texi: Likewise.
3521         * manual/stdio.texi: Likewise.
3523 2015-08-20  Florian Weimer  <fweimer@redhat.com>
3525         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
3526         incorrect use.
3528 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
3530         [BZ #18370]
3531         * math/s_csqrt.c (__csqrt): Force underflow exception for results
3532         whose real or imaginary part has small absolute value.
3533         * math/s_csqrtf.c (__csqrtf): Likewise.
3534         * math/s_csqrtl.c (__csqrtl): Likewise.
3535         * math/auto-libm-test-in: Add more tests of csqrt.
3536         * math/auto-libm-test-out: Regenerated.
3537         * sysdeps/i386/fpu/libm-test-ulps: Update.
3539 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3541         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
3542         __ppc_set_ppr_very_low): New functions.
3543         * manual/platform.texi: Add documentation about
3544         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
3546 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
3548         * string/stpncpy.c (stpncpy): Improve performance using
3549         __strnlen/memcpy/memset.
3551 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3553         [BZ #18796]
3554         * scripts/test-installation.pl: Don't add -lmvec to build options if
3555         libmvec wasn't built.
3557 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3559         [BZ #14341]
3560         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
3561         case when there is a gap between DT_REL and DT_JMPREL sections.
3562         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
3563         (LDFLAGS-tst-split-dynreloc): New.
3564         (tst-split-dynreloc-ENV): Likewise.
3565         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
3566         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
3568 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3570         [BZ #18822]
3571         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
3572         attribute_hidden.
3573         (__xstat64_conv): Likewise.
3574         (__xstat32_conv): Likewise.
3576 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3578         [BZ #18822]
3579         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
3580         Don't load %ebx when calling __setcontext.  Call __setcontext
3581         with HIDDEN_JUMPTARGET.
3582         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
3583         libc_hidden_def.
3585 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3587         * sysdeps/i386/i686/Makefile
3588         [$(subdir) == string] (sysdep_routines): Moved to ...
3589         * sysdeps/i386/Makefile: Here.
3590         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
3591         * sysdeps/i386/cacheinfo.c: Here.
3592         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
3593         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
3594         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
3595         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
3597 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3599         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
3600         __i586__ is defined.
3601         (HAS_I686): Defined to 1 if __i686__ is defined.
3603 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
3605         * elf/Makefile [$(have-z-execstack) = yes]
3606         (CPPFLAGS-tst-execstack.c): New variable.
3608         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
3609         conditional to [defined UTMPX || _HAVE_UT_TYPE].
3610         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
3611         UTMPX || _HAVE_UT_TV].
3612         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
3613         UTMPX || _HAVE_UT_TV - 0].
3615 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
3617         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
3618         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
3619         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
3621 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3623         * sysdeps/powerpc/dl-procinfo.c:
3624         (_dl_powerpc_cap_flags): Added missing strings for some
3625         hwcap features.
3626         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
3628 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
3630         Port the 0x7efe...feff pattern to GCC 6.
3631         See Steve Ellcey's bug report in:
3632         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
3633         * string/memrchr.c (MEMRCHR):
3634         * string/rawmemchr.c (RAWMEMCHR):
3635         * string/strchr.c (strchr):
3636         * string/strchrnul.c (STRCHRNUL):
3637         Rewrite code to avoid issues with signed shift overflow.
3639 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
3641         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
3642         whether cpuid is available only if HAS_CPUID is 0.
3643         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
3644         (HAS_I586): Likewise.
3645         (HAS_I686): Likewise.
3647 2015-08-18  Zack Weinberg  <zackw@panix.com>
3649         * misc/Versions (libc): Add GLIBC_2.23.
3651 2015-08-18  Alan Modra  <amodra@gmail.com>
3653         [BZ #18421]
3654         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
3655         .Lp__global.
3656         (_start): Load %dp via .Lp__global.
3657         [!SHARED]: Use .section .rodata.
3659 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3661         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
3662         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
3664 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3666         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
3667         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
3669 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3671         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
3672         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
3674 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3676         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
3677         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
3679 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3681         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
3682         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
3684 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3686         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
3687         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
3689 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3691         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
3693 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3695         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
3696         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
3697         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3698         (__ASSUME_LWS_CAS): Delete.
3700 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3702         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
3703         * sysdeps/hppa/configure: Regenerated.
3704         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
3705         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
3706         * sysdeps/hppa/nptl/tls.h: Likewise.
3708 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
3710         [BZ #18823]
3711         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
3712         for scaling up small arguments.
3713         * math/s_csqrtf.c (__csqrtf): Likewise.
3714         * math/s_csqrtl.c (__csqrtl): Likewise.
3715         * math/auto-libm-test-in: Add more tests of csqrt.
3716         * math/auto-libm-test-out: Regenerated.
3718 2015-08-17  Andreas Schwab  <schwab@suse.de>
3720         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
3721         version set GLIBC_2.19.
3723 2015-08-16  Zack Weinberg  <zackw@panix.com>
3725         [BZ #18681]
3726         * misc/regexp.h: This interface is no longer supported.
3727         Remove all contents, leaving only an #error directive.
3728         * misc/regexp.c (loc1, loc2, locs, step, advance):
3729         Demote to compatibility symbols.
3731 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
3733         [BZ #18084]
3734         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
3735         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
3736         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3737         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
3738         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
3739         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
3740         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
3741         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
3742         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3744 2015-08-15  Zack Weinberg  <zackw@panix.com>
3746         [BZ #18795]
3747         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
3748         buffer length is known to be too large, not if it's known to be
3749         small enough.
3750         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
3751         overflow at runtime, involving a length parameter, twice: once
3752         with a compile-time constant length parameter, once without.
3754 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
3756         [BZ #18824]
3757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
3758         scaling x * y up instead of down.
3759         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3760         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3761         * math/auto-libm-test-in: Add more tests of fma.
3762         * math/auto-libm-test-out: Regenerated.
3764 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3766         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3768 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3770         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
3771         unnecessary movq.
3772         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
3773         Likewise.
3775 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
3777         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3778         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
3779         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
3780         and tgamma.
3781         * math/auto-libm-test-out: Regenerated.
3782         * sysdeps/i386/fpu/libm-test-ulps: Update.
3783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3785         [BZ #16520]
3786         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
3787         (__tanh): Force underflow exception for arguments with small
3788         absolute value.
3789         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
3790         (__tanhf): Force underflow exception for arguments with small
3791         absolute value.
3792         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
3793         (__tanhl): Force underflow exception for arguments with small
3794         absolute value.
3795         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
3796         (__tanhl): Force underflow exception for arguments with small
3797         absolute value.
3798         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
3799         (__tanhl): Force underflow exception for arguments with small
3800         absolute value.
3801         * math/auto-libm-test-in: Add more tests of tanh.
3802         * math/auto-libm-test-out: Regenerated.
3803         * sysdeps/i386/fpu/libm-test-ulps: Update.
3805 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3807         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
3808         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
3810 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3812         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
3813         <cpuid.h>.
3815 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3817         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
3818         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
3820 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3822         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
3823         Remove $(objpfx)init-arch.o.
3824         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
3825         init-arch.
3826         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
3827         (INIT_ARCH_EXT): Defined as empty.
3828         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
3829         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
3830         __init_cpu_features call.  Replace HAS_XXX with
3831         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3832         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
3833         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
3834         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
3835         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
3836         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3837         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
3838         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
3839         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3840         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
3841         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
3842         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3843         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
3844         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
3845         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3846         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
3847         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
3848         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3849         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3850         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
3851         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
3852         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3853         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
3854         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
3855         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3856         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
3857         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
3858         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3859         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
3860         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
3861         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3862         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
3863         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
3864         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3865         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
3866         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
3868 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3870         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
3871         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3872         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3873         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3874         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
3875         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
3876         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
3877         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
3878         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
3879         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
3880         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
3881         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
3882         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3883         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3884         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3885         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3886         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3887         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3888         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3889         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3890         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3891         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3892         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3893         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3894         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3895         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3896         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3897         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3898         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3899         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3900         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3901         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3902         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3903         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3904         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3905         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3906         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3907         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3908         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3909         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3910         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3911         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3912         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3914 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3916         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
3917         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3918         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3919         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3920         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3921         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3922         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3923         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
3924         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3925         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3926         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3927         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
3928         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
3929         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
3930         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
3931         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
3932         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
3933         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
3934         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
3935         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
3936         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3937         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
3938         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
3939         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3940         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3941         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
3942         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
3943         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
3944         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3945         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3946         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3947         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3948         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3949         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3950         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3951         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3952         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3953         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3954         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3955         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3956         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3957         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3958         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3960 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3962         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3963         (dl_platform_init): Call init_cpu_features.
3964         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3965         * sysdeps/i386/i686/cacheinfo.c
3966         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3967         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3968         * sysdeps/i386/i686/multiarch/Versions: Removed.
3969         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3970         Removed.
3971         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3972         * sysdeps/unix/sysv/linux/x86/Makefile
3973         (libpthread-sysdep_routines): Remove init-arch.
3974         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3975         <sysdeps/x86_64/dl-procinfo.c> instead of
3976         sysdeps/generic/dl-procinfo.c>.
3977         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3978         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3979         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3980         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3981         [$(subdir) == elf] (tests-static): Add
3982         tst-get-cpu-features-static.
3983         * sysdeps/x86/Versions: New file.
3984         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3985         * sysdeps/x86/cpu-features.c: Likewise.
3986         * sysdeps/x86/cpu-features.h: Likewise.
3987         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3988         * sysdeps/x86/libc-start.c: Likewise.
3989         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3990         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3991         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3992         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3993         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3994         Assume USE_MULTIARCH is defined and don't check it.
3995         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3996         (is_amd): Likewise.
3997         (max_cpuid): Likewise.
3998         (intel_check_word): Likewise.
3999         (__cache_sysconf): Don't call __init_cpu_features.
4000         (__x86_preferred_memory_instruction): Removed.
4001         (init_cacheinfo): Don't call __init_cpu_features. Replace
4002         __cpu_features with GLRO(dl_x86_cpu_features).
4003         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
4004         (dl_platform_init): Call init_cpu_features.
4005         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
4006         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
4007         * sysdeps/x86_64/multiarch/Versions: Removed.
4008         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
4009         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
4010         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
4011         Removed.
4012         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
4014 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4016         [BZ #18820]
4017         * libio/Makefile (test-fmemopen-mem): New test.
4018         * libio/test-fmemopen.c (do_bz18820): New test.
4019         * libio/fmemopen.c (__fmemopen): Fix memory leak.
4020         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
4022 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4024         [BZ #16734]
4025         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
4026         (FREE_BUF): Delete.
4027         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
4028         * libio/genops.c (_IO_setb): Use malloc and free directly.
4029         (_IO_default_doallocate, _IO_default_finish): Likewise.
4030         ( _IO_unbuffer_all): Likewise.
4031         ( libc_freeres_fn): Likewise.
4032         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4033         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4034         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
4035         (_IO_wdefault_doallocate): Likewise.
4037 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4039         [BZ #18086]
4040         * sysdeps/posix/nice.c (nice): Restore old errno.
4041         * posix/tst-nice.c (do_test): Add test for BZ #18086.
4043 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
4045         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
4047 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4049         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
4050         __bcopy and add a weak_alias to bcopy.
4051         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
4052         for static build.
4054         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
4055         cleanup macro usage.
4056         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
4057         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
4058         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4059         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
4060         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4061         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
4062         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
4063         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
4064         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4065         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
4066         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4067         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
4068         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4069         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
4070         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4071         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
4072         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
4073         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
4074         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
4076         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
4077         libc_hidden_def.
4078         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
4080         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
4081         (sysdep_routines): Add strstr-ppc64.
4082         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
4084 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
4086         [BZ #18778]
4087         * elf/Makefile (tests): Add Add tst-nodelete2.
4088         (modules-names): Add tst-nodelete2mod.
4089         (tst-nodelete2mod.so-no-z-defs): New.
4090         ($(objpfx)tst-nodelete2): Likewise.
4091         ($(objpfx)tst-nodelete2.out): Likewise.
4092         (LDFLAGS-tst-nodelete2): Likewise.
4093         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
4094         out of loop through all loaded libraries.
4095         * elf/tst-nodelete2.c: New file.
4096         * elf/tst-nodelete2mod.c: Likewise.
4097         * elf/tst-znodelete-zlib.cc: Delete.
4099 2015-08-11  Andreas Schwab  <schwab@suse.de>
4101         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
4102         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
4103         (__openat64_nocancel): Likewise.
4105 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
4107         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
4108         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
4109         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
4110         * math/auto-libm-test-out: Regenerated.
4111         * sysdeps/i386/fpu/libm-test-ulps: Update.
4112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4114 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
4116         [BZ #18790]
4117         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
4118         threshold for returning +/- 1.
4119         * math/auto-libm-test-in: Add more tests of tanh.
4120         * math/auto-libm-test-out: Regenerated.
4121         * sysdeps/i386/fpu/libm-test-ulps: Update.
4123 2015-08-10  Andreas Schwab  <schwab@suse.de>
4125         [BZ #18781]
4126         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
4127         MORE_OFLAGS to oflag.
4128         * io/test-lfs.c (do_test): Test openat64.
4130 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
4132         [BZ #18789]
4133         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
4134         smaller threshold for returning the argument.
4135         * math/auto-libm-test-in: Add more tests of sinh.
4136         * math/auto-libm-test-out: Regenerated.
4137         * sysdeps/i386/fpu/libm-test-ulps: Update.
4139 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
4141         [BZ #18674]
4142         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
4143         break.
4145 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
4147         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
4148         (generated): Don't add $(addprefix z.,$(tzfiles)).
4150 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
4152         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
4153         * scripts/sysd-rules.awk: Likewise.
4155 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
4157         * iconvdata/tst-tables.sh: Change echo -n to printf.
4158         * nss/db-Makefile: Likewise.
4159         * posix/tst-getconf.sh: Likewise.
4160         * stdio-common/tst-unbputc.sh: Likewise.
4162 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
4164         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
4165         MADV_*_PAGES defines behind this feature check.
4167 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
4169         [BZ #18480]
4170         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
4171         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
4172         Define.
4173         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
4174         LOAD_REGS_5, LOAD_REGS_6): Update.
4175         (INTERNAL_SYSCALL): Update using new LOAD defines.
4176         (INTERNAL_SYSCALL_NCS): Likewise.
4177         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
4179 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4181         [BZ #16734]
4182         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
4184 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4186         [BZ #17905]
4187         * catgets/Makefile (tst-catgets-mem): New test.
4188         * catgets/catgets.c (catopen): Don't use unbounded alloca.
4189         * catgets/open_catalog.c (__open_catalog): Likewise.
4190         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
4192 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
4194         [BZ #18787]
4195         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
4196         clobber registers.
4197         (atomic_compare_and_exchange_val_acq): Use register asms to assign
4198         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
4199         Cast return to __typeof (oldval).
4201 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
4203         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
4204         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
4205         and delete sys/syscall.h include.
4207 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
4209         [BZ #16517]
4210         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
4211         (tan): Force underflow exception for arguments with small absolute
4212         value.
4213         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
4214         (__kernel_tanf): Force underflow exception for arguments with
4215         small absolute value.
4216         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
4217         (__kernel_tanl): Force underflow exception for arguments with
4218         small absolute value.
4219         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
4220         (__kernel_tanl): Force underflow exception for arguments with
4221         small absolute value.
4222         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
4223         (__kernel_tanl): Force underflow exception for arguments with
4224         small absolute value.
4225         * math/auto-libm-test-in: Add more tests of tan.
4226         * math/auto-libm-test-out: Regenerated.
4228 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4230         Fix sysdeps/i386/fpu/s_scalbn.S build
4232         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
4234 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
4236         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4238 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4240         Fix gcrt0.o compilation
4242         When static-start-installed-name is different from
4243         start-installed-name, we must not use the shared objects.
4245         * csu/Makefile
4246         (extra-objs): Add gmon-start.o when building shared library and
4247         $(static-start-installed-name) is different from
4248         $(start-installed-name).
4249         $(objpfx)g$(static-start-installed-name): When building shared
4250         library and $(static-start-installed-name) is different from
4251         $(static-start-installed-name), revert to non-shared rule,
4252         i.e. using $(objpfx)% and gmon-start.o.
4254 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
4256         [BZ #16519]
4257         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
4258         (__ieee754_sinh): Force underflow exception for arguments with
4259         small absolute value.
4260         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
4261         (__ieee754_sinhf): Force underflow exception for arguments with
4262         small absolute value.
4263         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
4264         (__ieee754_sinhl): Force underflow exception for arguments with
4265         small absolute value.
4266         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
4267         (__ieee754_sinhl): Force underflow exception for arguments with
4268         small absolute value.
4269         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
4270         (__ieee754_sinhl): Force underflow exception for arguments with
4271         small absolute value.
4272         * math/auto-libm-test-in: Add more tests of sinh.
4273         * math/auto-libm-test-out: Regenerated.
4274         * sysdeps/i386/fpu/libm-test-ulps: Update.
4276 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4278         * libio/oldfileops.c: Include unistd.h.
4280 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
4282         * stdlib/isomac.c: Include ctype.h.
4284 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
4286         * dirent/tst-seekdir.c (main): Converted to ...
4287         (do_test): ... this.
4288         (TEST_FUNCTION): New macro.
4289         Include test-skeleton.c.
4290         * elf/tst-dlmodcount.c (main): Converted to ...
4291         (do_test): ... this.
4292         (TEST_FUNCTION): New macro.
4293         Include test-skeleton.c.
4294         * elf/tst-order-main.c (main): Converted to ...
4295         (do_test): ... this.
4296         (TEST_FUNCTION): New macro.
4297         Include test-skeleton.c.
4298         * elf/tst-pie2.c (main): Converted to ...
4299         (do_test): ... this.
4300         (TEST_FUNCTION): New macro.
4301         Include test-skeleton.c.
4302         * inet/tst-ether_aton.c (main): Converted to ...
4303         (do_test): ... this.
4304         (TEST_FUNCTION): New macro.
4305         Include test-skeleton.c.
4306         * misc/tst-mntent.c (main): Converted to ...
4307         (do_test): ... this.
4308         (TEST_FUNCTION): New macro.
4309         Include test-skeleton.c.
4310         * misc/tst-tsearch.c (main): Converted to ...
4311         (do_test): ... this.
4312         (TEST_FUNCTION): New macro.
4313         Include test-skeleton.c.
4314         * posix/tst-regexloc.c (main): Converted to ...
4315         (do_test): ... this.
4316         (TEST_FUNCTION): New macro.
4317         Include test-skeleton.c.
4318         * resolv/tst-aton.c (main): Converted to ...
4319         (do_test): ... this.
4320         (TEST_FUNCTION): New macro.
4321         Include test-skeleton.c.
4322         * stdio-common/test-fwrite.c (main): Converted to ...
4323         (do_test): ... this.
4324         (TEST_FUNCTION): New macro.
4325         Include test-skeleton.c.
4326         * stdio-common/tst-ferror.c (main): Converted to ...
4327         (do_test): ... this.
4328         (TEST_FUNCTION): New macro.
4329         Include test-skeleton.c.
4330         * stdio-common/tst-printf.c (main): Converted to ...
4331         (do_test): ... this.
4332         (TEST_FUNCTION): New macro.
4333         Include test-skeleton.c.
4334         * stdio-common/tst-printfsz.c (main): Converted to ...
4335         (do_test): ... this.
4336         (TEST_FUNCTION): New macro.
4337         Include test-skeleton.c.
4338         * stdlib/tst-strtod.c (main): Converted to ...
4339         (do_test): ... this.
4340         (TEST_FUNCTION): New macro.
4341         Include test-skeleton.c.
4342         * string/tst-strlen.c (main): Converted to ...
4343         (do_test): ... this.
4344         (TEST_FUNCTION): New macro.
4345         Include test-skeleton.c.
4346         * string/tst-svc.c (main): Converted to ...
4347         (do_test): ... this.
4348         (TEST_FUNCTION): New macro.
4349         Include test-skeleton.c.
4350         * time/tst-strptime.c (main): Converted to ...
4351         (do_test): ... this.
4352         (TEST_FUNCTION): New macro.
4353         Include test-skeleton.c.
4354         * timezone/tst-timezone.c (main): Converted to ...
4355         (do_test): ... this.
4356         (TEST_FUNCTION): New macro.
4357         Include test-skeleton.c.
4359 2015-08-05  Zack Weinberg  <zackw@panix.com>
4361         * misc/regexp.h: Update comments.
4363 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
4365         [BZ #18635]
4366         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
4367         before return label.
4369 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4371         [BZ #18661]
4372         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
4373         when calling __errno_location.
4374         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
4375         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
4377 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4379         [BZ #18661]
4380         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
4381         (__lll_timedwait_tid): Align stack to 16 bytes when calling
4382         __gettimeofday.
4384 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4386         [BZ #18661]
4387         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4388         (__start_context): Don't use pop to restore %rdi so that stack
4389         is aligned to 16 bytes when calling __setcontext.
4391 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4393         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
4394         only for libc.
4395         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4397 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4399         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
4400         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
4401         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
4403 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4405         * string/memccpy.c (memccpy):
4406         Improve performance by using memchr/memcpy/__mempcpy.
4408 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4410         * string/strncpy.c (strncpy):
4411         Improve performance by using __strnlen/memcpy.
4413 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4415         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4416         Optimize to avoid an unnecessary FPCR read.
4418 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4420         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4421         Optimize to reduce FPCR/FPSR accesses.
4423 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4425         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
4426         dead->data[category] != NULL.
4428 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
4430         [BZ #18647]
4431         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
4432         and |x| close to 1, use absolute value of x when computing log.
4433         * math/auto-libm-test-in: Add more tests of pow.
4434         * math/auto-libm-test-out: Regenerated.
4436 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4438         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
4439         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
4440         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
4442 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
4444         [BZ #18525]
4445         * locales/km_KH: Remove timezone definition.
4446         * locales/lo_LA: Likewise.
4447         * locales/my_MM: Likewise.
4448         * locales/nan_TW@latin: Likewise.
4449         * locales/th_TH: Likewise.
4450         * locales/uk_UA: Likewise.
4452 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4454         [BZ #18265]
4455         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
4456         (wcsncat): Likewise.
4457         (wcscmp): Likewise.
4458         (wcsncmp): Likewise.
4460 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
4462         * test-skeleton.c (usage): New function.
4463         (main): Call usage when opt is '?'.
4465 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
4467         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
4468         before first use.
4470 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
4472         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
4473         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
4474         in there too.
4476 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
4478         * version.h (RELEASE): Set to "development".
4479         (VERSION): Set to "2.22.90"
4481         * version.h (RELEASE): Set to "stable".
4482         (VERSION): Set to "2.22"
4483         * include/features.h (__GLIBC_MINOR__): Set to 22.
4485 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
4487         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
4488         Restructure macro to avoid "value computed is not used" warning.
4489         (atomic_compare_and_exchange_val_acq): Likewise.
4491 2015-08-04  Andreas Schwab  <schwab@suse.de>
4493         [BZ #18635]
4494         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
4495         ret.
4496         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
4498 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
4500         * po/pl.po: Updated translation.
4501         * po/uk.po: Likewise.
4502         * po/fi.po: Likewise.
4503         * po/ko.po: Likewise.
4504         * po/ru.po: Likewise.
4505         * po/vi.po: Likewise.
4507 2015-07-31  Zack Weinberg  <zackw@panix.com>
4509         [BZ #18681]
4510         * regexp.h: Add unconditional #warning stating that this header
4511         will be removed soon.  Revise banner comment to match.
4512         (compile): Consistently use ERROR instead of RETURN to report
4513         errors (partial fix for bz#18681).
4514         * regexp.c: Don't include regexp.h. Remove some unnecessary
4515         declarations.
4517 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
4519         * po/libc.pot: Regenerated.
4521 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4523         [BZ #18740]
4524         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
4525         float-vlen4-arch-ext-cflags): Removed.
4526         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
4527         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
4529 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4531         [BZ #14113]
4532         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
4533         aligned to __aligned__.
4534         (pthread_cond_t, pthread_rwlock_t): Likewise.
4536 2015-07-30  Torvald Riegel  <triegel@redhat.com>
4538         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
4540 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4542         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
4543         (struct sigaction): Change sa_flags from a long to an int, and add
4544         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
4546 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4548         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
4549         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
4550         sysdeps/generic/sysdep.h include.
4551         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
4552         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
4553         sysdeps/hppa/sysdep.h.
4554         (ENTRY, PSEUDO): Undefine before defining.
4556 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4558         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
4559         from scratch to use INTERNAL_SYSCALL.
4561 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
4563         [BZ #18078]
4564         * scripts/check-localplt.awk: Support alternate relocations.
4565         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
4566         sections.
4567         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
4568         malloc entries with + REL R_386_GLOB_DAT.
4569         * sysdeps/x86_64/localplt.data: New file.
4571 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
4573         [BZ #18731]
4574         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
4575         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4576         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4578 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4580         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
4582 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4584         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
4585         directly in terms of __sync_fetch_and_add and delete (int) cast.
4587 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4589         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
4590         the -D_ASM_IA64_CURRENT_H flag.
4592 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4594         [BZ #18641]
4595         * pwd/pwd.h (putpwent): Delete __nonnull markings.
4597 2015-07-27  Andreas Schwab  <schwab@suse.de>
4599         * conform/conformtest.pl (checknamespace): Filter out string
4600         literals while tokenizing.
4602 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
4604         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4605         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
4606         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4608 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
4610         * nptl/tst-join7mod.c: Add #include <string.h>.
4612 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
4614         * sysdeps/nios2/libm-test-ulps: Update.
4616 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
4618         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
4619         Fix order of arguments to the rt_sigprocmask syscall.
4620         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
4621         Likewise.
4623 2015-07-24  Roland McGrath  <roland@hack.frob.com>
4625         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
4627 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4629         [BZ #18457]
4630         * nptl/Makefile (tests): New test case tst-join7.
4631         (modules-names): New test case module tst-join7mod.
4632         * nptl/tst-join7.c: New file.
4633         * nptl/tst-join7mod.c: New file.
4634         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
4635         all translation units in libc.so, libpthread.so and rtld.
4637 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4641 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
4643         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
4644         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
4645         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
4646         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
4647         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
4648         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
4649         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
4650         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
4651         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
4652         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
4653         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
4654         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
4655         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
4656         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
4657         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
4658         implementation.
4660 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4662         [BZ #17711]
4663         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4664         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
4665         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4666         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4667         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
4668         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4670 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4672         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
4673         instead of just saying load lock in the comments.
4675 2015-07-23  Roland McGrath  <roland@hack.frob.com>
4677         * sysdeps/unix/Subdirs: Moved ...
4678         * sysdeps/posix/Subdirs: ... here.
4679         * login/pty.h (struct termios, struct winsize): Add forward decls.
4680         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
4681         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
4682         * sysdeps/arm/nacl/libc.abilist: Updated.
4683         * sysdeps/nacl/libutil.abilist: New file.
4685         * bits/signum.h: Update comments to mention 1003.1-2013 too.
4686         (SIGWINCH): New macro.
4688         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
4689         * sysdeps/arm/nacl/libc.abilist: Add it.
4691 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
4693         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
4695 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
4697         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4698         Swap __glibc_reserved0 and sa_flags order.
4700 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4702         [BZ #18657]
4703         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
4704         are pending TLS destructor calls.
4705         * include/link.h (struct link_map): Add concurrency note for
4706         L_TLS_DTOR_COUNT.
4707         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4708         Don't touch the link map flag.  Atomically increment
4709         l_tls_dtor_count.
4710         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
4711         Avoid taking the load lock and don't touch the link map flag.
4712         * stdlib/tst-tls-atexit-nodelete.c: New test case.
4713         * stdlib/Makefile (tests): Use it.
4714         * stdlib/tst-tls-atexit.c (do_test): dlopen
4715         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
4716         to allow tst-tls-atexit-nodelete test case to use it.
4718 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4720         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
4721         to bits/types.h.
4722         (msgqnum_t): New typedef.
4723         (msglen_t): Likewise.
4724         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
4725         and msg_qbytes type to msglen_t.
4727 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4729         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
4730         pad0 to __glibc_reserved0.
4731         (struct stat64): Likewise.
4733 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4735         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4736         Change sa_flags from a long to an int and add __glibc_reserved0 before
4737         it for padding.
4739 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4741         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
4742         anonymous by deleting "siginfo" name.
4744 2015-07-21  Roland McGrath  <roland@hack.frob.com>
4746         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
4747         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
4748         rather than __nacl_irt_filename.
4749         * sysdeps/nacl/xstat.c (__xstat): Likewise.
4751         * NEWS: New item for arm-nacl port.
4752         * sysdeps/arm/nacl/libc.abilist: New file.
4753         * sysdeps/nacl/ld.abilist: New file.
4754         * sysdeps/nacl/libBrokenLocale.abilist: New file.
4755         * sysdeps/nacl/libanl.abilist: New file.
4756         * sysdeps/nacl/libcrypt.abilist: New file.
4757         * sysdeps/nacl/libdl.abilist: New file.
4758         * sysdeps/nacl/libm.abilist: New file.
4759         * sysdeps/nacl/libpthread.abilist: New file.
4760         * sysdeps/nacl/libresolv.abilist: New file.
4761         * sysdeps/nacl/librt.abilist: New file.
4763 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
4765         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
4766         __startcontext to initialize the new context.
4767         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
4768         up CFI directive to forbid further backtracing.
4770 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
4772         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
4773         reference.
4774         * charmaps/ANSI_X3.4-1968: Likewise.
4775         * charmaps/BS_4730: Likewise.
4776         * charmaps/BS_VIEWDATA: Likewise.
4777         * charmaps/CP1250: Likewise.
4778         * charmaps/CP1251: Likewise.
4779         * charmaps/CP1252: Likewise.
4780         * charmaps/CP1253: Likewise.
4781         * charmaps/CP1254: Likewise.
4782         * charmaps/CP1255: Likewise.
4783         * charmaps/CP1256: Likewise.
4784         * charmaps/CSN_369103: Likewise.
4785         * charmaps/EBCDIC-DK-NO: Likewise.
4786         * charmaps/GB_1988-80: Likewise.
4787         * charmaps/GREEK-CCITT: Likewise.
4788         * charmaps/GREEK7: Likewise.
4789         * charmaps/INIS-8: Likewise.
4790         * charmaps/ISIRI-3342: Likewise.
4791         * charmaps/ISO_2033-1983: Likewise.
4792         * charmaps/ISO_5427-EXT: Likewise.
4793         * locales/POSIX: Likewise.
4794         * locales/ar_SA: Likewise.
4795         * locales/be_BY: Likewise.
4796         * locales/be_BY@latin: Likewise.
4797         * locales/ca_ES: Likewise.
4798         * locales/cs_CZ: Likewise.
4799         * locales/da_DK: Likewise.
4800         * locales/de_BE: Likewise.
4801         * locales/de_CH: Likewise.
4802         * locales/de_LU: Likewise.
4803         * locales/en_AU: Likewise.
4804         * locales/en_BW: Likewise.
4805         * locales/en_CA: Likewise.
4806         * locales/en_DK: Likewise.
4807         * locales/en_GB: Likewise.
4808         * locales/en_IE: Likewise.
4809         * locales/en_NZ: Likewise.
4810         * locales/en_ZA: Likewise.
4811         * locales/en_ZW: Likewise.
4812         * locales/es_AR: Likewise.
4813         * locales/es_BO: Likewise.
4814         * locales/es_CL: Likewise.
4815         * locales/es_CO: Likewise.
4816         * locales/es_DO: Likewise.
4817         * locales/es_EC: Likewise.
4818         * locales/es_ES: Likewise.
4819         * locales/es_HN: Likewise.
4820         * locales/es_MX: Likewise.
4821         * locales/es_PA: Likewise.
4822         * locales/es_PE: Likewise.
4823         * locales/es_PY: Likewise.
4824         * locales/es_SV: Likewise.
4825         * locales/es_US: Likewise.
4826         * locales/es_UY: Likewise.
4827         * locales/es_VE: Likewise.
4828         * locales/et_EE: Likewise.
4829         * locales/fa_IR: Likewise.
4830         * locales/fo_FO: Likewise.
4831         * locales/fr_CA: Likewise.
4832         * locales/fr_CH: Likewise.
4833         * locales/gv_GB: Likewise.
4834         * locales/he_IL: Likewise.
4835         * locales/hr_HR: Likewise.
4836         * locales/id_ID: Likewise.
4837         * locales/is_IS: Likewise.
4838         * locales/it_CH: Likewise.
4839         * locales/iw_IL: Likewise.
4840         * locales/kl_GL: Likewise.
4841         * locales/ko_KR: Likewise.
4842         * locales/kw_GB: Likewise.
4843         * locales/lg_UG: Likewise.
4844         * locales/lt_LT: Likewise.
4845         * locales/lv_LV: Likewise.
4846         * locales/mi_NZ: Likewise.
4847         * locales/nhn_MX: Likewise.
4848         * locales/nl_BE: Likewise.
4849         * locales/pl_PL: Likewise.
4850         * locales/sk_SK: Likewise.
4851         * locales/sl_SI: Likewise.
4852         * locales/sv_FI: Likewise.
4853         * locales/tl_PH: Likewise.
4854         * locales/tr_TR: Likewise.
4855         * locales/vi_VN: Likewise.
4857 2015-07-21  Khem Raj  <raj.khem@gmail.com>
4859         [BZ #17475]
4860         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
4861         of tu_IN and bh_IN.
4863 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
4865         [BZ #18694]
4866         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
4867         bits/wordsize.h.
4868         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
4870 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4872         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
4873         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
4874         (spawn_thread): New function.
4875         (load): Rename to reg_dtor_and_close.  Move dlopen to...
4876         (do_test): ... here.  Use IS_LOADED to test for its
4877         availability.
4879 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
4881         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4883 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
4885         [BZ #18696]
4886         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
4887         si_addr_bnd.
4888         (si_lower): New.
4889         (si_upper): Likewise.
4891 2015-07-16  David S. Miller  <davem@davemloft.net>
4893         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4895 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4897         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
4898         buffer.
4899         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
4900         fail output information.
4902 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4904         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
4905         and strstr-ppc64..
4906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4907         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
4908         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
4909         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
4910         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
4912 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4914         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4915         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4916         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4917         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4919 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4921         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4922         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
4923         rtld_hidden_proto.
4924         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
4926 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4928         * tst-nodelete-opened.c (do_test): Add comment to clarify how
4929         the test can fail.
4931         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
4933         [BZ #18676]
4934         * elf/tst-nodelete-opened.c: New test case.
4935         * elf/tst-nodelete-opened-lib.c: New test case module.
4936         * elf/Makefile (tests, modules-names): Use them.
4937         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
4938         early.
4940 2015-07-15  David S. Miller  <davem@davemloft.net>
4942         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
4943         futex-intenal.h
4944         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4945         * sysdeps/sparc/sparc64/Makefile: Likewise.
4946         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4947         Remove space from macro define.
4948         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4950 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
4952         [BZ #17475]
4953         * locale/iso-639.def: Update Bhili and Tulu language codes as
4954         per iso639-3.
4956 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
4958         * elf/tst-leaks1.c (main): Converted to ...
4959         (do_test): ... this.
4960         (TEST_FUNCTION): New macro.
4961         Include test-skeleton.c.
4962         * localedata/tst-langinfo.c (main): Converted to ...
4963         (do_test): ... this.
4964         (TEST_FUNCTION): New macro.
4965         Include test-skeleton.c.
4966         * math/test-fpucw.c (main): Converted to ...
4967         (do_test): ... this.
4968         (TEST_FUNCTION): New macro.
4969         Include test-skeleton.c.
4970         * math/test-tgmath.c (main): Converted to ...
4971         (do_test): ... this.
4972         (TEST_FUNCTION): New macro.
4973         Include test-skeleton.c.
4974         * math/test-tgmath2.c (main): Converted to ...
4975         (do_test): ... this.
4976         (TEST_FUNCTION): New macro.
4977         Include test-skeleton.c.
4978         * setjmp/tst-setjmp.c (main): Converted to ...
4979         (do_test): ... this.
4980         (TEST_FUNCTION): New macro.
4981         Include test-skeleton.c.
4982         * stdio-common/tst-sscanf.c (main): Converted to ...
4983         (do_test): ... this.
4984         (TEST_FUNCTION): New macro.
4985         Include test-skeleton.c.
4986         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4987         (do_test): ... this.
4988         (TEST_FUNCTION): New macro.
4989         Include test-skeleton.c.
4991         * elf/tst-audit9.c (main): Converted to ...
4992         (do_test): ... this.
4993         (TEST_FUNCTION): New macro.
4994         Include test-skeleton.c.
4996 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
4998         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
5000 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5002         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
5003         New variable.
5005 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5007         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5009 2015-07-14  Roland McGrath  <roland@hack.frob.com>
5011         * sysdeps/generic/dl-fileid.h: New file.
5012         * sysdeps/posix/dl-fileid.h: New file.
5013         * sysdeps/nacl/dl-fileid.h: New file.
5014         * include/link.h: Include <dl-fileid.h>.
5015         (struct link_map): Replace l_dev and l_ino with l_file_id.
5016         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
5017         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
5018         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
5020 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5022         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
5024 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5026         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
5027         Add iff $CXX is set.
5028         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
5029         Likewise.
5030         (tst-nodelete-zmodiff): Likewise.
5031         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
5033 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5035         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
5037 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
5039         * sysdeps/aarch64/fpu/math_private.h
5040         (define math_opt_barrier): Add AArch64 version.
5041         (math_force_eval): Likewise.
5043 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
5045         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
5047 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
5049         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
5050         %ld with %jd and cast to intmax_t.
5051         (do_test_length_zero): Likewise.
5053 2015-07-10  Roland McGrath  <roland@hack.frob.com>
5055         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
5057 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
5059         * sysdeps/tile/libm-test-ulps: Regenerated.
5061         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
5062         Comment out the whole function, not just its body.
5064 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5066         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
5067         locks.
5069         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
5071 2015-07-10  Torvald Riegel  <triegel@redhat.com>
5073         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
5074         (sem_assume_only_signals_cause_futex_EINTR): Remove.
5076 2015-07-10  Torvald Riegel  <triegel@redhat.com>
5078         * sysdeps/nptl/futex-internal.h: New file.
5079         * sysdeps/nacl/futex-internal.h: New file.
5080         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
5081         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
5082         error checking.
5083         (setxid_unmark_thread): Likewise.
5084         (__nptl_setxid): Likewise.
5085         (__wait_lookup_done): Likewise.
5086         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
5087         * nptl/nptl-init.c (sighandler_setxid): Likewise.
5088         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5089         * nptl/pthread_once.c (clear_once_control): Likewise.
5090         (__pthread_once_slow): Likewise.
5091         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5092         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
5093         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
5094         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5095         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
5096         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
5097         Likewise.
5098         (__pthread_rwlock_rdlock): Likewise.
5099         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5100         Likewise.
5101         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5102         Likewise.
5103         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5104         Likewise.
5105         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
5106         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
5107         Likewise.
5108         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
5109         __ASSUME_PRIVATE_FUTEX check.
5110         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
5111         Check that shared futexes are supported.
5112         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
5113         wrappers with error checking.
5114         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
5115         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
5116         * nptl/pthread_barrierattr_setpshared.c
5117         (pthread_barrierattr_setpshared): Check that shared futexes are
5118         supported.
5119         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
5120         Likewise.
5121         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
5122         Likewise.
5123         * nptl/sem_init.c (futex_private_if_supported): Remove.
5124         (__new_sem_init): Adapt and check that shared futexes are supported.
5125         * nptl/sem_open.c (sem_open): Likewise.
5126         * nptl/sem_post.c (futex_wake): Remove.
5127         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
5128         (do_futex_wait): Use futex wrappers with error checking.
5129         * nptl/sem_wait.c: Include lowlevellock.h.
5130         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
5131         Use futex_supports_pshared.
5132         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
5133         Use futex wrappers with error checking.
5134         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
5135         Likewise.
5136         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
5137         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
5138         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
5139         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
5140         (futex_wake): Likewise.
5141         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
5142         (do_futex_wait): Use futex wrappers with error checking.
5143         (__new_sem_wait_slow): Update EINTR handling.
5144         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
5146 2015-07-09  Martin Sebor  <msebor@redhat.com>
5148         [BZ #18435]
5149         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
5150         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
5151         * nptl/Makefile (test-xfail-tst-once5): Define.
5153 2015-07-09  Roland McGrath  <roland@hack.frob.com>
5155         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
5156         * elf/dl-minimal.c: For readability, reorder some definitions and
5157         introduce more page breaks.  Include <stdio.h>.
5158         (__libc_fatal): New function.
5160         * include/unistd.h: Add rtld_hidden_proto for _exit.
5161         * posix/_exit.c: Add rtld_hidden_def.
5162         * sysdeps/mach/hurd/_exit.c: Likewise.
5163         * sysdeps/nacl/_exit.c: Likewise.
5164         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
5165         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
5167 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
5169         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
5170         bndmov encoding with zero displacement.
5172 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5173             H.J. Lu  <hongjiu.lu@intel.com>
5175         [BZ #18134]
5176         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
5177         * sysdeps/i386/configure: Regenerated.
5178         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5179         (_dl_runtime_profile): Save and restore Intel MPX return bound
5180         registers when calling _dl_call_pltexit.  Add
5181         PRESERVE_BND_REGS_PREFIX before return.
5182         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
5183         (LRV_BND1_OFFSET): Likewise.
5184         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
5185         lrv_bnd1.
5186         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
5187         typo in bndmov encoding.
5188         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
5189         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
5190         branch instructions to preserve bounds.
5192 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5195         [GLIBC_2.22]: Add fmemopen.
5197 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5199         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
5200         returns an error, also try to use host port from __mach_host_self for
5201         the __vm_wire call.
5202         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
5204 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5206         [BZ #18400]
5207         [BZ #18648]
5208         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
5209         Fix pr_uid and pr_gid members.
5210         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
5211         definition to elf_greg_t.
5213 2015-07-08  Roland McGrath  <roland@hack.frob.com>
5215         [BZ #18383]
5216         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
5217         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
5218         * sysdeps/arm/configure: Regenerated.
5219         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
5220         (test-xfail-tst-tlsalign-static): Variable removed.
5222         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
5223         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
5224         rather than explicit 'ln -s'.
5226         * resolv/rpc/netdb.h: New file.
5227         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
5229 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5231         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
5232         length buffers.
5233         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5234         test-skeleton.c.
5236         [BZ #6544]
5237         [BZ #11216]
5238         [BZ #12836]
5239         [BZ #13151]
5240         [BZ #13152]
5241         [BZ #14292]
5242         * include/stdio.h (fmemopen): Remove hidden prototype.
5243         (__fmemopen): Add new hidden prototype.
5244         * libio/Makefile: Add oldfmemopen object.
5245         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
5246         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
5247         compliance.
5248         * libio/oldfmemopen.c: New file: old fmemopen implementation for
5249         symbol compatibility.
5250         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
5251         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
5252         fmemopen.
5253         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
5254         on append and read mode.
5255         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
5256         fmemopen.
5257         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
5258         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
5259         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
5260         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
5261         Likewise.
5262         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5263         [GLIBC_2.22]: Likewise.
5264         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
5265         Likewise.
5266         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
5267         Likewise.
5268         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5269         [GLIBC_2.22]: Likewise.
5270         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5271         [GLIBC_2.22]: Likewise.
5272         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5273         [GLIBC_2.22]: Likewise.
5274         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5275         [GLIBC_2.22]: Likewise.
5276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5277         [GLIBC_2.22]: Likewise.
5278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5279         [GLIBC_2.22]: Likewise.
5280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5281         [GLIBC_2.22]: Likewise.
5282         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
5283         Likewise.
5284         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
5285         Likewise.
5286         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
5287         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5288         [GLIBC_2.22]: Likewise.
5289         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5290         [GLIBC_2.22]: Likewise.
5291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5292         [GLIBC_2.22]: Likewise.
5293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5294         [GLIBC_2.22]: Likewise.
5295         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
5296         Likewise.
5297         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
5298         Likewise.
5299         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
5300         Likewise.
5301         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
5302         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
5304 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
5306         [BZ #18643]
5307         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
5308         IPV6_PATHMTU, and IPV6_DONTFRAG.
5310 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
5312         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
5313         and _IO_UNBUFFERED.
5314         * libio/oldfileops.c: Likewise.
5315         * libio/wfileops.c: Likewise.
5317 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
5319         * nscd/selinux.c: Delete selinux/flask.h include.
5321 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
5323         [BZ #18641]
5324         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
5325         (putpwent): Likewise.
5326         (getpwnam): Likewise.
5327         (getpwent_r): Likewise.
5328         (getpwuid_r): Likewise.
5329         (getpwnam_r): Likewise.
5330         (fgetpwent_r): Likewise.
5332 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
5334         [BZ #18557]
5335         * inet/rcmd.c (__validuser2_sa): Check user first to
5336         short-circuit host check.
5338 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
5339             Mikhail Ilin  <m.ilin@samsung.com>
5341         [BZ #17833]
5342         * elf/Makefile (tests): Add tst-nodelete.
5343         (modules-names): Add tst-nodelete-uniquemod.
5344         (tst-nodelete-uniquemod.so-no-z-defs): New.
5345         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
5346         (tst-nodelete-zmod.so-no-z-defs): Likewise.
5347         ($(objpfx)tst-nodelete): Likewise.
5348         ($(objpfx)tst-nodelete.out): Likewise.
5349         (LDFLAGS-tst-nodelete): Likewise.
5350         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
5351         * elf/dl-close.c (_dl_close_worker): Add a parameter to
5352         implement forced object deletion.
5353         (_dl_close): Pass false to _dl_close_worker.
5354         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
5355         * elf/tst-nodelete.cc: New file.
5356         * elf/tst-nodeletelib.cc: Likewise.
5357         * elf/tst-znodeletelib.cc: Likewise.
5358         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
5360 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5362         [BZ #18508]
5363         * stdlib/Makefile ($(objpfx)tst-makecontext3):
5364         Depend on $(libdl).
5365         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
5366         is not called infinitely times.
5367         (backtrace_helper): New function.
5368         (trace_arg): New struct.
5369         (st1): Enlarge stack size.
5370         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5371         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
5372         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5373         Likewise.
5375 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5377         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5379 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5381         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
5382         Include sys/types.h instead of bits/types.h.
5383         Remove inclusion of bits/wordsize.h.
5385 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
5387         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
5388         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
5389         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
5390         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
5391         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
5392         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
5394 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
5396         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
5397         link-defines.sym.
5398         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
5399         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
5400         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
5401         and LR_SIZE.
5402         * sysdeps/i386/link-defines.sym: New file.
5404 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
5406         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
5407         (modules-names): Add tst-auditmod3a tst-auditmod3b.
5408         ($(objpfx)tst-audit3): New rule.
5409         ($(objpfx)tst-audit3.out): Likewise.
5410         * sysdeps/i386/tst-audit3.c: New file.
5411         * sysdeps/i386/tst-audit3.h: Likewise.
5412         * sysdeps/i386/tst-auditmod3a.c: Likewise.
5413         * sysdeps/i386/tst-auditmod3b.c: Likewise.
5415 2015-07-07  Torvald Riegel  <triegel@redhat.com>
5417         [BZ #18633]
5418         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
5419         pointer in C code.
5420         (__strcat_c): Likewise.
5421         (__strcat_g): Likewise.
5423 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
5425         [BZ #18592]
5426         * misc/sbrk.c: Set errno to ENOMEM on overflow.
5428 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
5430         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
5431         New function.  (__ieee754_sqrtf): New function.
5432         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
5433         New function.
5434         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
5435         New function.
5437 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
5439         * sysdeps/ieee754/support.c: Remove unused file.
5441 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5443         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
5444         registers instead of d ones so the layout is kernel abi compatible.
5445         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
5446         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
5447         Likewise.
5449 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5451         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5453 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
5455         [BZ #18619]
5456         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
5457         and return argument in case of subnormal argument.
5459 2015-07-01  Martin Sebor  <msebor@redhat.com>
5461         [BZ #18435]
5462         * nptl/Makefile: Add tst-once5.cc.
5463         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
5464         Remove macro redefinitions.
5465         * nptl/tst-once5.cc: New test.
5467 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
5469         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5471         * sysdeps/arm/libm-test-ulps: Regenerated.
5473         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5474         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5476 2015-06-30  Torvald Riegel  <triegel@redhat.com>
5478         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
5479         lll_lock_wait_private and lll_futex_wake probes.
5481         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
5482         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
5483         Likewise.
5484         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
5485         atomic_spin_nop.
5486         * sysdeps/x86_64/bits/atomic.h: Likewise.
5487         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
5488         to atomic_spin_nop and move ...
5489         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
5490         ... here and ...
5491         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
5492         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5493         atomic_spin_nop instead of BUSY_WAIT_NOP.
5494         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
5495         Likewise.
5496         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
5497         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
5498         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
5499         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
5500         instead of atomic_delay.
5502 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
5504         [BZ #18613]
5505         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
5506         X_ADJ not X when adjusting exponent.
5507         (__ieee754_gamma_r): Do intermediate computations in
5508         round-to-nearest then adjust overflowing and underflowing results
5509         as needed.
5510         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
5511         of X_ADJ not X when adjusting exponent.
5512         (__ieee754_gammaf_r): Do intermediate computations in
5513         round-to-nearest then adjust overflowing and underflowing results
5514         as needed.
5515         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
5516         log of X_ADJ not X when adjusting exponent.
5517         (__ieee754_gammal_r): Do intermediate computations in
5518         round-to-nearest then adjust overflowing and underflowing results
5519         as needed.  Use 1.0L not 1.0f as numerator of division.
5520         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
5521         log of X_ADJ not X when adjusting exponent.
5522         (__ieee754_gammal_r): Do intermediate computations in
5523         round-to-nearest then adjust overflowing and underflowing results
5524         as needed.  Use 1.0L not 1.0f as numerator of division.
5525         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
5526         of X_ADJ not X when adjusting exponent.
5527         (__ieee754_gammal_r): Do intermediate computations in
5528         round-to-nearest then adjust overflowing and underflowing results
5529         as needed.  Use 1.0L not 1.0f as numerator of division.
5530         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
5531         to auto-libm-test-in.
5532         (tgamma_test): Use ALL_RM_TEST.
5533         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
5534         tests of tgamma with spurious-overflow.
5535         * math/auto-libm-test-out: Regenerated.
5536         * math/gen-libm-have-vector-test.sh: Do not check for START.
5537         * sysdeps/i386/fpu/libm-test-ulps: Update.
5538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5540         [BZ #18612]
5541         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
5542         arguments, just return 0.5 times the argument, with underflow
5543         forced as needed.
5544         * math/auto-libm-test-in: Add more tests of j1.
5545         * math/auto-libm-test-out: Regenerated.
5547         [BZ #16559]
5548         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
5549         (__ieee754_j1): Force underflow exception for small results.
5550         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5551         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
5552         (__ieee754_j1f): Force underflow exception for small results.
5553         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5554         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5555         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5556         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
5557         (__ieee754_j1l): Force underflow exception for small results.
5558         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5559         * math/auto-libm-test-in: Add more tests of j1 and jn.
5560         * math/auto-libm-test-out: Regenerated.
5562         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
5563         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
5564         (PF_MPLS): Likewise.
5565         (AF_IB): Likewise.
5566         (AF_MPLS): Likewise.
5567         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
5568         value and macro.
5569         (MS_RMT_MASK): Include MS_LAZYTIME.
5571 2015-06-26  Mel Gorman  <mgorman@suse.de>
5573         [BZ #18502]
5574         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
5575         already minimal.
5577 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
5579         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
5580         (DT_MIPS_NUM): Update.
5581         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
5582         DT_MIPS_RLD_MAP_REL.
5584 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
5586         [BZ #16559]
5587         [BZ #18602]
5588         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
5589         round-to-nearest internally then recompute results that
5590         underflowed to zero in the original rounding mode.
5591         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5592         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5593         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5594         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
5595         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
5596         * sysdeps/i386/fpu/libm-test-ulps: Update.
5597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5599 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5601         * NEWS: Fixed description of link with vector math library.
5603 2015-06-25  Andreas Schwab  <schwab@suse.de>
5605         [BZ #18549]
5606         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
5607         * libio/test-fmemopen.c (do_test): Add test for it.
5609 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
5611         [BZ #17841]
5612         * Makeconfig (no-pie-ldflag): New.
5613         (+link): Set to $(+link-pie) if default to PIE.
5614         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
5615         * config.make.in (build-pie-default): New.
5616         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
5617         is default.  AC_SUBST.
5618         * configure: Regenerated.
5619         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
5621 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5623         * nptl/descr.h (struct pthread): Change type of field setxid_futex
5624         to 'unsigned int'.
5626         * resolv/gai_misc.h (struct waitlist): Change type of field
5627         counterp to 'volatile unsigned int *'.
5628         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
5629         FUTEXADDR and OLDVAL.
5630         * resolv/getaddrinfo_a.c (getaddrinfo_a):
5631         Give local variable TOTAL type 'volatile unsigned int'.
5632         (struct async_waitlist): Change type of field counter to 'unsigned int'.
5633         * resolv/gai_suspend.c (gai_suspend):
5634         Give local variable CNTR type 'unsigned int'.
5636         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
5637         counterp to 'volatile unsigned int *'.
5638         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
5639         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
5640         (aio_suspend): Give local variable CNTR type 'unsigned int'.
5641         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
5642         Give local variable TOTAL type 'volatile unsigned int'.
5643         (struct async_waitlist): Change type of field counter to 'unsigned int'.
5645 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5647         [BZ #18383]
5648         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
5649         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
5650         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
5651         comment for i386/x86-64.
5652         (test-xfail-tst-tlsalign-extern-static): Removed.
5654 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5656         * math/test-double.h: New file.
5657         * math/test-float.h: Likewise.
5658         * math/test-ldouble.h: Likewise.
5659         * math/test-math-inline.h: Likewise.
5660         * math/test-math-no-inline.h: Likewise.
5661         * math/test-math-scalar.h: Likewise.
5662         * math/test-math-vector.h: Likewise.
5663         * math/test-vec-loop.h: Remove file.  Contents moved into
5664         test-math-vector.h.
5665         * math/libm-test.inc (MATHCONST): Do not document macro.
5666         * math/test-double.c: Include test-double.h, test-math-no-inline.h
5667         and test-math-scalar.h.
5668         (FUNC): Remove macro.
5669         (FUNC_TEST): Likewise.
5670         (FLOAT): Likewise.
5671         (MATHCONST): Likewise.
5672         (PRINTF_EXPR): Likewise.
5673         (PRINTF_XEXPR): Likewise.
5674         (PRINTF_NEXPR): Likewise.
5675         (TEST_DOUBLE): Likewise.
5676         (TEST_MATHVEC): Likewise.
5677         (__NO_MATH_INLINES): Likewise.
5678         * math/test-float.c: Include test-float.h, test-math-no-inline.h
5679         and test-math-scalar.h.
5680         (FUNC): Remove macro.
5681         (FUNC_TEST): Likewise.
5682         (FLOAT): Likewise.
5683         (MATHCONST): Likewise.
5684         (PRINTF_EXPR): Likewise.
5685         (PRINTF_XEXPR): Likewise.
5686         (PRINTF_NEXPR): Likewise.
5687         (TEST_FLOAT): Likewise.
5688         (TEST_MATHVEC): Likewise.
5689         (__NO_MATH_INLINES): Likewise.
5690         * math/test-idouble.c: Include test-double.h, test-math-inline.h
5691         and test-math-scalar.h.
5692         (FUNC): Remove macro.
5693         (FUNC_TEST): Likewise.
5694         (FLOAT): Likewise.
5695         (MATHCONST): Likewise.
5696         (PRINTF_EXPR): Likewise.
5697         (PRINTF_XEXPR): Likewise.
5698         (PRINTF_NEXPR): Likewise.
5699         (TEST_DOUBLE): Likewise.
5700         (TEST_MATHVEC): Likewise.
5701         (TEST_INLINE): Likewise.
5702         (__NO_MATH_INLINES): Likewise.
5703         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
5704         test-math-scalar.h.
5705         (FUNC): Remove macro.
5706         (FUNC_TEST): Likewise.
5707         (FLOAT): Likewise.
5708         (MATHCONST): Likewise.
5709         (PRINTF_EXPR): Likewise.
5710         (PRINTF_XEXPR): Likewise.
5711         (PRINTF_NEXPR): Likewise.
5712         (TEST_FLOAT): Likewise.
5713         (TEST_MATHVEC): Likewise.
5714         (TEST_INLINE): Likewise.
5715         (__NO_MATH_INLINES): Likewise.
5716         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
5717         and test-math-scalar.h.
5718         (FUNC): Remove macro.
5719         (FUNC_TEST): Likewise.
5720         (FLOAT): Likewise.
5721         (MATHCONST): Likewise.
5722         (PRINTF_EXPR): Likewise.
5723         (PRINTF_XEXPR): Likewise.
5724         (PRINTF_NEXPR): Likewise.
5725         (TEST_LDOUBLE): Likewise.
5726         (TEST_MATHVEC): Likewise.
5727         (TEST_INLINE): Likewise.
5728         (__NO_MATH_INLINES): Likewise.
5729         * math/test-ldouble.c: Include test-ldouble.h,
5730         test-math-no-inline.h and test-math-scalar.h.
5731         (FUNC): Remove macro.
5732         (FUNC_TEST): Likewise.
5733         (FLOAT): Likewise.
5734         (MATHCONST): Likewise.
5735         (PRINTF_EXPR): Likewise.
5736         (PRINTF_XEXPR): Likewise.
5737         (PRINTF_NEXPR): Likewise.
5738         (TEST_LDOUBLE): Likewise.
5739         (TEST_MATHVEC): Likewise.
5740         (__NO_MATH_INLINES): Likewise.
5741         * math/test-double-vlen2.h: Include test-double.h,
5742         test-math-no-inline.h and test-math-vector.h.
5743         (FLOAT): Remove macro.
5744         (FUNC): Likewise.
5745         (MATHCONST): Likewise.
5746         (PRINTF_EXPR): Likewise.
5747         (PRINTF_XEXPR): Likewise.
5748         (PRINTF_NEXPR): Likewise.
5749         (TEST_DOUBLE): Likewise.
5750         (TEST_MATHVEC): Likewise.
5751         (__NO_MATH_INLINES): Likewise.
5752         (CNCT): Likewise.
5753         (CONCAT): Likewise.
5754         (WRAPPER_NAME): Likewise.
5755         (WRAPPER_DECL): Likewise.
5756         (WRAPPER_DECL_ff): Likewise.
5757         (WRAPPER_DECL_fFF): Likewise.
5758         (VECTOR_WRAPPER): Likewise.
5759         (VECTOR_WRAPPER_ff): Likewise.
5760         (VECTOR_WRAPPER_fFF): Likewise.
5761         (VEC_LEN): New macro.
5762         * math/test-double-vlen4.h: Include test-double.h,
5763         test-math-no-inline.h and test-math-vector.h.
5764         (FLOAT): Remove macro.
5765         (FUNC): Likewise.
5766         (MATHCONST): Likewise.
5767         (PRINTF_EXPR): Likewise.
5768         (PRINTF_XEXPR): Likewise.
5769         (PRINTF_NEXPR): Likewise.
5770         (TEST_DOUBLE): Likewise.
5771         (TEST_MATHVEC): Likewise.
5772         (__NO_MATH_INLINES): Likewise.
5773         (CNCT): Likewise.
5774         (CONCAT): Likewise.
5775         (WRAPPER_NAME): Likewise.
5776         (WRAPPER_DECL): Likewise.
5777         (WRAPPER_DECL_ff): Likewise.
5778         (WRAPPER_DECL_fFF): Likewise.
5779         (VECTOR_WRAPPER): Likewise.
5780         (VECTOR_WRAPPER_ff): Likewise.
5781         (VECTOR_WRAPPER_fFF): Likewise.
5782         (VEC_LEN): New macro.
5783         * math/test-double-vlen8.h: Include test-double.h,
5784         test-math-no-inline.h and test-math-vector.h.
5785         (FLOAT): Remove macro.
5786         (FUNC): Likewise.
5787         (MATHCONST): Likewise.
5788         (PRINTF_EXPR): Likewise.
5789         (PRINTF_XEXPR): Likewise.
5790         (PRINTF_NEXPR): Likewise.
5791         (TEST_DOUBLE): Likewise.
5792         (TEST_MATHVEC): Likewise.
5793         (__NO_MATH_INLINES): Likewise.
5794         (CNCT): Likewise.
5795         (CONCAT): Likewise.
5796         (WRAPPER_NAME): Likewise.
5797         (WRAPPER_DECL): Likewise.
5798         (WRAPPER_DECL_ff): Likewise.
5799         (WRAPPER_DECL_fFF): Likewise.
5800         (VECTOR_WRAPPER): Likewise.
5801         (VECTOR_WRAPPER_ff): Likewise.
5802         (VECTOR_WRAPPER_fFF): Likewise.
5803         (VEC_LEN): New macro.
5804         * math/test-float-vlen4.h: Include test-float.h,
5805         test-math-no-inline.h and test-math-vector.h.
5806         (FLOAT): Remove macro.
5807         (FUNC): Likewise.
5808         (MATHCONST): Likewise.
5809         (PRINTF_EXPR): Likewise.
5810         (PRINTF_XEXPR): Likewise.
5811         (PRINTF_NEXPR): Likewise.
5812         (TEST_FLOAT): Likewise.
5813         (TEST_MATHVEC): Likewise.
5814         (__NO_MATH_INLINES): Likewise.
5815         (CNCT): Likewise.
5816         (CONCAT): Likewise.
5817         (WRAPPER_NAME): Likewise.
5818         (WRAPPER_DECL): Likewise.
5819         (WRAPPER_DECL_ff): Likewise.
5820         (WRAPPER_DECL_fFF): Likewise.
5821         (VECTOR_WRAPPER): Likewise.
5822         (VECTOR_WRAPPER_ff): Likewise.
5823         (VECTOR_WRAPPER_fFF): Likewise.
5824         (VEC_LEN): New macro.
5825         * math/test-float-vlen8.h: Include test-float.h,
5826         test-math-no-inline.h and test-math-vector.h.
5827         (FLOAT): Remove macro.
5828         (FUNC): Likewise.
5829         (MATHCONST): Likewise.
5830         (PRINTF_EXPR): Likewise.
5831         (PRINTF_XEXPR): Likewise.
5832         (PRINTF_NEXPR): Likewise.
5833         (TEST_FLOAT): Likewise.
5834         (TEST_MATHVEC): Likewise.
5835         (__NO_MATH_INLINES): Likewise.
5836         (CNCT): Likewise.
5837         (CONCAT): Likewise.
5838         (WRAPPER_NAME): Likewise.
5839         (WRAPPER_DECL): Likewise.
5840         (WRAPPER_DECL_ff): Likewise.
5841         (WRAPPER_DECL_fFF): Likewise.
5842         (VECTOR_WRAPPER): Likewise.
5843         (VECTOR_WRAPPER_ff): Likewise.
5844         (VECTOR_WRAPPER_fFF): Likewise.
5845         (VEC_LEN): New macro.
5846         * math/test-float-vlen16.h: Include test-float.h,
5847         test-math-no-inline.h and test-math-vector.h.
5848         (FLOAT): Remove macro.
5849         (FUNC): Likewise.
5850         (MATHCONST): Likewise.
5851         (PRINTF_EXPR): Likewise.
5852         (PRINTF_XEXPR): Likewise.
5853         (PRINTF_NEXPR): Likewise.
5854         (TEST_FLOAT): Likewise.
5855         (TEST_MATHVEC): Likewise.
5856         (__NO_MATH_INLINES): Likewise.
5857         (CNCT): Likewise.
5858         (CONCAT): Likewise.
5859         (WRAPPER_NAME): Likewise.
5860         (WRAPPER_DECL): Likewise.
5861         (WRAPPER_DECL_ff): Likewise.
5862         (WRAPPER_DECL_fFF): Likewise.
5863         (VECTOR_WRAPPER): Likewise.
5864         (VECTOR_WRAPPER_ff): Likewise.
5865         (VECTOR_WRAPPER_fFF): Likewise.
5866         (VEC_LEN): New macro.
5867         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
5868         test-vec-loop.h.
5869         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5870         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5871         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5872         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5873         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5874         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5875         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5877 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5879         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
5880         (__getlogin_r): ... this.
5882 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5884         [BZ #18594]
5885         * math/s_ccosh.c (__ccosh): Compare with least normal value
5886         instead of comparing class with FP_SUBNORMAL.
5887         * math/s_ccoshf.c (__ccoshf): Likewise.
5888         * math/s_ccoshl.c (__ccoshl): Likewise.
5889         * math/s_cexp.c (__cexp): Likewise.
5890         * math/s_cexpf.c (__cexpf): Likewise.
5891         * math/s_cexpl.c (__cexpl): Likewise.
5892         * math/s_csin.c (__csin): Likewise.
5893         * math/s_csinf.c (__csinf): Likewise.
5894         * math/s_csinh.c (__csinh): Likewise.
5895         * math/s_csinhf.c (__csinhf): Likewise.
5896         * math/s_csinhl.c (__csinhl): Likewise.
5897         * math/s_csinl.c (__csinl): Likewise.
5898         * math/s_ctan.c (__ctan): Likewise.
5899         * math/s_ctanf.c (__ctanf): Likewise.
5900         * math/s_ctanh.c (__ctanh): Likewise.
5901         * math/s_ctanhf.c (__ctanhf): Likewise.
5902         * math/s_ctanhl.c (__ctanhl): Likewise.
5903         * math/s_ctanl.c (__ctanl): Likewise.
5904         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
5905         csin, csinh, ctan and ctanh.
5906         * math/auto-libm-test-out: Regenerated.
5907         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
5908         * sysdeps/i386/fpu/libm-test-ulps: Update.
5909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5911 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5913         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
5914         return value is wrong, print the expected value too.
5916 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5918         [BZ #18585]
5919         * elf/readlib.c (is_gdb_python_file): New.
5920         (process_file): Don't issue errors on filenames with -gdb.py
5921         suffix.
5923 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5925         * math/auto-libm-test-in: Add more tests of csin and csinh.
5926         * math/auto-libm-test-out: Regenerated.
5927         * math/libm-test.inc (csin_test_data): Remove tests moved to
5928         auto-libm-test-in.
5929         (csinh_test_data): Likewise.
5931         [BZ #18593]
5932         * math/s_csin.c (__csin): Negate before rather than after possibly
5933         overflowing multiplication.
5934         * math/s_csinf.c (__csinf): Likewise.
5935         * math/s_csinh.c (__csinh): Likewise.
5936         * math/s_csinhf.c (__csinhf): Likewise.
5937         * math/s_csinhl.c (__csinhl): Likewise.
5938         * math/s_csinl.c (__csinl): Likewise.
5939         * math/auto-libm-test-in: Add some tests of csin and csinh.
5940         * math/auto-libm-test-out: Regenerated.
5941         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
5942         (csinh_test_data): Likewise.
5943         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5945         [BZ #18586]
5946         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5947         underflow exception for small results.
5949 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
5951         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5952         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5953         variable and included header.
5954         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5955         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5956         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5957         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5958         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5959         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5960         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5961         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5962         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5963         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5964         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5965         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5966         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5967         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5968         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5969         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5971 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5973         [BZ #16526]
5974         [BZ #16538]
5975         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5976         (__sin): Force underflow exception for arguments with small
5977         absolute value.
5978         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5979         (__kernel_sinf): Force underflow exception for arguments with
5980         small absolute value.
5981         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5982         (__kernel_sincosl): Force underflow exception for arguments with
5983         small absolute value.
5984         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5985         (__kernel_sinl): Force underflow exception for arguments with
5986         small absolute value.
5987         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5988         (__kernel_sincosl): Force underflow exception for arguments with
5989         small absolute value.
5990         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5991         (__kernel_sinl): Force underflow exception for arguments with
5992         small absolute value.
5993         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5994         (__kernel_sinl): Force underflow exception for arguments with
5995         small absolute value.
5996         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5997         (__kernel_sinf): Force underflow exception for arguments with
5998         small absolute value.
5999         * math/auto-libm-test-in: Add more tests of sin and sincos.
6000         * math/auto-libm-test-out: Regenerated.
6002         [BZ #18245]
6003         [BZ #18583]
6004         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
6005         (__kernel_standard_l): Use feholdexcept and fesetenv around
6006         conversion to double instead of special-casing overflow and
6007         underflow.
6008         * math/libm-test.inc (fmod_test_data): Add more tests.
6009         (remainder_test_data): Likewise.
6010         (sqrt_test_data): Likewise.
6012 2015-06-23  Torvald Riegel  <triegel@redhat.com>
6014         [BZ #17403]
6015         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
6016         atomic_read_barrier, atomic_write_barrier): Define.
6017         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
6018         atomic_read_barrier, atomic_write_barrier): Define.
6020 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
6022         * math/Makefile [$(PERL) != no]
6023         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
6024         dependency on libm-test.stmp below the inclusion of Rules.
6026 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
6028         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
6029         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
6030         and included header.
6031         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
6032         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
6033         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
6034         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
6035         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
6036         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
6037         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6038         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6039         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
6040         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
6041         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
6042         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
6043         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
6044         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
6045         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
6046         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
6047         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
6048         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
6049         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
6051 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
6053         [BZ #18371]
6054         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
6055         intermediate but not final result might underflow.
6056         * math/s_csqrtf.c (__csqrtf): Likewise.
6057         * math/s_csqrtl.c (__csqrtl): Likewise.
6058         * math/auto-libm-test-in: Add more tests of csqrt.
6059         * math/auto-libm-test-out: Regenerated.
6060         * sysdeps/i386/fpu/libm-test-ulps: Update.
6062         [BZ #18219]
6063         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
6064         threshold on absolute value of exponent for which scaling is used.
6065         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6066         * math/auto-libm-test-in: Add more tests of exp2.
6067         * math/auto-libm-test-out: Regenerated.
6069 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
6071         [BZ #17977]
6072         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
6073         when initializing interface list, based on the bug analysis
6074         and the patch proposed by Eric Newton.
6075         * resolv/tst-res_hconf_reorder.c: New test.
6076         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
6077         tst-res_hconf_reorder.
6078         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
6079         and $(shared-thread-library).
6080         (tst-res_hconf_reorder-ENV): New variable.
6082         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
6083         in comment.
6085 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
6087         [BZ #16353]
6088         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
6089         (__expm1): Force underflow exception for arguments with small
6090         absolute value.
6091         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
6092         (__expm1f): Force underflow exception for arguments with small
6093         absolute value.
6094         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
6095         (__expm1): Force underflow exception for arguments with small
6096         absolute value.
6097         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
6098         (__expm1f): Force underflow exception for arguments with small
6099         absolute value.
6100         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6101         Check for small arguments before calling __expm1.
6102         * math/auto-libm-test-in: Do not mark underflow exceptions as
6103         possibly missing for bug 16353.
6104         * math/auto-libm-test-out: Regenerated.
6106 2015-06-22  Andreas Schwab  <schwab@suse.de>
6108         [BZ #18513]
6109         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
6110         PTR queries.
6112 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
6114         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
6116         * string/strcoll_l.c: Remove unused struct element idxnow.
6118 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
6120         [BZ #18569]
6121         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
6122         underflow and return argument in case of subnormal argument.
6123         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6124         Likewise.
6125         * math/auto-libm-test-in: Add more tests of expm1.
6126         * math/auto-libm-test-out: Regenerated.
6128         [BZ #16361]
6129         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
6130         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
6131         tiny results.
6132         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
6133         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
6134         tiny results.
6135         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
6136         mark underflow exceptions as possibly missing for bug 16361.
6137         * math/auto-libm-test-out: Regenerated.
6139 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
6141         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
6142         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
6143         Remove variable.
6144         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6145         (test-xfail-XOPEN2K8/utmpx.h/conform).
6147         * conform/conformtest.pl ($xerrors): New variable.
6148         (note_error): New function.
6149         (compiletest): New argument $xfail.  Use not_error.
6150         (runtest): Likewise.
6151         (top level): Handle xfail- lines.  Update calls to compiletest and
6152         runtest.  Handle xfail- and optional- in headers listed with
6153         allow-header.
6154         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
6155         (O_EXEC): Likewise.
6156         (O_SEARCH): Likewise.
6157         * conform/data/stropts.h-data (ioctl): Likewise.
6158         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
6159         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
6160         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
6161         (msghdr.msg_controllen): Likewise.
6162         (cmsghdr.cmsg_len): Likewise.
6163         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
6164         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
6165         variable.
6166         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6167         (test-xfail-XPG4/stropts.h/conform): Likewise.
6168         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6169         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6170         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6171         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6172         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6173         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6174         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6175         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6176         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6177         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6178         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6179         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6180         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6181         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6182         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6183         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6184         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6185         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6186         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6188 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6190         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
6191         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
6192         definitions for proper unfolding of __MATHDECL_VEC.
6194 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6196         * benchtests/bench-strcoll.c:
6197         Include string.h.
6198         (main): Remove unused variable res.
6200 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6202         * timezone/Makefile (%/UTC %/Universal):
6203         Generate test-result files for UTC and Universal.
6205 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6207         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6209 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
6211         [BZ #16350]
6212         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
6213         for arguments with small absolute value.
6214         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
6215         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
6216         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
6217         (__asinh): Force underflow exception for arguments with small
6218         absolute value.
6219         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
6220         (__asinhf): Force underflow exception for arguments with small
6221         absolute value.
6222         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
6223         (__asinhl): Force underflow exception for arguments with small
6224         absolute value.
6225         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
6226         (__asinhl): Force underflow exception for arguments with small
6227         absolute value.
6228         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
6229         (__asinhl): Force underflow exception for arguments with small
6230         absolute value.
6231         * math/auto-libm-test-in: Do not mark underflow exceptions as
6232         possibly missing for bug 16350.
6233         * math/auto-libm-test-out: Regenerated.
6235         * include/bits/ipc.h: Remove file.
6236         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
6237         variable.
6238         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6239         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6240         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6241         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6242         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6243         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6244         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6245         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6246         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6248         * math/auto-libm-test-in: Remove spurious underflow allowance for
6249         tests of cexp.
6250         * math/auto-libm-test-out: Regenerated.
6252         [BZ #18558]
6253         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
6254         unconditional definition.
6255         (MCAST_BLOCK_SOURCE): Likewise.
6256         (MCAST_UNBLOCK_SOURCE): Likewise.
6257         (MCAST_LEAVE_GROUP): Likewise.
6258         (MCAST_JOIN_SOURCE_GROUP): Likewise.
6259         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6260         (MCAST_MSFILTER): Likewise.
6261         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
6262         Remove variable.
6263         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6264         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6265         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6266         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6267         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6269 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
6271         * NEWS: Mention addition of x86_64 vector sincosf.
6272         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
6273         * math/test-float-vlen4.h: Likewise.
6274         * math/test-float-vlen8.h: Likewise.
6275         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6276         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
6277         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6278         * sysdeps/x86_64/fpu/Versions: New versions added.
6279         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6280         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6281         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6282         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
6283         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6284         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
6285         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6286         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
6287         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6288         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
6289         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
6290         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
6291         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
6292         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
6293         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
6294         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
6295         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
6296         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6297         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6298         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6299         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6300         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6301         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6302         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6304         * NEWS: Mention addition of x86_64 vector sincos.
6305         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
6306         * math/math.h (__MATHDECL_VEC): New macro.
6307         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
6308         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
6309         declaration under condition.
6310         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
6311         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
6312         TEST_VEC_LOOP change.
6313         * math/test-double-vlen4.h: Likewise.
6314         * math/test-double-vlen8.h: Likewise.
6315         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
6316         * math/test-float-vlen4.h: Likewise.
6317         * math/test-float-vlen8.h: Likewise.
6318         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6319         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
6320         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6321         * sysdeps/x86_64/fpu/Versions: New versions added.
6322         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6323         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6324         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6325         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
6326         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
6327         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
6328         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
6329         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
6330         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
6331         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
6332         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
6333         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
6334         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
6335         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
6336         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
6337         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
6338         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
6339         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6340         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6341         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6342         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6343         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6344         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6345         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6347         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6348         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6349         redirections for powf.
6350         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6351         * sysdeps/x86_64/fpu/Versions: New versions added.
6352         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6353         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6354         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6355         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
6356         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
6357         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
6358         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
6359         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
6360         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
6361         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
6362         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
6363         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
6364         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
6365         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
6366         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
6367         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
6368         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
6369         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6370         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6371         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6372         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6373         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6374         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6375         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6376         * math/test-float-vlen16.h: Fixed 2 argument macro.
6377         * math/test-float-vlen4.h: Likewise.
6378         * math/test-float-vlen8.h: Likewise.
6379         * NEWS: Mention addition of x86_64 vector powf.
6381 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
6383         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6384         and redefine.
6385         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6386         and redefine.
6387         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
6388         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6389         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6391         [BZ #18553]
6392         * resource/getpriority.c (getpriority): Rename to __getpriority
6393         and define as weak alias of __getpriority.
6394         * resource/setpriority.c (setpriority): Rename to __setpriority
6395         and define as weak alias of __setpriority.
6396         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
6397         __getpriority and define as weak alias of __getpriority.
6398         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
6399         __setpriority and define as weak alias of __setpriority.
6400         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
6401         strong name.
6402         (setpriority): Use __setpriority as strong name.
6403         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
6404         __getpriority and define as weak alias of __getpriority.
6405         * include/sys/resource.h (__getpriority): Declare.  Use
6406         libc_hidden_proto.
6407         (__setpriority): Likewise.
6408         (getpriority): Don't use libc_hidden_proto.
6409         (setpriority): Likewise.
6410         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
6411         getpriority.  Call __setpriority instead of setpriority.
6412         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
6413         Remove variable.
6415         [BZ #18547]
6416         * misc/getttyent.c (getttynam): Rename to __getttynam and define
6417         as weak alias of __getttynam.  Use prototype function definition.
6418         Call __setttyent, __getttyent and __endttyent instead of
6419         setttyent, getttyent and endttyent.
6420         (getttyent): Rename to __getttyent and define as weak alias of
6421         __getttyent.  Call __setttyent instead of setttyent.  Call
6422         __fgets_unlocked instead of fgets_unlocked.
6423         (setttyent): Rename to __setttyent and define as weak alias of
6424         __setttyent.
6425         (endttyent): Rename to __endttyent and define as weak alias of
6426         __endttyent.
6427         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
6428         (__setttyent): Likewise.
6429         (__endttyent): Likewise.
6430         (getttyent): Don't use libc_hidden_proto.
6431         (setttyent): Likewise.
6432         (endttyent): Likewise.
6433         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
6434         __endttyent instead of setttyent, getttyent and endttyent.
6435         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
6436         Remove variable.
6438         [BZ #18546]
6439         * socket/recv.c (__recv): Use libc_hidden_def.
6440         * socket/socket.c (__socket): Likewise.
6441         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6442         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
6443         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
6444         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
6445         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
6446         libc_hidden_def.
6447         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
6448         libc_hidden_weak.
6449         * include/sys/socket.h (__socket): Do not use attribute_hidden.
6450         Use libc_hidden_proto.
6451         (__recv): Likewise.
6452         * socket/Versions (libc): Export __recv and __socket at version
6453         GLIBC_PRIVATE.
6454         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
6455         instead of recv.
6456         (init_mq_netlink): Call __socket instead of socket.
6457         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
6458         Remove variable.
6460         [BZ #18545]
6461         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
6462         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
6463         hidden_weak.
6464         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
6465         define as alias of __mq_timedsend.  Use hidden_weak.
6466         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
6467         __mq_timedsend as strong name.
6468         (mq_timedreceive): Use __mq_timedreceive as strong name.
6469         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
6470         (__mq_timedreceive): Likewise.
6471         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
6472         __mq_timedreceive instead of mq_timedreceive.
6473         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
6474         instead of mq_timedsend.
6475         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
6476         Remove variable.
6478         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
6479         hidden_def and hidden_weak instead of libc_hidden_def and
6480         libc_hidden_weak.
6481         (top level): Refer to hidden_def in comment.
6482         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
6483         macro.  Use it instead of libc_hidden_def.
6484         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
6485         specify __GI_* name explicitly.
6486         (mq_timedreceive): Likewise.
6487         (mq_setattr): Likewise.
6489         [BZ #18544]
6490         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
6491         __pthread_barrier_init and define as weak alias of
6492         __pthread_barrier_init.
6493         * sysdeps/sparc/nptl/pthread_barrier_init.c
6494         (pthread_barrier_init): Likewise.
6495         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
6496         __pthread_barrier_wait and define as weak alias of
6497         __pthread_barrier_wait.
6498         * sysdeps/sparc/nptl/pthread_barrier_wait.c
6499         (pthread_barrier_wait): Likewise.
6500         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6501         (pthread_barrier_wait): Likewise.
6502         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
6503         (pthread_barrier_wait): Likewise.
6504         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
6505         (pthread_barrier_wait): Likewise.
6506         * nptl/Versions (libpthread): Export __pthread_barrier_init and
6507         __pthread_barrier_wait at version GLIBC_PRIVATE.
6508         * include/pthread.h (__pthread_barrier_init): Declare.
6509         (__pthread_barrier_wait): Likewise.
6510         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
6511         Call __pthread_barrier_wait instead of pthread_barrier_wait.
6512         (helper_thread): Likewise.
6513         (init_mq_netlink): Call __pthread_barrier_init instead of
6514         pthread_barrier_init.
6516         [BZ #18542]
6517         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
6518         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
6519         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
6520         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
6521         vswscanf.
6522         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
6523         Remove variable.
6525         [BZ #18540]
6526         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
6527         strong alias of _IO_fflush.  Use libc_hidden_def.
6528         * libio/iofflush_u.c (fflush_unlocked): Rename to
6529         __fflush_unlocked and define as weak alias of __fflush_unlocked.
6530         Use libc_hidden_weak.
6531         * include/stdio.h (__fflush_unlocked): Declare.  Use
6532         libc_hidden_proto.
6533         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
6534         fflush_unlocked.
6535         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
6536         Remove variable.
6538         [BZ #18539]
6539         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
6540         define as weak alias of __addseverity.
6541         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
6542         Remove variable.
6543         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6544         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6545         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6547         [BZ #18536]
6548         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
6549         (__tfind): Likewise.
6550         (__tdelete): Likewise.
6551         (__twalk): Likewise.
6552         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
6553         __twalk to GLIBC_PRIVATE.
6554         * include/search.h (__tsearch): Use libc_hidden_proto.
6555         (__tfind): Likewise.
6556         (__tdelete): Likewise.
6557         (__twalk): Likewise.
6558         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
6559         Call __tdelete instead of tdelete.
6560         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
6561         tfind.  Call __tsearch instead of tsearch.
6562         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
6563         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
6564         Remove variable.
6565         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6567         [BZ #18534]
6568         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
6569         (dprintf): Define as a weak alias of __dprintf, not a strong
6570         alias.
6571         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
6572         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
6573         dprintf.
6574         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
6575         Remove variable.
6576         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6577         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6579         [BZ #18533]
6580         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
6581         not a strong alias.
6582         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
6583         Remove variable.
6585         [BZ #18532]
6586         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
6587         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
6588         (in6addr_loopback): Rename to __in6addr_loopback and define as
6589         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
6590         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
6591         libc_hidden_proto.
6592         (__in6addr_any): Likewise.
6593         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
6594         in6addr_any.
6595         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
6596         variable.
6597         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6599 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6601         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
6602         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
6603         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6604         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6605         redirections for pow.
6606         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6607         * sysdeps/x86_64/fpu/Versions: New versions added.
6608         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6609         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6610         build of SSE, AVX2 and AVX512 IFUNC versions.
6611         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
6612         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
6613         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
6614         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
6615         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
6616         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
6617         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
6618         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
6619         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
6620         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
6621         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
6622         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
6623         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
6624         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
6625         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6626         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6627         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6628         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6629         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6630         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6631         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6632         * NEWS: Mention addition of x86_64 vector pow.
6634         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6635         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6636         redirections for expf.
6637         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6638         * sysdeps/x86_64/fpu/Versions: New versions added.
6639         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6640         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6641         build of SSE, AVX2 and AVX512 IFUNC versions.
6642         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
6643         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
6644         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
6645         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
6646         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
6647         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
6648         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
6649         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
6650         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
6651         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
6652         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
6653         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
6654         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
6655         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6656         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6657         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6658         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6659         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6660         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6661         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6662         * NEWS: Mention addition of x86_64 vector expf.
6664         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
6665         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
6666         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6667         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6668         redirections for exp.
6669         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6670         * sysdeps/x86_64/fpu/Versions: New versions added.
6671         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6672         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6673         build of SSE, AVX2 and AVX512 IFUNC versions.
6674         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
6675         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
6676         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
6677         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
6678         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
6679         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
6680         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
6681         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
6682         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
6683         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
6684         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
6685         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
6686         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
6687         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6688         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6689         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6690         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6691         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6692         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6693         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6694         * NEWS: Mention addition of x86_64 vector exp.
6696         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6697         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6698         redirections for logf.
6699         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6700         * sysdeps/x86_64/fpu/Versions: New versions added.
6701         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6702         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6703         build of SSE, AVX2 and AVX512 IFUNC versions.
6704         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
6705         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
6706         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
6707         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
6708         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
6709         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
6710         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
6711         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
6712         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
6713         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
6714         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
6715         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
6716         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
6717         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6718         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6719         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6720         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6721         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6722         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6723         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6724         * NEWS: Mention addition of x86_64 vector logf.
6726         * bits/libm-simd-decl-stubs.h: Added stubs for log.
6727         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
6728         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6729         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6730         redirections for log.
6731         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6732         * sysdeps/x86_64/fpu/Versions: New versions added.
6733         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6734         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6735         build of SSE, AVX2 and AVX512 IFUNC versions.
6736         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
6737         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
6738         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
6739         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
6740         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
6741         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
6742         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
6743         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
6744         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
6745         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
6746         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
6747         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
6748         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
6749         test.
6750         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6751         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6752         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6753         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6754         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6755         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6756         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6757         * NEWS: Mention addition of x86_64 vector log.
6759 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6761         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
6762         cfi_adjust_cfa_offset argument.
6763         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
6764         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
6766         [BZ #18034]
6767         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
6768         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
6769         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
6770         ordering using ldar.
6771         (_dl_tlsdesc_dynamic): Likewise.
6772         (_dl_tlsdesc_return_lazy): Likewise.
6773         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
6774         relaxed atomics instead of volatile and synchronize with release store.
6775         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
6776         volatile.
6777         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6779 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
6781         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6782         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
6783         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6784         * sysdeps/x86_64/fpu/Versions: New versions added.
6785         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6786         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6787         build of SSE, AVX2 and AVX512 IFUNC versions.
6788         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
6789         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
6790         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
6791         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
6792         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
6793         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
6794         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
6795         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
6796         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
6797         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
6798         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
6799         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
6800         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
6801         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6802         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6803         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6804         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6805         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6806         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6807         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6808         * NEWS: Mention addition of x86_64 vector sinf.
6810 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
6812         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
6813         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
6814         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
6815         Remove variable.
6816         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6817         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6819 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6821         [BZ #18530]
6822         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
6823         strong alias of _IO_fputs.  Use libc_hidden_def.
6824         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
6825         and define as weak alias of __fputs_unlocked.  Use
6826         libc_hidden_weak.
6827         * include/stdio.h (__fputs_unlocked): Declare.  Use
6828         libc_hidden_proto.
6829         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
6830         fputs_unlocked.
6832         [BZ #18529]
6833         * resolv/netdb.h [__USE_POSIX]: Change condition to
6834         [__USE_XOPEN2K].
6835         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
6836         not expect.
6837         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
6838         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
6839         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
6840         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
6841         [XPG4 || UNIX98] (AI_ALL): Likewise.
6842         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
6843         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
6844         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
6845         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
6846         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
6847         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
6848         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
6849         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
6850         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
6851         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
6852         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
6853         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
6854         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
6855         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
6856         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
6857         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6858         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6859         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
6860         [XPG4 || UNIX98] (gai_strerror): Likewise.
6861         [XPG4 || UNIX98] (getaddrinfo): Likewise.
6862         [XPG4 || UNIX98] (getnameinfo): Likewise.
6864         [BZ #18528]
6865         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
6866         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6867         __USE_XOPEN2K8].
6868         (getgrent): Likewise.
6869         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
6870         expect.
6871         [XPG3 || POSIX2008] (endgrent): Likewise.
6872         [XPG3] (setgrent): Likewise.
6873         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
6874         variable.
6875         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6877         [BZ #18527]
6878         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
6879         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
6880         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
6881         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
6882         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
6883         * include/unistd.h (__getlogin_r): Declare.  Use
6884         libc_hidden_proto.
6885         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
6886         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
6887         variable.
6888         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6889         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6890         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6892 2015-06-12  Martin Sebor  <msebor@redhat.com>
6894         [BZ #18512]
6895         * Makerules (check-install-supported): New target.
6896         (install): Add check-install-supported as a dependency.
6897         * manual/install.texi (Installing the C Library): Document
6898         that overriding prefix and exec_prefix is not supported.
6899         Mention DESTDIR.
6900         * INSTALL: Regenerate from the above.
6902 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6904         [BZ #18519]
6905         * posix/Versions (libc): Export __libc_pread at version
6906         GLIBC_PRIVATE.
6907         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
6908         instead of pread.
6909         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
6910         variable.
6912         [BZ #18522]
6913         * misc/efgcvt_r.c
6914         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6915         (cvt_symbol): Use weak_alias instead of strong_alias.
6916         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
6917         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
6918         Remove variable.
6919         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6920         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6922         [BZ #18520]
6923         * inet/herrno.c (h_errno): Rename to __h_errno.
6924         (__libc_h_errno): Define as alias of __h_errno not h_errno.
6925         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
6926         to __h_errno instead of h_errno.
6927         * nptl/herrno.c (h_errno): Rename to __h_errno.
6928         (__h_errno_location): Refer to __h_errno not h_errno.
6929         * resolv/Versions (h_errno): Rename to __h_errno.
6930         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
6931         Remove variable.
6932         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6934 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
6936         * configure.ac: More strict check for AVX512 assembler support.
6937         * configure: Regenerated.
6939         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
6940         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
6941         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6942         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
6943         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6944         * sysdeps/x86_64/fpu/Versions: New versions added.
6945         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6946         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6947         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6948         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6949         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6950         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6951         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6952         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6953         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6954         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6955         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6956         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6957         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6958         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6959         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6960         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6961         test.
6962         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6963         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6964         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6965         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6966         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6967         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6968         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6969         * NEWS: Mention addition of x86_64 vector sin.
6971 2015-06-11  Florian Weimer  <fweimer@redhat.com>
6973         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6974         comment.
6976 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6978         [BZ #18479]
6979         * nptl/pt-interp.c: New file.
6980         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6981         Add pt-interp.
6982         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6983         $(common-objpfx)runtime-linker.h.
6985 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
6987         * Makeconfig (+interp): Remove unused variable.
6988         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6989         only.  Depend on $(common-objpfx)runtime-linker.h instead of
6990         $(elf-objpfx)runtime-linker.h.
6991         ($(elf-objpfx)runtime-linker.h): Rename to
6992         $(common-objpfx)runtime-linker.h and move ...
6993         * Makerules [$(build-shared) = yes]: ... here.
6994         * elf/interp.c: Include <runtime-linker.h> instead of
6995         <elf/runtime-linker.h>.
6997 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6999         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
7000         (__gettimeofday_syscall): Remove vsyscall fallback.
7001         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
7002         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
7003         Add syscall fallback function.
7004         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
7005         if vDSO is not present.
7006         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
7007         fallback function.
7008         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
7009         present.
7010         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
7011         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7013 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
7015         [BZ #18497]
7016         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
7017         of wcscmp.
7018         (wcscmp): Define as weak alias of WCSCMP.
7019         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
7020         wcscoll.
7021         (USE_HIDDEN_DEF): Define.
7022         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
7023         __wcscoll.  Don't use libc_hidden_weak.
7024         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
7025         wcscmp.
7026         * sysdeps/i386/i686/multiarch/wcscmp-c.c
7027         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
7028         __GI_wcscmp.
7029         (weak_alias): Undefine and redefine.
7030         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
7031         __wcscmp and define as weak alias of __wcscmp.
7032         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
7033         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
7034         (__wcscoll): Likewise.
7035         (wcscmp): Don't use libc_hidden_proto.
7036         (wcscoll): Likewise.
7037         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
7038         wcscoll.
7039         * posix/regexec.c (check_node_accept_bytes): Likewise.
7040         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
7041         variable.
7042         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7043         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7045         [BZ #18507]
7046         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
7047         __fstatvfs and define as weak alias of __fstatvfs.  Use
7048         libc_hidden_weak.
7049         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
7050         and define as weak alias of __statvfs.  Use libc_hidden_weak.
7051         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
7052         Define as alias of __fstatvfs, not fstatvfs.
7053         (fstatvfs64): Likewise.
7054         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
7055         Define as alias of __statvfs, not statvfs.
7056         (statvfs64): Likewise.
7057         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
7058         Remove variable.
7060 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7063         (HAVE_GETCPU_VSYSCALL): Define.
7064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7065         (HAVE_GETCPU_VSYSCALL): Likewise.
7066         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
7067         * sysdeps/unix/sysv/linux/sched_getcpu.c
7068         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
7069         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
7070         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
7071         prototype.
7072         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7073         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
7074         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
7075         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
7076         Define.
7077         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
7078         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7079         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
7080         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7082 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
7084         * sysdeps/x86_64/fpu/Makefile: New file.
7085         * sysdeps/x86_64/fpu/Versions: New file.
7086         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
7087         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
7088         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
7089         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
7090         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
7091         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
7092         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
7093         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
7094         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
7095         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
7096         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
7097         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
7098         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
7099         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7100         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7101         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
7102         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
7103         * sysdeps/x86_64/configure.ac: Options for libmvec build.
7104         * sysdeps/x86_64/configure: Regenerated.
7105         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
7106         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
7107         * manual/install.texi (Configuring and compiling): Document
7108         --disable-mathvec.
7109         * INSTALL: Regenerated.
7110         * NEWS: Mention addition of libmvec and x86_64 vector cos.
7112         * math/Makefile: Added rules for vector tests.
7113         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
7114         declaration under condition.
7115         * math/test-double-vlen2.h: New file.
7116         * math/test-double-vlen4.h: New file.
7117         * math/test-double-vlen8.h: New file.
7118         * math/test-vec-loop.h: Added initialization macro.
7119         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
7120         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
7121         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
7122         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
7123         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
7124         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
7125         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
7126         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
7127         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
7128         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
7129         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
7131         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7132         * sysdeps/x86_64/fpu/Versions: New versions added.
7133         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
7134         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
7135         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
7136         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
7137         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
7138         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
7139         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
7140         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
7141         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
7142         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
7143         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
7144         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
7145         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
7146         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7147         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7148         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
7149         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
7150         * NEWS: Mention addition of x86_64 vector cosf.
7152         * math/Makefile: Added CFLAGS for new tests.
7153         * math/test-float-vlen16.h: New file.
7154         * math/test-float-vlen4.h: New file.
7155         * math/test-float-vlen8.h: New file.
7156         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
7157         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
7158         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7159         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
7160         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
7161         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
7162         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
7163         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
7164         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
7165         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
7166         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
7168 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
7170         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
7171         * locale/programs/ld-ctype.c: Likewise.
7173 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7175         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
7176         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
7177         bit_ZMM16_31_state): New macro.
7178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7179         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
7181 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
7183         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
7185 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
7187         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
7189 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
7191         [BZ #18498]
7192         * libio/memstream.c (open_memstream): Rename to __open_memstream
7193         and define as weak alias of __open_memstream.
7194         * include/stdio.h (__open_memstream): Declare.  Use
7195         libc_hidden_proto.
7196         (open_memstream): Don't use libc_hidden_proto.
7197         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
7198         open_memstream.
7199         * posix/getopt.c (_getopt_internal_r): Likewise.
7200         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
7201         variable.
7202         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7203         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7204         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7206         [BZ #18496]
7207         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
7208         instead of wcrtomb.
7210         [BZ #18483]
7211         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
7212         [__USE_XOPEN2K8].  Remove redundant #endif.
7213         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
7214         Remove redundant #if.
7215         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
7216         Remove variable.
7217         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7218         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7220         [BZ #18495]
7221         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
7222         (__iswlower): Likewise.
7223         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
7224         (__iswlower): Likewise.
7225         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
7226         instead of towlower.
7227         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
7228         instead of iswlower.  Call __towupper instead of towupper.
7229         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
7230         instead of iswalnum.
7232 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7234         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
7235         errors to stderr.
7237 2015-06-05  Florian Weimer  <fweimer@redhat.com>
7239         [BZ #15661]
7240         [BZ #17322]
7241         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7242         Check for overflow properly.  Check for O_APPEND.  Ignore large
7243         file system block sizes.  Add comments about problems.
7244         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
7245         * manual/filesys.texi (Storage Allocation): New node.
7247 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7249         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
7250         cancellable syscalls.
7251         (SYS_ify): Add guard to no redefine it.
7252         (INLINE_SYSCALL): Likewise.
7253         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
7254         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
7255         SYSCALL_CANCEL instead.
7256         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
7257         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7258         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7259         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7260         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7261         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
7262         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
7263         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
7264         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7265         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7266         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
7267         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
7268         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
7269         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
7270         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
7271         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7272         Likewise.
7273         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7274         (__libc_pread64): Likewise.
7275         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
7276         (__libc_preadv): Likewise.
7277         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
7278         (__libc_readv64): Likewise.
7279         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7280         (__libc_pwrite): Likewise.
7281         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7282         (__libc_pwrite64): Likewise.
7283         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
7284         (__libc_pwritev): Likewise.
7285         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
7286         (__libc_pwritev64): Likewise.
7287         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
7288         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7289         (sync_file_range): Likewise.
7290         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
7291         Likewise.
7292         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
7293         Likewise.
7294         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7295         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7296         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7297         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7298         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7299         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7300         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7301         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
7302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7303         Likewise.
7304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7305         (__libc_read64): Likewise.
7306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
7307         Likewise.
7308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
7309         Likewise.
7310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
7311         Likewise.
7312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
7313         Likewise.
7314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7315         (__libc_pread64): Likewise.
7316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
7317         Likewise.
7318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7319         (__libc_pwrite64): Likewise.
7320         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
7321         (sync_file_range): Likewise.
7322         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
7323         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7324         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7325         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
7326         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
7327         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7328         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7329         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
7330         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
7331         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7332         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7333         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7334         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7335         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7336         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
7337         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7338         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7339         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7340         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7341         Likewise.
7342         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
7343         Likewise.
7344         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
7345         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
7346         Likewise.
7347         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
7348         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
7349         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
7350         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
7351         Likewise.
7352         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
7353         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
7354         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
7355         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
7356         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
7358 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
7360         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
7361         Include dl-vdso.
7362         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
7363         Use VDSO routines for gettimeofday, clock_gettime if
7364         available.
7365         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
7366         Declare VDSO symbols.
7367         * sysdeps/unix/sysv/linux/arm/sysdep.h:
7368         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
7369         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7370         * sysdeps/unix/sysv/linux/arm/Versions: Add
7371         __vdso_clock_gettime.
7373 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7375         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
7376         be an inline implementation regardless of library is built within.
7377         (open_not_cancel_2): Likewise.
7378         (__read_nocancel): Likewise.
7379         (__write_nocancel): Likewise.
7380         (openat_not_cancel): Likewise.
7381         (openat_not_cancel_3): Likewise.
7382         (openat64_not_cancel): Likewise.
7383         (openat64_not_cancel_3): Likewise.
7384         (__close_nocancel): Likewise.
7385         (pause_not_cancel): Likewise.
7386         (nanosleep_not_cancel): Likewise.
7387         (sigsuspend_not_cancel): Likewise.
7389 2015-06-04  Torvald Riegel  <triegel@redhat.com>
7391         [BZ #14958]
7392         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
7393         wake-up.
7394         (__pthread_rwlock_rdlock_slow): Likewise.
7395         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7396         Likewise.
7397         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7398         Likewise.
7399         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
7400         * nptl/tst-rwlock16.c: New file.
7401         * nptl/Makefile (tests): Add new test.
7403 2015-06-04  Torvald Riegel  <triegel@redhat.com>
7405         [BZ #18324]
7406         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
7407         missing wake-up of readers.
7408         * nptl/tst-rwlock15.c: New file.
7409         * nptl/Makefile (tests): Add new test.
7411 2015-06-03  Roland McGrath  <roland@hack.frob.com>
7413         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
7414         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
7415         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
7416         and __nacl_supply_interface_rtld.
7417         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
7418         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
7419         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
7420         Add __nacl_supply_interface_rtld.
7421         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
7423 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
7425         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
7426         isfinite.
7427         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7428         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
7430 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
7432         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
7433         __signbit* with standard C99 macros.
7434         * math/e_exp10l.c: Likewise.
7435         * math/e_exp2l.c: Likewise.
7436         * math/e_scalb.c: Likewise.
7437         * math/e_scalbf.c: Likewise.
7438         * math/e_scalbl.c: Likewise.
7439         * math/s_ldexp.c: Likewise.
7440         * math/s_ldexpf.c: Likewise.
7441         * math/s_ldexpl.c: Likewise.
7442         * math/w_atan2.c: Likewise.
7443         * math/w_atan2f.c: Likewise.
7444         * math/w_atan2l.c: Likewise.
7445         * math/w_cosh.c: Likewise.
7446         * math/w_coshf.c: Likewise.
7447         * math/w_coshl.c: Likewise.
7448         * math/w_exp10.c: Likewise.
7449         * math/w_exp10f.c: Likewise.
7450         * math/w_exp10l.c: Likewise.
7451         * math/w_exp2.c: Likewise.
7452         * math/w_exp2f.c: Likewise.
7453         * math/w_exp2l.c: Likewise.
7454         * math/w_fmod.c: Likewise.
7455         * math/w_fmodf.c: Likewise.
7456         * math/w_fmodl.c: Likewise.
7457         * math/w_hypot.c: Likewise.
7458         * math/w_hypotf.c: Likewise.
7459         * math/w_hypotl.c: Likewise.
7460         * math/w_jnl.c: Likewise.
7461         * math/w_lgamma.c: Likewise.
7462         * math/w_lgamma_r.c: Likewise.
7463         * math/w_lgammaf.c: Likewise.
7464         * math/w_lgammaf_r.c: Likewise.
7465         * math/w_lgammal.c: Likewise.
7466         * math/w_lgammal_r.c: Likewise.
7467         * math/w_pow.c: Likewise.
7468         * math/w_powf.c: Likewise.
7469         * math/w_powl.c: Likewise.
7470         * math/w_remainder.c: Likewise.
7471         * math/w_remainderf.c: Likewise.
7472         * math/w_remainderl.c: Likewise.
7473         * math/w_scalb.c: Likewise.
7474         * math/w_scalbf.c: Likewise.
7475         * math/w_scalbl.c: Likewise.
7476         * math/w_scalbln.c: Likewise.
7477         * math/w_scalblnf.c: Likewise.
7478         * math/w_scalblnl.c: Likewise.
7479         * math/w_sinh.c: Likewise.
7480         * math/w_sinhf.c: Likewise.
7481         * math/w_sinhl.c: Likewise.
7482         * math/w_tgamma.c: Likewise.
7483         * math/w_tgammaf.c: Likewise.
7484         * math/w_tgammal.c: Likewise.
7485         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7486         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
7487         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7488         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7489         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7490         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7491         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7492         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7493         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7494         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7495         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7496         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7497         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7498         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7499         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7500         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7501         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7502         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7503         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7504         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7505         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7506         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7507         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7508         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7509         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7510         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7511         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7512         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7513         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7514         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7515         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
7516         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
7517         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
7518         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
7519         * stdio-common/printf_fp.c: Likewise.
7520         * stdio-common/printf_fphex.c: Likewise.
7521         * stdio-common/printf_size.c: Likewise.
7523 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
7525         [BZ #18470]
7526         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
7527         strnlen.
7528         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
7529         Remove variable.
7530         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7531         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7532         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7533         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7534         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7535         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7536         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7537         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7538         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7539         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7541         [BZ #18468]
7542         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
7543         weak alias of __wmemchr.  Use libc_hidden_weak.
7544         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
7545         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
7546         instead of wmemchr.
7548 2015-06-02  Roland McGrath  <roland@hack.frob.com>
7550         [BZ #18383]
7551         * elf/tst-tlsalign-extern.c: New file.
7552         * elf/tst-tlsalign-extern-static.c: New file.
7553         * elf/tst-tlsalign-vars.c: New file.
7554         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
7555         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
7556         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
7557         ($(objpfx)tst-tlsalign-extern-static): Likewise.
7558         (test-xfail-tst-tlsalign-extern-static): New variable.
7560 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
7562         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
7563         Use variable name _sc_err instead of err.
7564         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
7565         instead of ret.
7566         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
7567         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
7568         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
7569         (INLINE_SYSCALL): Likewise.
7571         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
7572         * include/string.h (__strnlen): Use libc_hidden_proto.
7573         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
7574         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
7575         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
7576         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
7577         (libc_hidden_def): Undefine and redefine.
7578         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
7579         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
7580         __GI_strnlen.
7581         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
7582         libc_hidden_def.
7583         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
7585         [BZ #18469]
7586         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
7587         weak alias of __towlower.  Use libc_hidden_weak.
7588         (towupper): Rename to __towupper and define as weak alias of
7589         __towupper.  Use libc_hidden_weak.
7590         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
7591         (__towupper): Likewise.
7592         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
7593         __towlower instead of towlower.
7595 2015-06-02  Roland McGrath  <roland@hack.frob.com>
7597         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
7598         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
7600 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7602         * sysdeps/aarch64/libm-test-ulps: Update.
7604 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7606         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
7607         Define.
7608         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7609         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7610         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7611         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7612         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
7613         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
7614         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
7616 2015-06-01  Martin Sebor  <msebor@redhat.com>
7618         [BZ #18116]
7619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7620         (__setcontext): Use extended four-operand version of mtsf whenever
7621         possible.
7622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7623         (__novec_swapcontext): Likewise.
7625 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7627         * benchtests/scripts/compare_bench.py: New file.
7628         * benchtests/scripts/import_bench.py (mean): New function.
7629         (split_list): Likewise.
7630         (do_for_all_timings): Likewise.
7631         (compress_timings): Likewise.
7633         * benchtests/scripts/import_bench.py: New file.
7634         * benchtests/scripts/validate_benchout.py: Import import_bench
7635         instead of jsonschema.
7636         (validate_bench): Remove function.
7637         (main): Use import_bench.
7639 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
7641         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
7642         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
7644 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7648 2015-05-28  Roland McGrath  <roland@hack.frob.com>
7650         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
7651         set THREAD_SELF->tid to a magic value and futex-wake it.
7652         Pass its address to the thread_exit system call.
7653         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
7654         bit is clear.
7655         * sysdeps/nacl/lowlevellock.h: New file.
7656         * sysdeps/nacl/lll_timedwait_tid.c: New file.
7658         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
7659         Add TIMEOUT to current time, don't subtract it.
7661 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
7663         [BZ #2981]
7664         [BZ #18422]
7665         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
7666         ($(objpfx)tst-audit2.out): Also depend on
7667         $(objpfx)tst-auditmod9b.so.
7668         * elf/tst-audit2.c: Include <dlfcn.h>.
7669         (calloc_called): New.
7670         (calloc): Allow to be called more than once.
7671         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
7673 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
7675         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
7676         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
7678 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
7680         * stdlib/monetary.h: Fix comment.
7682 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
7684         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
7685         Avoid using variables in #defines that might cause shadowing.
7686         (INTERNAL_VSYSCALL_CALL): Likewise.
7688 2015-05-26  Roland McGrath  <roland@hack.frob.com>
7690         * sysdeps/nacl/lll_timedlock_wait.c: New file.
7692         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
7693         * nptl/lll_timedlock_wait.c: ... to this new file.
7694         * nptl/Makefile (libpthread-routines): Add it.
7695         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
7696         * nptl/lll_timedwait_tid.c: ... to this new file.
7697         * nptl/Makefile (libpthread-routines): Add it.
7698         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
7699         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
7700         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
7701         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
7702         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
7703         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
7704         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
7705         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
7706         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
7707         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
7709 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7711         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
7712         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7713         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7714         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7715         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7716         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7717         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7718         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7719         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7720         * sysdeps/unix/sysv/linux/tile/sysdep.h
7721         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7722         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
7723         using vDSO syscall macro.
7725 2015-05-26  Andriy Rysin  <arysin@gmail.com>
7727         [BZ #17293]
7728         * uk_UA: Fix sorting order for Ukrainian locale
7730 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
7732         * stdlib/monetary.h: Fix comment.
7734 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7736         [BZ #18234]
7737         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
7738         st_mtim and st_ctim members.
7739         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
7740         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
7741         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
7742         (struct stat64): Likewise.
7743         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
7744         (struct stat64): Likewise.
7745         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
7746         (struct stat64): Likewise.
7748 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7750         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
7751         Define and include sysdep-vdso.h.
7752         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
7753         Likewise.
7754         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
7755         Likewise.
7756         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
7757         Define with VDSO_SYMBOL and use PTR_MANGLE.
7758         (__vdso_clock_gettime): Likewise.
7759         (__vdso_clock_getres): Likewise.
7760         (_libc_vdso_platform_setup): Likewise.
7761         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7762         Likewise.
7763         (_libc_vdso_platform_setup): Likewise.
7764         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
7765         Likewise.
7766         (__vdso_clock_gettime): Likewise.
7767         (__vdso_clock_getres): Likewise.
7768         (__vdso_get_tbfreq): Likewise.
7769         (__vdso_getcpu): Likewise.
7770         (__vdso_time): Likewise.
7771         (__vdso_sigtramp_rt64): Likewise.
7772         (__vdso_signtramp32): Likewise.
7773         (__vdso_sigtramp_rt32): Likewise.
7774         (_libc_vdso_platform_setup): Likewise.
7775         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
7776         Likewise.
7777         (__vdso_clock_gettime): Likewise.
7778         (__vdso_clock_getres): Likewise.
7779         (_libc_vdso_platform_setup): Likewise.
7780         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
7781         Likewise.
7782         (__vdso_clock_gettime): Likewise.
7783         (_libc_vdso_platform_setup): Likewise.
7784         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7785         Likewise.
7786         (__vdso_getcpu): Likewise.
7787         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
7788         Use VDSO_SYMBOL macro to define.
7789         (__vdso_clock_gettime): Likewise.
7790         (__vdso_clock_getres): Likewise.
7791         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
7792         Likewise.
7793         (__vdso_clock_gettime): Likewise.
7794         (__vdso_clock_getres): Likewise.
7795         (__vdso_get_tbfreq): Likewise.
7796         (__vdso_getcpu): Likewise.
7797         (__vdso_time): Likewise.
7798         (__vdso_sigtramp_rt64): Likewise.
7799         (__vdso_signtramp32): Likewise.
7800         (__vdso_sigtramp_rt32): Likewise.
7801         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
7802         Likewise.
7803         (__vdso_clock_gettime): Likewise.
7804         (__vdso_clock_getres): Likewise.
7805         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
7806         Likewise.
7807         (__vdso_clock_gettime): Likewise.
7808         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7809         Likewise.
7810         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
7811         macro.
7812         (INTERNAL_VSYSCALL): Likewise.
7813         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
7814         Remove macro.
7815         (INTERNAL_VSYSCALL): Likewise.
7816         (INTERNAL_VSYSCALL_NCS): Likewise.
7817         (INTERNAL_VSYSCALL_CALL): New macro.
7818         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7819         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
7820         Likewise.
7821         (INTERNAL_VSYSCALL): Likewise.
7822         (INTERNAL_VSYSCALL_NCS): Likewise.
7823         (INTERNAL_VSYSCALL_CALL): New macro.
7824         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7826         (INLINE_VSYSCALL): Remove macro.
7827         (INTERNAL_VSYSCALL): Remove macro.
7828         (INTERNAL_VSYSCALL_NCS): Remove macro.
7829         (INTERNAL_VSYSCALL_CALL): New macro.
7830         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
7831         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
7832         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7833         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
7834         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7836         (INLINE_VSYSCALL): Remove macro.
7837         (INTERNAL_VSYSCALL): Likewise.
7838         (INTERNAL_VSYSCALL_NCS): Likewise.
7839         (INTERNAL_VSYSCALL_CALL): New macro.
7840         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
7841         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
7842         PTR_DEMANGLE on vDSO pointer.
7843         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7844         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
7845         macro.
7846         (INTERNAL_SYSCALL): Likewise.
7847         (INTERNAL_VSYSCALL_NCS): Remove macro.
7848         (INTERNAL_VSYSCALL_CALL): New macro.
7849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
7850         Remove macro.
7851         (INTERNAL_VSYSCALL): Likewise.
7852         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
7853         sysdep-vdso.h instead of libc-vdso.h.
7854         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
7855         definition.
7856         (INLINE_VSYSCALL): Likewise.
7857         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
7858         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
7859         definition.
7860         (INLINE_VSYSCALL): Likewise.
7861         (INTERNAL_VSYSCALL): Likewise.
7862         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7863         * sysdeps/unix/sysv/linux/timespec_get.c
7864         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7865         (timespec_get): Use ANSI prototype.
7866         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
7867         and definition for Linux.
7869 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7871         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
7872         * include/libc-symbols.h: libmvec_hidden_* macro series added.
7874 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7876         [BZ #2981]
7877         [BZ #18410]
7878         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
7879         for missing DT_PLTRELSZ.
7881 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
7883         Remove obsolete aliases that broke 'locale -a'
7884         [BZ #18412]
7885         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
7886         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
7887         breaking some applications that use 'locale -a' output.
7888         Change the encoding of this file from Latin-1 to ASCII to avoid
7889         other potential problems with people grepping this file.
7891 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7893         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
7894         -fasynchronous-unwind-tables.
7895         (CFLAGS-sendto.c): Likewise.
7896         (CFLAGS-sendmsg.c): Likewise.
7897         (CFLAGS-connect.c): Likewise.
7898         (CFLAGS-recvmsg.c): Likewise.
7899         (CFLAGS-recvfrom.c): Likewise.
7900         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
7901         (SOCKETCALL): New macro: non-cancellable socketcall.
7902         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
7903         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
7904         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
7905         * sysdeps/unix/sysv/linux/accept.c: New file.
7906         * sysdeps/unix/sysv/linux/bind.c: Likewise.
7907         * sysdeps/unix/sysv/linux/connect.c: Likewise.
7908         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
7909         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
7910         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
7911         * sysdeps/unix/sysv/linux/listen.c: Likewise.
7912         * sysdeps/unix/sysv/linux/recv.c: Likewise.
7913         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
7914         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7915         * sysdeps/unix/sysv/linux/send.c: Likewise.
7916         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7917         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
7918         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
7919         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
7920         * sysdeps/unix/sysv/linux/socket.c: Likewise.
7921         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
7922         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
7923         prototype.
7924         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
7925         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7926         instead of __internal_xxx function.
7927         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
7928         prototype.
7929         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
7930         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7931         instead of __internal_xxx function.
7932         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
7933         prototype.
7934         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
7935         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7936         instead of __internal_xxx function.
7937         * sysdeps/unix/sysv/linux/accept.S: Remove file.
7938         * sysdeps/unix/sysv/linux/bind.S: Likewise.
7939         * sysdeps/unix/sysv/linux/connect.S: Likewise.
7940         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
7941         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
7942         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
7943         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
7944         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7945         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7946         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7947         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7948         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7949         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7950         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7951         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7952         * sysdeps/unix/sysv/linux/listen.S: Likewise.
7953         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7954         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7955         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7956         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7959         * sysdeps/unix/sysv/linux/recv.S: Likewise.
7960         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7961         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7962         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7963         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7964         * sysdeps/unix/sysv/linux/send.S: Likewise.
7965         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7966         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7967         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7968         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7969         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7970         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7971         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7972         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7973         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7974         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7975         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7976         socketcall is implemented in GLIBC.
7978 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
7980         * soft-fp/fmadf4.c: Include <libc-internal.h>.
7981         (__fma): Ignore uninitialized warnings around packing.
7982         * soft-fp/fmasf4.c: Include <libc-internal.h>.
7983         (__fmaf): Ignore uninitialized warnings around packing.
7984         * soft-fp/fmatf4.c: Include <libc-internal.h>.
7985         (__fmal): Ignore uninitialized warnings around packing.
7987         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7988         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7989         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7990         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7992         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7993         switch statement into default case.
7994         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7996         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7997         a conditional in forcing "inexact".
7998         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7999         Likewise.
8001 2015-05-22  Roland McGrath  <roland@hack.frob.com>
8003         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8004         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
8005         for each INTERNAL_SYSCALL use.
8007 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
8009         [BZ #438]
8010         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
8011         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
8012         variable.
8014         [BZ #18444]
8015         * string/basename.c (basename): Rename to __basename and define as
8016         weak alias of __basename.  Use libc_hidden_weak.
8017         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
8018         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
8019         __basename instead of basename.
8020         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
8021         Remove variable.
8022         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8024 2015-05-18  Florian Weimer  <fweimer@redhat.com>
8026         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
8027         (_IO_JUMPS_FILE_plus): New.
8028         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
8029         _IO_CAST_FIELD_ACCESS.
8030         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
8031         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
8032         * libio/freopen.c (freopen): Likewise.
8033         * libio/freopen64.c (freopen64): Likewise.
8034         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
8035         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
8036         * libio/iofwide.c (_IO_fwide): Likewise.
8037         * libio/memstream.c (open_memstream): Likewise.
8038         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8039         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8040         * libio/oldiopopen.c (_IO_old_popen): Likewise.
8042 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
8044         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
8045         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
8046         NADJ.
8047         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
8048         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
8049         NADJ.
8050         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
8051         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
8052         NADJ.
8054         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
8055         (p == 4) case.
8057         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
8058         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
8059         Remove variable.
8060         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8061         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8062         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8064 2015-05-21  Florian Weimer  <fweimer@redhat.com>
8066         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
8067         Adjust jump table label generation macros.
8069 2015-05-21  Florian Weimer  <fweimer@redhat.com>
8071         * stdio-common/vfprintf.c (vfprintf): Move local variables
8072         args_malloced, specs, specs_malloced, and the code after
8073         do_positional to the printf_positional function.
8074         (printf_positional): New function.
8076 2015-05-21  Florian Weimer  <fweimer@redhat.com>
8078         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
8079         function.
8080         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
8081         STEP4_TABLE, process_arg): Move macro definitions
8082         out of the vfprintf function.  (Cosmetic change only.)
8084 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
8086         * benchtests/Makefile (stdio-common-bench): Define.
8087         (benchset): Add stdio-common-bench.
8088         * sprintf-inputs: New file.
8089         * sprintf-source.c: New file.
8091 2015-05-21  Andreas Schwab  <schwab@suse.de>
8093         [BZ #13028]
8094         [BZ #17053]
8095         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
8096         of struct __res_state.
8097         * resolv/res_send.c (__libc_res_nsend): Likewise.
8098         (get_nsaddr): New function.
8099         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
8100         statp directly.
8102 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
8104         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
8105         -D_POSIX_C_SOURCE=199506L.
8107         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
8109         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
8110         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
8111         Do not mention otherwise.
8112         [POSIX] (_XOPEN_VERSION): Do not expect.
8113         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
8114         [POSIX] (_POSIX2_C_BIND): Likewise.
8115         [POSIX] (_POSIX2_VERSION): Likewise.
8116         [POSIX] (_XOPEN_XPG2): Likewise.
8117         [POSIX] (_XOPEN_XPG3): Likewise.
8118         [POSIX] (_XOPEN_XPG4): Likewise.
8119         [POSIX] (_XOPEN_UNIX): Likewise.
8120         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
8121         [POSIX] (_POSIX_BARRIERS): Likewise.
8122         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
8123         [POSIX] (_POSIX_CPUTIME): Likewise.
8124         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
8125         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
8126         [POSIX] (_POSIX_SHELL): Likewise.
8127         [POSIX] (_POSIX_SPAWN): Likewise.
8128         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
8129         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
8130         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
8131         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
8132         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
8133         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
8134         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
8135         [POSIX] (_XBS5_LP64_OFF64): Likewise.
8136         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
8137         [POSIX] (_POSIX_TIMEOUTS): Likewise.
8138         [POSIX] (_POSIX2_PBS): Likewise.
8139         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
8140         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
8141         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
8142         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
8143         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
8144         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
8145         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
8146         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
8147         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
8148         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
8149         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
8150         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
8151         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
8152         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
8153         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
8154         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
8155         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
8156         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
8157         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
8158         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
8159         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
8160         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
8161         [POSIX] (_SC_2_C_BIND): Likewise.
8162         [POSIX] (_SC_2_C_VERSION): Likewise.
8163         [POSIX] (_SC_2_PBS): Likewise.
8164         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
8165         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
8166         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
8167         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
8168         [POSIX] (_SC_2_PBS_TRACK): Likewise.
8169         [POSIX] (_SC_ATEXIT_MAX): Likewise.
8170         [POSIX] (_SC_BARRIERS): Likewise.
8171         [POSIX] (_SC_BASE): Likewise.
8172         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
8173         [POSIX] (_SC_DEVICE_IO): Likewise.
8174         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
8175         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
8176         [POSIX] (_SC_FD_MGMT): Likewise.
8177         [POSIX] (_SC_FIFO): Likewise.
8178         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
8179         [POSIX] (_SC_FILE_LOCKING): Likewise.
8180         [POSIX] (_SC_FILE_SYSTEM): Likewise.
8181         [POSIX] (_SC_IOV_MAX): Likewise.
8182         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
8183         [POSIX] (_SC_NETWORKING): Likewise.
8184         [POSIX] (_SC_PAGE_SIZE): Likewise.
8185         [POSIX] (_SC_PASS_MAX): Likewise.
8186         [POSIX] (_SC_PIPE): Likewise.
8187         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
8188         [POSIX] (_SC_REGEXP): Likewise.
8189         [POSIX] (_SC_SHELL): Likewise.
8190         [POSIX] (_SC_SIGNALS): Likewise.
8191         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
8192         [POSIX] (_SC_SPIN_LOCKS): Likewise.
8193         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
8194         [POSIX] (_SC_USER_GROUPS): Likewise.
8195         [POSIX] (_SC_USER_GROUPS_R): Likewise.
8196         [POSIX] (_SC_STREAMS): Likewise.
8197         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
8198         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
8199         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
8200         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
8201         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
8202         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
8203         [POSIX] (_PC_FILESIZEBITS): Likewise.
8204         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
8205         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
8206         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
8207         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
8208         [POSIX] (uid_t): Likewise.
8209         [POSIX] (gid_t): Likewise.
8210         [POSIX] (off_t): Likewise.
8211         [POSIX] (pid_t): Likewise.
8212         [POSIX] (cuserid): Allow.
8213         (_SC_2_CHAR_TERM): Require constant.
8214         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
8215         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
8216         variable.
8218 2015-05-20  Roland McGrath  <roland@hack.frob.com>
8220         * sysdeps/nacl/pthread-pids.h: New file.
8221         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
8222         (create_thread): Use __nacl_get_tid to initialize PD->tid.
8224         * nptl/pthread-pids.h: New file.
8225         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
8226         * nptl/nptl-init.c: Include <pthread-pids.h>.
8227         (__pthread_initialize_minimal_internal):
8228         Call __pthread_initialize_pids instead of set_tid_address syscall.
8230         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
8231         * sysdeps/posix/usleep.c: ... here.
8233 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8235         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
8236         call_pselect6 object.
8237         [$(subdir) = io]: Remove call_sync_file_range object.
8238         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
8239         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
8240         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
8241         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
8243 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
8245         * math/s_cproj.c: Add include "math_private.h".
8246         * math/s_cprojf.c: Likewise.
8247         * math/s_cprojl.c: Likewise.
8249 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
8251         [BZ #18244]
8252         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
8253         high mantissa bit when testing whether P is a NaN.
8254         * math/libm-test.inc (remainder_test_data): Add more tests.
8255         (remquo_test_data): Likewise.
8257         [BZ #18049]
8258         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
8259         below -32, return the argument, with underflow if subnormal.
8260         * math/auto-libm-test-in: Add more tests of atanh.
8261         * math/auto-libm-test-out: Regenerated.
8263 2015-05-19  Roland McGrath  <roland@hack.frob.com>
8265         [BZ #18434]
8266         * nptl/tst-sem15.c: New file.
8267         * nptl/Makefile (tests): Add it.
8268         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
8269         s/<</>>/ to fix typo in EOVERFLOW check.
8270         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
8272 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8274         * manual/strings.texi (envz_remove): Fix typo in safety
8275         annotations.
8277 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
8278             Steve Ellcey  <sellcey@imgtec.com>
8280         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
8281         in order to avoid strict alias warnings.
8282         (iruserok_af): Ditto for ra.
8284 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
8286         [BZ #17581]
8287         * malloc/hooks.c
8288         (magicbyte): Convert to a function and avoid returning 0x01.
8289         (mem2mem_check): Avoid using a length byte equal to the magic byte.
8290         (mem2chunk_check): Fix unsigned comparisons to zero.
8291         Hoist defs of sz and magic.
8293 2015-05-19  Richard Henderson  <rth@redhat.com>
8295         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
8297         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8299 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8301         [BZ #16159]
8302         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
8303         * malloc/arena.c (arena_lock): Check if arena is corrupt.
8304         (reused_arena): Find a non-corrupt arena.
8305         (heap_trim): Pass arena to unlink.
8306         * malloc/hooks.c (malloc_check_get_size): Pass arena to
8307         malloc_printerr.
8308         (top_check): Likewise.
8309         (free_check): Likewise.
8310         (realloc_check): Likewise.
8311         * malloc/malloc.c (malloc_printerr): Add arena argument.
8312         (unlink): Likewise.
8313         (munmap_chunk): Adjust.
8314         (ARENA_CORRUPTION_BIT): New macro.
8315         (arena_is_corrupt): Likewise.
8316         (set_arena_corrupt): Likewise.
8317         (sysmalloc): Use mmap if there are no usable arenas.
8318         (_int_malloc): Likewise.
8319         (__libc_malloc): Don't fail if arena_get returns NULL.
8320         (_mid_memalign): Likewise.
8321         (__libc_calloc): Likewise.
8322         (__libc_realloc): Adjust for additional argument to
8323         malloc_printerr.
8324         (_int_free): Likewise.
8325         (malloc_consolidate): Likewise.
8326         (_int_realloc): Likewise.
8327         (_int_memalign): Don't touch corrupt arenas.
8328         * malloc/tst-malloc-backtrace.c: New test case.
8330         * Makefile (summarize-tests): Fix return value on success.
8332         * manual/string.texi (Envz Functions): Add envz_remove.
8334 2015-05-18  Roland McGrath  <roland@hack.frob.com>
8336         * sysdeps/posix/opendir.c: Include <stdbool.h>.
8337         (invalid_name): New function, broken out of ...
8338         (__opendirat): ... here.  Call it.
8339         (need_isdir_precheck): New function, broken out of ...
8340         (__opendirat): ... here.  Call it.
8341         Use __fxstatat64, not __xstatat64.
8342         (opendir_oflags): New function, broken out of ...
8343         (__opendirat): ... here.  Call it.
8344         (opendir_tail): New function, broken out of ...
8345         (__opendirat): ... here.  Call it.
8346         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
8347         opendir_tail, rather than punting to __opendirat.
8348         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
8350 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8352         * .gitignore: Ignore generated *.pyc.
8354 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
8356         * include/stdio.h: Define __need_wint_t.
8357         * test-skeleton.c: Avoid `for' loop initial declaration.
8358         * nptl/tst-initializers1.c: Use test-skeleton.c.
8360 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8362         [BZ #18418]
8363         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
8365 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
8367         [BZ #16352]
8368         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
8369         (__ieee754_atanh): Force underflow exception for results with
8370         small absolute value.
8371         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
8372         (__ieee754_atanhf): Force underflow exception for results with
8373         small absolute value.
8374         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
8375         (__ieee754_atanh): Force underflow exception for results with
8376         small absolute value.
8377         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
8378         (__ieee754_atanhf): Force underflow exception for results with
8379         small absolute value.
8380         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
8381         (__ieee754_atanhl): Force underflow exception for results with
8382         small absolute value.
8383         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
8384         (__ieee754_atanhl): Force underflow exception for results with
8385         small absolute value.
8386         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
8387         (__ieee754_atanhl): Force underflow exception for results with
8388         small absolute value.
8389         * math/auto-libm-test-in: Do not allow missing underflow
8390         exceptions from atanh.
8391         * math/auto-libm-test-out: Regenerated.
8393         [BZ #18221]
8394         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
8395         2**-28 as threshold for returning x or +/- 1/x.
8396         * math/auto-libm-test-in: Add more tests of tan.
8397         * math/auto-libm-test-out: Regenerated.
8399         [BZ #18220]
8400         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
8401         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
8402         * math/auto-libm-test-in: Add another test of lgamma.
8403         * math/auto-libm-test-out: Regenerated.
8405 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
8407         * stdio-common/printf_fp.c (___printf_fp): Use abs.
8408         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
8409         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
8410         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
8411         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
8412         (ADD2A): Use fabs.  (SUB2A): Use fabs.
8413         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
8414         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
8415         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
8416         (log1): Use fabs.  (my_log2): Use fabs.
8417         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
8418         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
8419         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
8420         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
8421         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
8422         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
8423         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
8424         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
8425         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
8426         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
8427         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
8429 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
8431         [BZ #18217]
8432         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
8433         as threshold for returning 1 - x.
8434         * math/auto-libm-test-in: Add more tests of erfc.
8435         * math/auto-libm-test-out: Regenerated.
8437 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
8439         [BZ #18196]
8440         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
8441         threshold for large arguments.
8442         * math/auto-libm-test-in: Add another test of atan.
8443         * math/auto-libm-test-out: Regenerated.
8445         [BZ #16339]
8446         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
8447         (__log1p): Force underflow exception for results with small
8448         absolute value.
8449         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
8450         (__log1pf): Force underflow exception for results with small
8451         absolute value.
8452         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
8453         (__log1p): Force underflow exception for results with small
8454         absolute value.
8455         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
8456         (__log1pf): Force underflow exception for results with small
8457         absolute value.
8458         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
8459         (__log1pl): Force underflow exception for results with small
8460         absolute value.
8461         * math/auto-libm-test-in: Do not allow missing underflow
8462         exceptions from log1p.
8463         * math/auto-libm-test-out: Regenerated.
8465 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
8466             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8468         [BZ #16704]
8469         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
8471 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
8473         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
8474         (libmvec): New variable.
8475         * configure.ac: Added option for mathvec build.
8476         * configure: Regenerated.
8477         * mathvec/Depend: New file.
8478         * mathvec/Makefile: New file.
8479         * shlib-versions: Added libmvec.
8480         * math/Makefile: Added rule for libm.so installation.
8482         * bits/math-vector.h: New file.
8483         * bits/libm-simd-decl-stubs.h: New header.
8484         * math/Makefile (headers): Added new header
8485         libm-simd-decl-stubs.h.
8486         * math/math.h (__MATHCALL_VEC): New macro.
8488         * math/gen-libm-have-vector-test.sh: Script generates series of macros
8489         for conditions in testing functions.
8490         * math/Makefile: Added call of libm-have-vector-test.sh.
8491         * math/libm-test.inc (HAVE_VECTOR): New macros.
8493         * math/libm-test.inc: START refactored.
8494         * math/test-double.c (TEST_MATHVEC): Add define.
8495         * math/test-float.c: Likewise.
8496         * math/test-idouble.c: Likewise.
8497         * math/test-ifloat.c: Likewise.
8498         * math/test-ildoubl.c: Likewise.
8499         * math/test-ldouble.c: Likewise.
8500         * sysdeps/generic/math-tests-arch.h
8501         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
8502         architecture check.
8504         * math/test-double.c (FUNC_TEST): New macro.
8505         * math/test-float.c: Likewise.
8506         * math/test-idouble.c: Likewise.
8507         * math/test-ifloat.c: Likewise.
8508         * math/test-ildoubl.c: Likewise.
8509         * math/test-ldouble.c: Likewise.
8510         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
8512 2015-05-13  Roland McGrath  <roland@hack.frob.com>
8514         * sysdeps/nacl/fdopendir.c: New file.
8516         * dirent/scandir-tail.c: New file.
8517         * dirent/scandir64-tail.c: New file.
8518         * dirent/Makefile (routines): Add them.
8519         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
8520         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
8521         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
8522         [!SCANDIR] (SCANDIR_TAIL): New macro.
8523         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
8524         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
8525         (SCANDIRAT): Macro removed.
8526         (SCANDIR_TAIL): New macro.
8527         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
8528         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
8529         (SCANDIRAT): Just call __opendirat and __scandir_tail.
8530         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
8531         (READDIR): Macro removed.
8532         (SCANDIR_TAIL): New macro.
8533         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
8534         (SCANDIR_TAIL): New macro.
8536         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
8537         * dirent/scandir-cancel.c: ... to this new file.
8538         * dirent/Makefile (routines): Add it.
8539         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
8540         * sysdeps/unix/sysv/linux/i386/scandir64.c
8541         (SKIP_SCANDIR_CANCEL): Macro removed.
8542         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
8544         * dirent/tst-scandir.c: New file.
8545         * dirent/tst-scandir64.c: New file.
8546         * dirent/Makefile (tests): Add them.
8548 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8550         [BZ #18409]
8551         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
8553 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8555         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
8556         list.
8558 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
8560         * benchtests/bench-strcoll.c: New benchmark.
8561         * benchtests/Makefile: Generate locales and run benchmark.
8562         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
8563         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
8564         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
8565         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
8566         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
8567         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
8568         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
8569         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
8570         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
8571         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
8572         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
8573         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
8574         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
8575         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
8576         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
8577         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
8578         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
8579         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
8580         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
8581         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
8582         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
8583         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
8584         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
8585         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
8587 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
8589         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
8590         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8592 2015-05-12  Roland McGrath  <roland@hack.frob.com>
8594         * posix/uname-values.h: New file.
8595         * posix/uname.c: Include that instead of <config-name.h>.
8596         * sysdeps/nacl/uname-values.h: New file.
8597         * sysdeps/arm/nacl/uname-values.h: New file.
8599 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
8601         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
8602         splitting into fields.
8604 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
8606         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
8607         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
8608         * locale/localeinfo.h: Add enum collation_encoding_type.
8609         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
8610         * programs/ld-collate.c (collate_output): Add encoding type info.
8611         * string/strcoll_l.c (STRDIFF): New function.
8612         * (STRCOLL): Use STRDIFF to skip over equal prefix.
8613         * wcsmbs/wcscoll_l.c: Define STRDIFF.
8615 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
8617         [BZ #18397]
8618         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
8619         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
8620         <fpu_control.h> instead of <math/fpu_control.c>.
8621         * sysdeps/mips/mips32/fpu/Makefile: New file.
8623 2015-05-11  Andreas Schwab  <schwab@suse.de>
8625         [BZ #18007]
8626         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
8627         nss_endgrent.
8628         (_nss_compat_endgrent): Call nss_endgrent.
8629         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
8630         nss_endpwent.
8631         (_nss_compat_endpwent): Call nss_endpwent.
8632         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
8633         needent, call nss_setspent only if non-zero.
8634         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
8635         (internal_endspent): Don't call nss_endspent.
8636         (_nss_compat_endspent): Call nss_endspent.
8637         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
8638         Remove.  All uses removed.
8639         (internal_setent): Remove parameter stayopen, add parameter
8640         stream.  Use it instead of global variable.
8641         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
8642         (internal_endent, internal_getent): Add parameter stream.  Use it
8643         instead of global variable.
8644         (CONCAT(_nss_files_end,ENTNAME))
8645         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
8646         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
8647         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
8648         uses removed.
8649         (internal_setent, internal_endent): Add parameter stream.  Use it
8650         instead of global variable.
8651         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
8652         stream.
8653         (get_next_alias): Add parameter stream.
8654         (_nss_files_getaliasent_r): Pass global stream.
8655         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
8656         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
8657         (_nss_files_gethostbyname4_r): Pass local stream to
8658         internal_setent, internal_getent and internal_endent.  Remove
8659         locking.
8661 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8663         * tst-strfmon1.c (tests): Update expected currency symbol.
8665 2015-05-08  Roland McGrath  <roland@hack.frob.com>
8667         * sysdeps/nacl/gethostname.c: New file.
8669 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
8671         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
8672         and sinh.
8673         * math/auto-libm-test-out: Regenerated.
8674         * sysdeps/i386/fpu/libm-test-ulps: Update.
8675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8677 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
8679         [BZ #18125]
8680         * stdlib/tst-setcontext3.c: New file.
8681         * stdlib/tst-setcontext3.sh: New file.
8682         * stdlib/Makefile (tests): Add tst-setcontext3.
8683         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
8684         to verify test program created output file.
8685         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
8686         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
8687         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
8688         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
8690 2015-05-06  Roland McGrath  <roland@hack.frob.com>
8692         [BZ #18383]
8693         * elf/tst-tlsalign.c: New file.
8694         * elf/tst-tlsalign-static.c: New file.
8695         * elf/tst-tlsalign-lib.c: New file.
8696         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
8697         (tests-static): Add tst-tlsalign-static.
8698         (modules-names): Add tst-tlsalign-lib.
8699         (test-xfail-tst-tlsalign): New variable.
8700         (test-xfail-tst-tlsalign-static): New variable.
8702         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
8703         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
8705 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
8707         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
8708         csqrt, erfc, sin and sincos.
8709         * math/auto-libm-test-out: Regenerated.
8710         * sysdeps/i386/fpu/libm-test-ulps: Update.
8711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8713 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8715         * sysdeps/aarch64/libm-test-ulps: Update.
8717 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
8719         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
8720         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
8721         * math/auto-libm-test-out: Regenerated.
8722         * sysdeps/i386/fpu/libm-test-ulps: Update.
8723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8725 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8727         [BZ #18265]
8728         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
8729         (wcsncpy): Likewise.
8731 2015-05-05  Florian Weimer  <fweimer@redhat.com>
8733         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8734         Assume __ASSUME_FALLOCATE is always true.
8735         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8736         (__posix_fallocate64_l64): Likweise.
8737         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
8738         (posix_fallocate): Likewise.
8739         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
8740         (__posix_fallocate64_l64): Likewise.
8741         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8742         [!__ASSUME_FALLOCATE]: Add comment.
8744 2015-05-05  Florian Weimer  <fweimer@redhat.com>
8746         * sysdeps/unix/sysv/linux/i386/Makefile
8747         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
8748         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
8749         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
8750         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8751         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8752         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
8753         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
8755 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
8757         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
8758         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
8759         tgamma.
8760         * math/auto-libm-test-out: Regenerated.
8761         * sysdeps/i386/fpu/libm-test-ulps: Update.
8762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8764 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8766         * math/auto-libm-test-in: Add more tests of tgamma.
8767         * math/auto-libm-test-out: Regenerated.
8768         * sysdeps/i386/fpu/libm-test-ulps: Update.
8769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8771         * math/auto-libm-test-in: Add more tests of tanh.
8772         * math/auto-libm-test-out: Regenerated.
8773         * sysdeps/i386/fpu/libm-test-ulps: Update.
8774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8776         * math/auto-libm-test-in: Add more tests of tan.
8777         * math/auto-libm-test-out: Regenerated.
8778         * sysdeps/i386/fpu/libm-test-ulps: Update.
8779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8781         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
8782         * math/auto-libm-test-out: Regenerated.
8783         * sysdeps/i386/fpu/libm-test-ulps: Update.
8784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8786         * math/auto-libm-test-in: Add another test of pow.
8787         * math/auto-libm-test-out: Regenerated.
8788         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8790         * math/auto-libm-test-in: Add more tests of lgamma.
8791         * math/auto-libm-test-out: Regenerated.
8792         * sysdeps/i386/fpu/libm-test-ulps: Update.
8793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8795         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
8796         log1p.
8797         * math/auto-libm-test-out: Regenerated.
8798         * sysdeps/i386/fpu/libm-test-ulps: Update.
8799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8801 2015-05-01  Mark Wielaard  <mjw@redhat.com>
8803         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
8804         Elf64_Chdr structs and ELFCOMPRESS constants.
8806 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8808         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
8809         expm1.
8810         * math/auto-libm-test-out: Regenerated.
8811         * sysdeps/i386/fpu/libm-test-ulps: Update.
8812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8814         * math/auto-libm-test-in: Add more tests of erf and erfc.
8815         * math/auto-libm-test-out: Regenerated.
8816         * sysdeps/i386/fpu/libm-test-ulps: Update.
8817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8819 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8821         * config.h.in (HAVE_AARCH64_BE): Add.
8823 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
8825         * math/auto-libm-test-in: Add more tests of csqrt.
8826         * math/auto-libm-test-out: Regenerated.
8827         * sysdeps/i386/fpu/libm-test-ulps: Update.
8828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8830         * math/auto-libm-test-in: Add more tests of cosh and sinh.
8831         * math/auto-libm-test-out: Regenerated.
8832         * sysdeps/i386/fpu/libm-test-ulps: Update.
8833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8835         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
8837 2015-04-29  Roland McGrath  <roland@hack.frob.com>
8839         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
8840         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
8842         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
8843         (euidaccess, eaccess): Define as weak aliases.
8845         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
8846         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
8847         but __suseconds_t is often 'long int' so some sources assume that
8848         type is being used (e.g. they use %ld to print tv_usec).
8850 2015-04-29  Florian Weimer  <fweimer@redhat.com>
8852         [BZ #18007]
8853         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
8854         (CVE-2014-8121)
8855         * nss/tst-nss-getpwent.c: New file.
8856         * nss/Makefile (tests): Add new test.
8858 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
8860         [BZ #18346]
8861         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
8862         exponents less than 48 as cases where high part of mantissa needs
8863         examining to determine whether argument is integral.
8864         * math/libm-test.inc (round_test_data): Add more tests.
8866 2015-04-28  Mark Wielaard  <mjw@redhat.com>
8868         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
8870 2015-04-27  David S. Miller  <davem@davemloft.net>
8872         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
8873         __tls_get_addr.
8874         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8876 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
8878         [BZ#18333]
8879         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
8881 2015-04-27  Florian Weimer  <fweimer@redhat.com>
8883         [BZ#18333]
8884         * time/tzset.c (parse_tzname): Return error on memory allocation
8885         failure.
8886         * test-skeleton.c (struct temp_name_list): Change type of name
8887         member to non-const.
8888         (add_temp_file): Create a copy of the file name.
8889         (delete_temp_files): Deallocate memory.
8890         (create_temp_file): Add comment.
8892 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8894         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
8895         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
8897 2015-04-24  Roland McGrath  <roland@hack.frob.com>
8899         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
8900         * sysdeps/arm/configure: Regenerated.
8902 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8904         [BZ #17715]
8905         * time/tzfile.c (__tzfile_read): Check for large values of
8906         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
8907         * time/tzset.c (__tzstring_len): New function, based on the old
8908         __tzstring function.
8909         (__tzstring): Call __tzstring_len.
8910         (parse_tzname): New helper function extracted from
8911         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
8912         the input string.
8913         (parse_offset): New helper function extracted from
8914         __tzset_parse_tz.  Replace switch with fallthrough with
8915         initialization before sscanf.
8916         (parse_rule): Likewise.
8917         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
8918         new-style function definition.
8919         * timezone/Makefile (tests): Add tst-tzset.
8920         (tst-tzset.out): Dependencies on time zone files.
8921         (tst-tzset-ENV): Set TZDIR.
8922         (testdata/XT%): Copy crafted time zone files.
8923         * timezone/README: Mention crafted time zone files.
8924         * timezone/testdata/XT1, timezone/testdata/XT2,
8925         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
8926         files.
8927         * timezone/tst-tzset.c: New test.
8929 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8931         * Makeconfig (+gccwarn): Remove -Winline.
8933 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8935         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
8937 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8939         * NEWS: Mention sysconf() cache information support for s390.
8940         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
8942 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
8944         * math/k_casinh.c (__kernel_casinh): Use __copysign.
8945         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8946         (__nearbyint): Likewise.
8947         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8948         (copysignl): Likewise.
8950 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
8952         [BZ #18287]
8953         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8954         based on padding.  (CVE-2015-1781)
8956 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8958         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8959         libc-vdso.h.
8960         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8961         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8962         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8963         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8964         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8965         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8966         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8967         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8968         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8969         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8970         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8971         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8972         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8973         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8974         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8975         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8976         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8977         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8978         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8979         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8980         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8981         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8982         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8984 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
8986         * stdlib/setenv.c (__add_to_environ):
8987         Dump core quickly if setenv (..., NULL, ...) is called.
8988         This time, do it the right way, and pacify GCC with a pragma.
8990 2015-04-17  Roland McGrath  <roland@hack.frob.com>
8992         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8993         IMAP->l_prev cannot be null, and #if out the code for the contrary
8994         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8995         believe that NS (&_dl_ns[NSID]) could point outside the array.
8997         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8998         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8999         before using NSID as an index.
9001 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
9003         [BZ #17825]
9004         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
9005         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
9006         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9008 2015-04-17  Roland McGrath  <roland@hack.frob.com>
9010         Add preliminary port to Google Native Client on ARM.
9011         * abi-tags (.*-.*-nacl.*): New entry.
9012         * sysdeps/arm/nacl: New directory.
9013         * sysdeps/nacl: New directory.
9015 2015-04-16  David S. Miller  <davem@davemloft.net>
9017         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
9018         lowlevellock-futex.h
9020 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
9022         * sysdeps/tile/configure.ac: New file.
9023         * sysdeps/tile/configure: Regenerated.
9025 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9027         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
9028         conditionals for weak_alias and libc_hidden_weak.
9029         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
9030         libc_hidden_weak and weak_alias.
9031         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
9032         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
9033         and weak_alias for static one.
9035 2015-04-15  David S. Miller  <davem@davemloft.net>
9037         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9039 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9041         [BZ #18206]
9042         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
9043           Use signed comparision instead of substraction to avoid
9044           overflow bug.
9045         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
9046           Take the sign of ret.
9047         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
9048           Do not expect precise return values. Only the sign matters.
9049         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
9050         * wcsmbs/test-wcsncmp.c: New File.
9051         * string/test-strncmp.c: Add wcsncmp support.
9053 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9055         [BZ #6792]
9056         * math/w_log1p.c: New file.
9057         * math/w_log1pf.c: Likewise.
9058         * math/w_log1pl.c: Likewise.
9059         * math/Makefile (libm-calls): Add w_log1p.
9060         * math/s_log1pl.c (log1pl): Remove weak_alias.
9061         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
9062         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
9063         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
9064         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
9065         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
9066         [NO_LONG_DOUBLE] (log1pl): Likewise.
9067         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
9068         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
9069         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
9070         (log1p): Remove long_double_symbol.
9071         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
9072         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
9073         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
9074         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
9075         remove weak_alias for corresponding log1p function.
9076         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
9077         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9078         * sysdeps/ia64/fpu/w_log1p.c: New file.
9079         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
9080         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
9081         * math/libm-test.inc (log1p_test_data): Add errno expectations.
9083 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
9085         [BZ #18247]
9086         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
9087         decimal exponent by 1.
9088         * stdlib/tst-strtod-round-data: Add more tests.
9089         * stdlib/tst-strtod-round.c (tests): Regenerated.
9091 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
9093         * math/auto-libm-test-in: Add more tests of clog and clog10.
9094         * math/auto-libm-test-out: Regenerated.
9095         * sysdeps/i386/fpu/libm-test-ulps: Update.
9096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9098 2015-04-09  Roland McGrath  <roland@hack.frob.com>
9100         * Makeconfig (module-cppflags): Exclude all .v.i files.
9101         (skip-module-cppflags): Variable removed.
9103         * configure.ac (libc_config_ok): Initialize before reading
9104         preconfigure scripts, not after.
9105         * configure: Regenerated.
9107         * test-skeleton.c (TIMEOUT): Move #define to top level.
9108         (main): Grok environment variable TEST_DIRECT.  If set, print
9109         test expectation details into that file and then behave as if
9110         given --direct.
9112 2015-04-09  Florian Weimer  <fweimer@redhat.com>
9114         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
9115         warning on 32-bit.
9117 2015-04-08  David S. Miller  <davem@davemloft.net>
9119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9121 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
9123         * math/auto-libm-test-in: Add more tests of atanh.
9124         * math/auto-libm-test-out: Regenerated.
9125         * sysdeps/i386/fpu/libm-test-ulps: Update.
9126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9128         * math/auto-libm-test-in: Add more tests of atan.
9129         * math/auto-libm-test-out: Regenerated.
9130         * sysdeps/i386/fpu/libm-test-ulps: Update.
9131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9133 2015-04-08  Florian Weimer  <fweimer@redhat.com>
9135         * elf/pldd.c (main): Rewrite to use struct
9136         scratch_buffer instead of extend_alloca.
9137         * elf/pldd-xx.c (find_maps): Likewise.
9138         * grp/initgroups.c: Include <scratch_buffer.h> instead of
9139         <alloca.h>.
9140         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
9141         scratch_buffer instead of extend_alloca.
9142         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
9143         grp/compat-initgroups.c.
9144         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
9145         Rewrite to use struct scratch_buffer instead of extend_alloca.
9146         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
9147         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9149 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
9151         * math/auto-libm-test-in: Add more tests of cbrt.
9152         * math/auto-libm-test-out: Regenerated.
9153         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9155         * math/auto-libm-test-in: Add more tests of cabs.
9156         * math/auto-libm-test-out: Regenerated.
9157         * sysdeps/i386/fpu/libm-test-ulps: Update.
9158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9160         [BZ #18210]
9161         [BZ #18211]
9162         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
9163         (__ieee754_atan2): Set FE_TONEAREST mode for internal
9164         computations.
9165         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
9166         clog10.
9167         * math/auto-libm-test-out: Regenerated.
9168         * sysdeps/i386/fpu/libm-test-ulps: Update.
9169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9171         [BZ #18197]
9172         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
9173         (atan): Set FE_TONEAREST mode for internal computations.
9174         * math/auto-libm-test-in: Add more tests of atan.
9175         * math/auto-libm-test-out: Regenerated.
9177 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
9179         [BZ #17930]
9180         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
9182 2015-04-07  Florian Weimer  <fweimer@redhat.com>
9184         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
9186 2015-04-07  Florian Weimer  <fweimer@redhat.com>
9188         * include/scratch_buffer.h: New file.
9189         * malloc/scratch_buffer_grow.c: Likewise.
9190         * malloc/scratch_buffer_grow_preserve.c: Likewise.
9191         * malloc/scratch_buffer_set_array_size.c: Likewise.
9192         * malloc/tst-scratch_buffer.c: Likewise.
9193         * malloc/Makefile (routines): Add scratch_buffer_grow.
9194         (tests): Add test case.
9195         * malloc/Versions (GLIBC_PRIVATE): Export
9196         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
9197         __libc_scratch_buffer_set_array_size.
9199 2015-04-06  Richard Henderson  <rth@redhat.com>
9201         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
9202         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9204         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
9205         unsigned int before printing.
9207 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9209         [BZ #17596]
9210         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
9211         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9213 2015-04-02  Florian Weimer  <fweimer@redhat.com>
9215         * include/libc-internal.h (libc_max_align_t): Define.
9217 2015-04-02  Andreas Schwab  <schwab@suse.de>
9219         [BZ #16850]
9220         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
9222 2015-04-02  Mel Gorman  <mgorman@suse.de>
9224         [BZ #17195]
9225         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
9226         as well as the main arena.
9228 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
9230         [BZ #18185]
9231         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
9232         sharing L2 cache to 2 for Silvermont/Knights Landing.
9234 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
9236         [BZ #17711]
9237         * config.make.in (have-protected-data): New.
9238         * configure.ac: Check linker support for protected data symbol.
9239         * configure: Regenerated.
9240         * elf/Makefile (modules-names): Add tst-protected1moda and
9241         tst-protected1modb if $(have-protected-data) is yes.
9242         (tests): Add tst-protected1a and tst-protected1b if
9243         $(have-protected-data) is yes.
9244         ($(objpfx)tst-protected1a): New.
9245         ($(objpfx)tst-protected1b): Likewise.
9246         (tst-protected1modb.so-no-z-defs): Likewise.
9247         * elf/tst-protected1a.c: New file.
9248         * elf/tst-protected1b.c: Likewise.
9249         * elf/tst-protected1mod.h: Likewise.
9250         * elf/tst-protected1moda.c: Likewise.
9251         * elf/tst-protected1modb.c: Likewise.
9253 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
9255         [BZ #17711]
9256         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
9257         indicates it is called from do_lookup_x on relocation against
9258         protected data, skip the data definion in the executable from
9259         copy reloc.
9260         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
9261         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
9262         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
9263         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
9264         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
9265         otherwise to 0.
9266         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
9267         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
9268         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
9269         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
9270         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
9271         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
9273 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
9275         * sysdeps/nptl/pthread.h: Remove duplicate definition of
9276         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
9278 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
9280         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
9281         THREAD_SETMEM_NC.
9282         * sysdeps/x86_64/nptl/tls.h: Ditto.
9284 2015-03-27  Roland McGrath  <roland@hack.frob.com>
9286         * dlfcn/tststatic.c (main): Converted to ...
9287         (do_test): ... this.
9288         (TEST_FUNCTION): New macro.
9289         Include test-skeleton.c.
9291 2015-03-26  Alan Modra  <amodra@gmail.com>
9293         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
9294         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
9295         zero for undefined weak.
9296         (elf_machine_plt_conflict): Similarly.
9298 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
9300         * math/auto-libm-test-in: Add more tests of acosh, asinh and
9301         atanh.
9302         * math/auto-libm-test-out: Regenerated.
9303         * sysdeps/i386/fpu/libm-test-ulps: Update.
9304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9306         * math/auto-libm-test-in: Add another test of asin.
9307         * math/auto-libm-test-out: Regenerated.
9308         * sysdeps/i386/fpu/libm-test-ulps: Update.
9309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9311         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
9312         Remove macro.
9313         (LLL_EBX_REG): Likewise.
9314         (LLL_ENTER_KERNEL): Likewise.
9316         * math/auto-libm-test-in: Add more tests of asin.
9317         * math/auto-libm-test-out: Regenerated.
9318         * sysdeps/i386/fpu/libm-test-ulps: Update.
9319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9321         [BZ #18138]
9322         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
9323         libc_do_syscall_args): New structure.
9324         (INTERNAL_SYSCALL_MAIN_0): New macro.
9325         (INTERNAL_SYSCALL_MAIN_1): Likewise.
9326         (INTERNAL_SYSCALL_MAIN_2): Likewise.
9327         (INTERNAL_SYSCALL_MAIN_3): Likewise.
9328         (INTERNAL_SYSCALL_MAIN_4): Likewise.
9329         (INTERNAL_SYSCALL_MAIN_5): Likewise.
9330         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
9331         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
9332         Replace conditional definitions by conditional definitions of ....
9333         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
9334         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
9335         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
9336         (libpthread-sysdep_routines): Add libc-do-syscall.
9337         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
9338         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
9339         to __NR_futex not 240.
9341 2015-03-25  Alan Modra  <amodra@gmail.com>
9343         * NEWS: Advertise TLS optimization.
9344         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
9345         (DT_PPC_NUM): Increment.
9346         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
9347         (CHECK_STATIC_TLS): Use here.
9348         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
9349         TLS descriptors.
9350         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9351         * sysdeps/powerpc/dl-tls.c: New file.
9352         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
9353         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
9354         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
9355         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
9356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
9357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9360 2015-03-25  Alan Modra  <amodra@gmail.com>
9362         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
9363         for overlapping .opd entries" to "support...".
9364         * sysdeps/powerpc/powerpc64/configure: Regenerate
9366 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
9368         * math/auto-libm-test-in: Add more tests of acos.
9369         * math/auto-libm-test-out: Regenerated.
9370         * sysdeps/i386/fpu/libm-test-ulps: Update.
9371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9373         * math/auto-libm-test-in: Add more tests of expm1.
9374         * math/auto-libm-test-out: Regenerated.
9375         * sysdeps/i386/fpu/libm-test-ulps: Update.
9376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9378 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
9380         * math/auto-libm-test-in: Add more tests of cosh and sinh.
9381         * math/auto-libm-test-out: Regenerated.
9382         * sysdeps/i386/fpu/libm-test-ulps: Update.
9383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9385         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9388         * math/auto-libm-test-in: Add more tests of log2.
9389         * math/auto-libm-test-out: Regenerated.
9390         * sysdeps/i386/fpu/libm-test-ulps: Update.
9391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9393 2015-03-23  Roland McGrath  <roland@hack.frob.com>
9395         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
9396         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
9397         _IO_IS_APPENDING bit in READ_WRITE instead.
9399 2015-03-23  Florian Weimer  <fweimer@redhat.com>
9401         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9402         (__determine_cpumask_size): Replace extend_alloca with a
9403         variable-length array.  Do not treat res == 0 as an error.
9405 2015-03-23  Florian Weimer  <fweimer@redhat.com>
9407         [BZ #18100]
9408         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
9409         and integer overflow.
9410         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
9411         (main): Add integer overflow tests.
9412         * manual/pattern.texi (Calling Wordexp): Document additional use
9413         for WRDE_SYNTAX.
9415 2015-03-23  Alan Modra  <amodra@gmail.com>
9417         * config.h.in: Remove HAVE_ASM_PPC_REL16.
9418         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
9419         and false branch of conditional.
9420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9421         Likewise.
9423 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
9425         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
9426         libc-modules.h
9427         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
9428         unused declaration of _hurd_intr_rpc_msg_in_trap.
9429         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
9430         defined instead of whether it is non-zero.
9431         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
9432         input constraint instead of both input and output constraint.  Use ecx
9433         clobber instead of %ecx.
9434         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
9435         mutex_unlock): Use a statement expression instead of an expression list.
9436         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
9437         type to vm_size_t instead of vm_address_t.
9438         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
9439         defined instead of whether it is non-zero.
9440         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
9441         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
9442         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
9443         comparisons with mapaddr.
9444         * nscd/nscd-client.h: Include <time.h>.
9445         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
9446         9th parameter to __vm_region instead of int.
9447         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9448         * scripts/check-local-headers.sh (exclude): Add device/,
9449         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
9450         cthreads.h.
9452 2015-03-19  Roland McGrath  <roland@hack.frob.com>
9454         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
9455         to account for alignment padding.
9456         * sysdeps/arm/memmove.S: Likewise.
9458 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
9460         * sysdeps/unix/sysv/linux/generic/README: New file.
9462 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
9464         [BZ #18138]
9465         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
9466         (futex_abstimed_wait)
9467         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
9468         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
9469         of lll_futex_timed_wait.
9471 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
9473         [BZ #17542]
9474         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
9476 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
9478         [BZ #17090]
9479         [BZ #17620]
9480         [BZ #17621]
9481         [BZ #17628]
9482         * NEWS: Update.
9483         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
9484         entries with Static TLS too.  Skip entries past the end of the
9485         allocated DTV, from Alan Modra.
9486         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
9487         Static TLS DTV entry set up from...
9488         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
9489         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
9490         * nptl/allocatestack.c (init_one_static_tls): ... and here...
9491         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
9492         for Static TLS.
9493         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
9494         that the slot we find is associated with the given map before
9495         using its generation count.
9496         * nptl_db/db_info.c: Include ldsodefs.h.
9497         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
9498         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
9499         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
9500         (link_map::l_tls_offset): New struct field.
9501         (dtv_t::counter): Likewise.
9502         (rtld_global): New struct.
9503         (_rtld_global): New rtld variable.
9504         (dl_tls_dtv_slotinfo_list): New rtld global field.
9505         (dtv_slotinfo_list): New struct.
9506         (dtv_slotinfo): Likewise.
9507         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
9508         (td_lookup): Rename to...
9509         (td_mod_lookup): ... this.  Use new mod parameter instead of
9510         LIBPTHREAD_SO.
9511         * nptl_db/td_thr_tlsbase.c: Include link.h.
9512         (dtv_slotinfo_list, dtv_slotinfo): New functions.
9513         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
9514         addresses even if the DTV is out of date or missing them.
9515         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
9516         index zero-length arrays.
9517         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
9518         (td_lookup): Make it a macro implemented in terms of...
9519         (td_mod_lookup): ... this declaration.
9520         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
9521         (DB_MAIN_VARIABLE): Likewise.
9523 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9525         [BZ #18134]
9526         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9528 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
9530         * stdlib/setenv.c (__add_to_environ): Revert previous change.
9532 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9534         [BZ #18128]
9535         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
9536         (atomic_add, atomic_increment_and_test)
9537         (atomic_decrement_and_test): Fix 64-bit arithmetic.
9539 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
9541         * stdlib/setenv.c (__add_to_environ):
9542         Dump core quickly if setenv (..., NULL, ...) is called.
9544 2015-03-13  Roland McGrath  <roland@hack.frob.com>
9546         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
9547         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
9548         all the necessary asm magic in one place.
9549         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
9550         using those.
9552 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
9554         [BZ #14906]
9555         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
9556         traced file mtime. Use consistent log message.
9557         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
9558         (register_traced_file): Call install_watches. Always set mtime.
9559         (invalidate_cache): Iterate over all trace files. Call install_watches.
9560         (inotify_check_files): Don't inline. Handle watching parent
9561         directories and configuration file movement in and out.
9562         (handle_inotify_events): New function.
9563         (main_loop_poll): Call handle_inotify_events.
9564         (main_loop_epoll): Likewise.
9565         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
9566         (struct traced_file): Use array of inotify fds. Add parent directory,
9567         and basename.
9568         (struct database_dyn): Remove unused file_mtime.
9569         (init_traced_file): New inline function.
9570         (define_traced_file): New macro.
9571         * nss/nss_db/db-init.c: Use define_traced_file.
9572         (_nss_db_init): Use init_traced_file.
9573         * nss/nss_files/files-init.c: Use define_traced_file.
9574         (_nss_files_init): Use init_traced_file.
9576 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
9578         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
9579         [_LIBC]: Do not include <stdlib.h>.
9580         [!_LIBC] (abort): Remove declaration.
9581         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
9582         _FP_STATIC_ASSERT instead of conditionally calling abort.
9583         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
9584         (_FP_EXTEND_CNAN): Likewise.
9585         (FP_TRUNC): Likewise.
9586         (__FP_CLZ): Likewise.
9587         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
9589 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
9591         * manual/string.texi (XPG basename): Fix prototype.
9593 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9595         [BZ #18080]
9596         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
9597         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
9598         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
9599         (__setcontext): Likewise.
9600         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
9601         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
9602         Call rt_sigprocmask syscall one time to set new signal mask
9603         and retrieve the current signal mask instead of two calls.
9604         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
9605         (__swapcontext): Likewise.
9606         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
9607         * stdlib/tst-setcontext2.c: New file.
9609 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9611         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9613 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
9615         [BZ #18093]
9616         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
9617         the wrong size.
9619 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9621         [BZ #18043]
9622         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
9624 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9626         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
9627         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
9628         Remove define.
9629         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
9630         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
9631         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
9632         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
9633         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
9634         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
9635         define.
9636         * nptl_db/td_symbol_list.c (td_lookup): Remove
9637         HAVE_ASM_GLOBAL_DOT_NAME code.
9638         * sysdeps/powerpc/powerpc64/configure.ac: Remove
9639         HAVE_ASM_GLOBAL_DOT_NAME check.
9640         * sysdeps/powerpc/powerpc64/configure: Regenerate.
9641         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
9642         (DOT_LABEL): Remove define.
9643         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
9644         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
9645         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
9646         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
9647         (__TLS_GET_ADDR): Likewise.
9648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
9649         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
9651 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
9653         [BZ #18111]
9654         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
9655         (_FPU_SETCW): Initialize cw from fpsr before storing.
9656         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
9657         (fesetexceptflag): Rewrite using fpu_control.h.
9658         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
9660 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
9662         [BZ #18110]
9663         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
9664         asms.
9665         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9667 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
9669         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
9670         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
9671         abort.
9672         (_FP_FMA): Likewise.
9673         (_FP_DIV): Likewise.
9675 2015-03-10  Roland McGrath  <roland@hack.frob.com>
9677         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
9678         with 0 in that case.
9679         * Makefile (summarize-tests): New canned sequence, factored out of
9680         commands for targets tests and xtests.  Display summary lines that
9681         don't start with PASS: or XFAIL: rather than ones that do start with
9682         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
9683         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
9684         do start with ERROR: or FAIL:.
9685         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
9686         (except for [$(build-shared) = yes]).
9687         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
9688         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
9689         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
9690         * nptl/Makefile: Revert 2015-03-04 changes.
9691         [$(CXX) empty] (tests-unsupported): New variable.
9692         * debug/Makefile: Likewise.
9694         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
9695         gnulib file.  Replace __attribute with __attribute__ throughout.
9697 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
9699         * sysdeps/hppa/fpu/libm-test-ulps: Update.
9701 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
9703         [BZ #18104]
9704         * math/auto-libm-test-in: Add another test of pow.
9705         * math/auto-libm-test-out: Regenerated.
9707 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9709         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
9710         $(config-cflags-nofma).
9712 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
9714         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
9715         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
9716         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
9717         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
9718         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
9719         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
9720         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
9721         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
9722         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
9723         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
9724         Add comment on closing #endif.
9726 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9728         * posix/wordexp.c (CHAR_IN_SET): New macro.
9729         (parse_param): Use it.
9731 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9733         * sysdeps/powerpc/fpu/libm-test-ulps: update.
9735 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9737         [BZ #18043]
9738         * posix/wordexp.c (parse_param): Fix buffer overflow.
9739         * posix/wordexp-test.c (test_case): Add test case.
9741 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9743         [BZ #18042]
9744         * posix/wordexp.c (parse_backtick): Fix off-by-one.
9745         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
9747 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9749         [BZ #18043]
9750         * posix/wordexp-test.c (test_case): Add test for BZ #18043
9751         (do_bz18043): Delete.
9752         (at_page_end): New.
9753         (testit): Refactor to have words at the edge of unreadable page.
9755 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9757         [BZ #16734]
9758         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
9759         Cleanup read-only streams as well.
9760         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
9762 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9764         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
9765         <bits/libc-lockP.h>
9767 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
9769         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
9770         on [__KERNEL__].
9771         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
9772         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
9773         * soft-fp/op-common.h (_FP_DECL): Likewise.
9775 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9777         * elf/ifuncdep2.c (global): Replace
9778         __attribute__((visibility("protected"))) with
9779         asm (".protected global").
9780         * elf/ifuncmod1.c (global): Likewise.
9781         * elf/ifuncmod5.c (global): Likewise.
9783 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
9785         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
9786         <asm/sfp-machine.h> instead of <sfp-machine.h>.
9788 2015-03-06  Roland McGrath  <roland@hack.frob.com>
9790         * manual/install.texi (Configuring and compiling):
9791         Document test-wrapper-env-only.
9792         * INSTALL: Regenerated.
9794 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9796         [BZ #18043]
9797         * posix/wordexp.c (parse_param): Fix buffer overflow.
9798         * posix/wordexp-test.c (do_bz18043): Add test case.
9800 2015-03-06  Vincent Bernat  <vincent@bernat.im>
9802         * time/tst-strptime2.c (do_test): Ensure failing tests are
9803         reported correctly.
9804         * time/tst-strptime3.c (do_test): Likewise.
9806 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
9808         Fix aio_error thread-safety.
9809         * sysdeps/pthread/aio_error.c: New file
9810         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
9811         synchronization.
9813 2015-03-06  Florian Weimer  <fweimer@redhat.com>
9815         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
9816         (group_number, vfprintf): Use it.
9817         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
9818         (JUMP, REF): Use it.
9819         (WORK_BUFFER_SIZE): New enum constant.
9820         (process_arg, vfprintf): Use it.
9822 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
9824         * manual/errno.texi (Error Messages): Complete example function
9825         by adding missing #define.
9826         (program_invocation_name): Add statement indicating GNU
9827         extension and reference which header file declares the variable.
9828         (program_invocation_short_name): Likewise.
9830 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
9832         * manual/errno.texi (Error Messages): Delete strerror ISO C89
9833         compatibility note.
9835 2015-03-05  Roland McGrath  <roland@hack.frob.com>
9837         * Makeconfig (test-wrapper-env-only): New variable.
9838         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
9839         then use that with $(test-wrapper-env-only) rather than using
9840         $(test-wrapper-env) $(run-program-env) $($*-ENV).
9842 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
9844         [BZ #18082]
9845         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
9846         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
9847         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
9848         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
9849         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
9850         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
9851         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
9852         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
9853         Likewise.
9854         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
9855         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
9856         Likewise.
9857         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
9858         Likewise.
9859         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
9860         Likewise.
9861         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
9862         Likewise.
9863         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
9864         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
9865         Likewise.
9866         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
9867         Likewise.
9868         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
9869         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
9871 2015-03-04  Roland McGrath  <roland@hack.frob.com>
9873         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
9874         (ETH_ALEN): New macro.
9875         (struct ether_addr): Use it for length of ether_addr_octet.
9877         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
9878         (setdb): Don't call __nss_configure_lookup for "rpc".
9879         (do_test): Don't call test_rpc.
9880         (output_rpcent, test_rpc): Functions moved ...
9881         * sunrpc/test-rpcent.c: ... to this new file.
9882         * sunrpc/Makefile (tests): Add it.
9884         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
9885         __xpg_sigpause.
9886         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
9887         * nptl/tst-signal6.c: Likewise.
9888         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
9889         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
9891         * configure.ac (libc_cv_cxx_link_ok): New check.
9892         Reset CXX to empty if it fails to link.
9893         * configure: Regenerated.
9894         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
9895         bug-atexit3-lib only if $(CXX) is nonempty.
9896         * nptl/Makefile (tests): Likewise for tst-cancel24.
9897         (tests, tests-static): Likewise for tst-cancel24-static.
9898         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
9899         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
9900         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
9901         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
9903 2015-03-04  Andreas Schwab  <schwab@suse.de>
9905         [BZ #17631]
9906         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
9907         for non-GCC compilers.
9908         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9909         Likewise.
9911 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9913         [BZ #17776]
9914         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
9915         integer before bitwise and assembly operations.
9916         (feclearexcept): Likewise.
9917         * math/test-fenvinline.c: New file.
9918         * math/Makefile: Add test-fenvinline test.
9920 2015-03-03  Alan Modra  <amodra@gmail.com>
9922         [BZ #16512]
9923         * scripts/localplt.awk: Strip off symbol version.
9924         * NEWS: Mention bug fix.
9926 2015-03-02  Roland McGrath  <roland@hack.frob.com>
9928         * sysdeps/pthread/timer_routines.c
9929         (timer_free_list, thread_free_list, thread_active_list): Make static.
9931 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
9933         [BZ #17779]
9934         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9935         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9936         Undefine.
9937         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9938         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9939         Likewise.
9940         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9941         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9942         Likewise.
9944 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
9946         [BZ #18036]
9947         * posix/fnmatch_loop.c (END): Detect invalid pattern.
9948         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9950 2015-03-02  Andreas Schwab  <schwab@suse.de>
9952         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9953         variable name.
9955 2015-03-02  Florian Weimer  <fweimer@redhat.com>
9957         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9958         Return error status.
9960 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
9962         [BZ #15969]
9963         * locale/findlocale.c (_nl_find_locale): Introduce const
9964         version of loc_name and drop unsafe type casts.
9966 2015-02-27  Roland McGrath  <roland@hack.frob.com>
9968         * dlfcn/tststatic2.c (main): Converted to ...
9969         (do_test): ... this.
9970         (TEST_FUNCTION): New macro.
9971         Include test-skeleton.c.
9973 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
9975         [BZ #17711]
9976         * elf/Makefile (tests): Add vismain only if PIE is enabled.
9977         (tests-pie): Add vismain.
9978         (CFLAGS-vismain.c): New.
9979         * elf/vismain.c: Add comments for PIE requirement.
9981 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
9983         [BZ #18046]
9984         [BZ #18047]
9985         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9986         0x1p-56L as threshold for just returning the argument.
9987         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9988         0x1p-32L as threshold for just returning the argument.
9989         * math/auto-libm-test-in: Add more tests of atanh.
9990         * math/auto-libm-test-out: Regenerated.
9991         * sysdeps/i386/fpu/libm-test-ulps: Update.
9992         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9994 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
9996         * string/bcopy.c (bcopy): Call memmove for performance.
9998 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
10000         * string/bzero.c (__bzero): Call memset for performance.
10002 2015-02-27  John David Anglin  <dave.anglin@bell.net>
10004         [BZ #18068]
10005         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
10006         to 00100000.
10008 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
10010         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
10012 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
10014         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
10015         (__kernel_standard): Use CSTR macro when setting exc.name.
10016         * sysdeps/ieee754/Makefile [$(subdir) = math]
10017         (CFLAGS-k_standard.c): Remove variable.
10019         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
10020         setting p and q from "else if" to "else".
10021         (qzero): Likewise.
10022         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
10023         (qone): Likewise.
10024         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
10025         (qzerof): Likewise.
10026         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
10027         (qonef): Likewise.
10028         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
10029         (qzero): Likewise.
10030         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
10031         (qone): Likewise.
10033         [BZ #18038]
10034         [BZ #18039]
10035         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
10036         return pi/2 for arguments below 0x1p-113L.
10037         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
10038         return pi/2 for arguments below 0x1p-106L.
10039         * math/auto-libm-test-in: Add more tests of acos.
10040         * math/auto-libm-test-out: Regenerated.
10042         [BZ #16351]
10043         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
10044         (MO): New macro.
10045         (__ieee754_asin): Force underflow exception for results with small
10046         absolute value.
10047         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
10048         (MO): New macro.
10049         (__ieee754_asinf): Force underflow exception for results with
10050         small absolute value.
10051         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
10052         (__ieee754_asin): Force underflow exception for results with small
10053         absolute value.
10054         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
10055         (__ieee754_asinf): Force underflow exception for results with
10056         small absolute value.
10057         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
10058         (__ieee754_asinl): Force underflow exception for results with
10059         small absolute value.
10060         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
10061         (__ieee754_asinl): Force underflow exception for results with
10062         small absolute value.
10063         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
10064         (__ieee754_asinl): Force underflow exception for results with
10065         small absolute value.
10066         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10067         Include <math.h>.
10068         * math/auto-libm-test-in: Do not mark underflow exceptions as
10069         possibly missing for bug 16351.
10070         * math/auto-libm-test-out: Regenerated.
10072         [BZ #18030]
10073         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
10074         of power of 2 down when low part has opposite sign.
10075         * math/libm-test.inc (logb_test_data): Add more tests.
10077 2015-02-26  Andreas Schwab  <schwab@suse.de>
10079         [BZ #18032]
10080         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
10081         over collating symbol inside a bracket expression.  Minor cleanup.
10082         * posix/tst-fnmatch3.c (do_test): Add test case.
10084 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
10086         [BZ #18029]
10087         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
10088         Adjust exponent of power of 2 down when low part has opposite
10089         sign.
10090         * math/libm-test.inc (ilogb_test_data): Add more tests.
10092 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
10094         [BZ #15969]
10095         * locale/findlocale.c (_nl_find_locale): Fix constness error in
10096         the previous change.
10098         [BZ #15969]
10099         * locale/findlocale.c (_nl_find_locale): Retry archive search
10100         after alias expansion.
10102 2015-02-25  Roland McGrath  <roland@hack.frob.com>
10104         * iconv/tst-iconv3.c (main): Converted to ...
10105         (do_test): ... this.
10106         (TEST_FUNCTION): New macro.
10107         Include test-skeleton.c.
10109         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
10110         (convert): Make function static.
10111         (test_unalign): Likewise.  Add const to argument pointee types.
10112         (main): Replace with static function do_test.
10113         Print "Succeeded." only if RET is zero.
10114         (TEST_FUNCTION): New macro.
10115         Include test-skeleton.c.
10117         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
10118         returns a null pointer.
10120 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10122         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
10123         to __memcpy_ppc only for static builds.
10125 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
10127         [BZ #18020]
10128         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
10129         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
10130         * math/auto-libm-test-in: Add more tests of asinh.
10131         * math/auto-libm-test-out: Regenerated.
10132         * sysdeps/i386/fpu/libm-test-ulps: Update.
10133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10135 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
10137         [BZ #15850]
10138         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
10139         and ip6_mtuinfo definitions here.
10140         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
10141         in this define too.  Update comment.
10143 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
10145         * elf/sprof.c (load_shobj): Tweak error message to match others.
10147 2015-02-24  Kevin Easton  <kevin@guarana.org>
10149         [BZ #16145] (partial fix)
10150         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
10151         to reduce lock contention.
10153 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
10155         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
10156         (struct timex): Update time comment.
10157         (ADJ_SETOFFSET): Define.
10159 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
10161         [BZ #18019]
10162         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10163         2**56 not 2**28 as threshold for log (2x) formula.
10164         * math/auto-libm-test-in: Add more tests of acosh.
10165         * math/auto-libm-test-out: Regenerated.
10166         * sysdeps/i386/fpu/libm-test-ulps: Update.
10167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10169 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
10171         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
10172         parenthesis around the buf assignment.
10173         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
10175 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
10177         [BZ #16783]
10178         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
10179         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
10180         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
10181         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10182         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10183         * math/libm-test.inc (scalb_test_data): Add more tests.
10185 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10187         [BZ #17916]
10188         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
10189         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
10191 2015-02-24  Eric Rannaud  <e@nanocritical.com>
10193         [BZ #17523]
10194         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
10195         * io/bits/fcntl2.h (open): Use it.
10196         (openat): Likewise.
10197         * io/open.c (__libc_open): Likewise.
10198         * io/open64.c (__libc_open64): Likewise.
10199         * io/open64_2.c (__open64_2): Likewise.
10200         * io/open_2.c (__open_2): Likewise.
10201         * io/openat.c (__openat): Likewise.
10202         * io/openat64.c (__openat64): Likewise.
10203         * io/openat64_2.c (__openat64_2): Likewise.
10204         * io/openat_2.c (__openat_2): Likewise.
10205         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
10206         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10207         * sysdeps/posix/open64.c (__libc_open64): Likewise.
10208         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10209         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
10210         (__open_nocancel): Likewise.
10211         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10212         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
10213         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
10215 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10217         [BZ #14841]
10218         * resolv/gethnamaddr.c (getanswer): Skip logging if
10219         RES_USE_DNSSEC is set.
10220         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10222 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
10224         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
10226 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
10228         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10229         201304L, for Unicode 7.
10231 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
10233         [BZ #17836]
10234         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
10235         shared library.  Add gmon-start.os otherwise.
10236         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
10237         $(objpfx)gmon-start.os if builing shared library.
10238         ($(objpfx)g$(static-start-installed-name)): Likewise.
10240 2015-02-23  Andreas Schwab  <schwab@suse.de>
10242         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
10244 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
10246         [BZ #17269]
10247         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
10248         (enlarge_userbuf): Likewise.
10250 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
10252         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
10253         * math/atest-exp.c (TIMEOUT): Adjust to 200.
10254         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
10255         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
10257 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
10259         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
10260         expression inside statement expression.
10262 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10264         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
10265         <sysdeps/nptl/lowlevellock.h> and remove macros and
10266         functions that are now defined there.
10267         (SYS_futex): Remove.
10268         (lll_compare_and_swap): Remove.
10269         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
10271 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
10273         [BZ #17999]
10274         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
10275         instead of scandirat.
10276         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
10277         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
10278         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
10279         __scandirat.
10280         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
10281         (__scandirat): Declare.  Use libc_hidden_proto.
10282         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
10283         Remove variable.
10284         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10286 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
10288         [BZ #15319]
10289         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
10290         (MO): New macro.
10291         (__ieee754_atan2): For results with small absolute value, force
10292         underflow exception and remove excess range and precision from
10293         return value.
10294         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
10295         (MO): New macro.
10296         (__ieee754_atan2f): For results with small absolute value, force
10297         underflow exception and remove excess range and precision from
10298         return value.
10299         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
10300         (MO): New macro.
10301         (__atan): For results with small absolute value, force underflow
10302         exception and remove excess range and precision from return value.
10303         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
10304         (MO): New macro.
10305         (__atanf): For results with small absolute value, force underflow
10306         exception and remove excess range and precision from return value.
10307         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
10308         <math.h>.
10309         (__ieee754_atan2): Force underflow exception for results with
10310         small absolute value.
10311         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
10312         <math_private.h>.
10313         (atan): Force underflow exception for results with small absolute
10314         value.
10315         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
10316         (__atanf): Force underflow exception for results with small
10317         absolute value.
10318         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
10319         <math.h>.
10320         (__atanl): Force underflow exception for results with small
10321         absolute value.
10322         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
10323         (__atanl): Force underflow exception for results with small
10324         absolute value.
10325         * sysdeps/x86/fpu/bits/mathinline.h
10326         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
10327         (__ieee754_atan2): Only define inline for long double.
10328         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10329         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
10330         * math/auto-libm-test-in: Do not mark underflow exceptions as
10331         possibly missing for bug 15319.  Add more tests of atan2.
10332         * math/auto-libm-test-out: Regenerated.
10333         * math/libm-test.inc (casin_test_data): Do not mark underflow
10334         exceptions as possibly missing for bug 15319.
10335         (casinh_test_data): Likewise.
10336         * sysdeps/i386/fpu/libm-test-ulps: Update.
10338 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
10340         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
10341         * sysdeps/mips/bits/endian.h: Fix comments.
10343 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
10345         [BZ #17996]
10346         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
10347         (hdestroy_r): Likewise.
10348         (hsearch_r): Likewise.
10349         (__hcreate_r): Declare and use libc_hidden_proto.
10350         (__hdestroy_r): Likewise.
10351         (__hsearch_r): Likewise.
10352         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
10353         (hcreate): Call __hcreate_r instead of hcreate_r.
10354         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
10355         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
10356         as weak alias of __hcreate_r.
10357         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
10358         __hdestroy_r.
10359         (hsearch_r): Rename to __hsearch_r and define as weak alias of
10360         __hsearch_r.
10361         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
10362         Remove variable.
10363         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10364         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10365         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10366         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10368 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10370         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
10371         arena_lock into a single arena_get.
10373 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
10375         * dl-reloc.c: Inlucde libc-internal.h.
10376         (_dl_try_allocate_static_tls): Call ALIGN_UP.
10377         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
10378         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
10379         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
10380         (grow_heap): Likewise.
10381         * malloc/malloc.c: Include libc-internal.h.
10382         (do_check_malloc): Call powerof2.
10383         (sysmalloc): Use pagesize. Call ALIGN_UP.
10384         (systrim): Use pagesize.
10385         (mremap_chunk): Use pagesize. Call ALIGN_UP.
10386         (__libc_valloc): Use pagesize.
10387         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
10389 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
10391         [BZ #17991]
10392         * include/sys/resource.h (__getrlimit64): Declare.  Use
10393         libc_hidden_proto.
10394         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
10395         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
10396         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
10397         getrlimit64.
10398         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
10399         __getrlimit64.
10400         [!getrlimit64] (getrlimit64): Define as weak alias of
10401         __getrlimit64.  Use libc_hidden_weak.
10402         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
10403         using __getrlimit64 not __new_getrlimit64.
10404         (__GI_getrlimit64): Likewise.
10405         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
10406         Likewise.
10407         (__GI_getrlimit64): Likewise.
10408         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
10409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
10410         (getrlimit): Add __getrlimit64 alias.
10411         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
10412         Likewise.
10413         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
10414         Remove variable.
10415         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10416         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10418 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
10420         * libio/fileops.c: Add missing sys/mman.h
10421         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
10423 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
10425         * manual/math.texi (Errors in Math Functions): Clarify goals
10426         regarding inexact and underflow exceptions.
10428 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
10430         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
10431         * sysdeps/mips/memset.S: Ditto.
10433 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
10435         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
10437 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10439         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
10440         (__v1longjmp): Remove versioned symbol.
10441         (__v1siglongjmp): Remove alias and versioned symbol.
10442         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
10443         (__v2siglongjmp): Likewise.
10445 2015-02-16  Torvald Riegel  <triegel@redhat.com>
10447         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
10449 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
10451         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
10453 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
10455         [BZ #17987]
10456         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
10457         zero result does not depend on the sign resulting from
10458         subtraction.
10459         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
10460         Likewise.
10461         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10462         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
10463         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10464         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
10465         * math/libm-test.inc (remquo_test_data): Add more tests.
10467 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
10469         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
10470         Problem reported by J William Piggott.
10472 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
10474         [BZ #17978]
10475         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
10476         products 4 * y and 2 * y where those would overflow.
10477         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
10478         Likewise.
10479         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10480         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
10481         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10482         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
10483         * math/libm-test.inc (remquo_test_data): Add more tests.
10485         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
10487         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
10488         [defined _COMPILING_NEWLIB].
10489         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
10490         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
10492         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
10493         [!defined __mips_isa_rev || __mips_isa_rev < 6].
10495 2015-02-16  Torvald Riegel  <triegel@redhat.com>
10497         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
10498         acquired.
10500 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
10502         [BZ #17792]
10503         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
10504         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
10505         HOST_STACK_END_ADDR): Likewise.
10507 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
10509         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
10510         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
10511         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
10513 2015-02-13  Roland McGrath  <roland@hack.frob.com>
10515         * sysdeps/generic/c++-types.data: New file.
10516         * sysdeps/generic/ld.abilist: New file.
10517         * sysdeps/generic/libBrokenLocale.abilist: New file.
10518         * sysdeps/generic/libanl.abilist: New file.
10519         * sysdeps/generic/libc.abilist: New file.
10520         * sysdeps/generic/libcrypt.abilist: New file.
10521         * sysdeps/generic/libdl.abilist: New file.
10522         * sysdeps/generic/libm.abilist: New file.
10523         * sysdeps/generic/libpthread.abilist: New file.
10524         * sysdeps/generic/libresolv.abilist: New file.
10525         * sysdeps/generic/librt.abilist: New file.
10527 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
10529         [BZ #17569]
10530         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
10531         Compute absolute value of x as modified by fmod, not original
10532         value of x.
10533         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
10534         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
10535         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
10536         RUN_TEST_ffI_f1_mod8.
10537         (remquo_test_data): Add more tests.
10539 2015-02-13  Roland McGrath  <roland@hack.frob.com>
10541         * sysdeps/init_array/pt-crti.S: New file.
10543 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
10545         [BZ #17967]
10546         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
10547         __builtin_fmaf instead of relying on contraction of a * b + c.
10549 2015-02-12  J William Piggott  <elseifthen@gmx.com>
10551         [BZ #17969]
10552         * manual/time.texi: correct the zoneinfo path in the TZ Variable
10553         node.
10555 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
10557         [BZ #17964]
10558         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
10559         __builtin_fma instead of relying on contraction of a * b + c.
10561 2015-02-12  Roland McGrath  <roland@hack.frob.com>
10563         * Makeconfig (ASFLAGS): Add -Werror=undef.
10564         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
10565         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
10566         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
10568         * Makeconfig (after-link): New variable.
10569         (+link-pie, +link-pie-tests): Use it.
10570         (+link-static, +link-static-tests): Likewise.
10571         (+link, +link-tests): Likewise.
10572         * Makerules (build-module, build-module-asneeded): Likewise.
10573         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
10574         Likewise.
10575         * elf/Makefile ($(objpfx)ld.so): Likewise.
10577 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
10579         [BZ #17965]
10580         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
10581         both struct timeval and struct timespec.
10583 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
10585         [BZ #16560]
10586         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10587         and redefine.
10588         (__ieee754_exp2l): Do not multiply small fractional parts by
10589         M_LN2l.
10590         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
10591         small argument.
10592         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10593         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10594         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
10595         * math/auto-libm-test-in: Add more tests of exp2.
10596         * math/auto-libm-test-out: Regenerated.
10598 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10600         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
10601         unaligned path.
10603 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10605         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
10606         little endian.
10608 2015-02-12  Andreas Schwab  <schwab@suse.de>
10610         [BZ #15790]
10611         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10612         Filter out elision flags from value returned in kind.
10613         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
10614         * nptl/tst-pthread-mutexattr.c: New file.
10616 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10618         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
10619         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
10620         into gnu-gnu, and update comment to refer to abi-tags.
10622 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
10624         [BZ #15467]
10625         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
10626         (__sincos): Set errno to EDOM for infinite argument.
10627         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
10628         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
10629         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
10630         (__sincosl): Set errno to EDOM for infinite argument.
10631         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
10632         (__sincosl): Set errno to EDOM for infinite argument.
10633         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
10634         (__sincosl): Set errno to EDOM for infinite argument.
10635         * math/libm-test.inc (sincos_test_data): Test errno setting.
10637 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
10639         * string/strxfrm_l.c: Remove #define STRCMP.
10640         * string/strcoll_l.c: Remove #define STRLEN.
10641         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
10642         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
10644 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
10646         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
10647         * sysdeps/mips/mips32/sfp-machine.h: ... here.
10648         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
10649         * sysdeps/mips/mips64/Makefile: ... here.
10650         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
10651         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
10652         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
10653         * sysdeps/mips/mips64/sfp-machine.h: ... here.
10654         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
10655         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
10656         * sysdeps/mips/mips64/n64/Implies: Likewise.
10658 2015-02-10  Roland McGrath  <roland@hack.frob.com>
10660         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
10661         <sys/time.h>, <string.h>, and <errno.h>.
10662         (dest_offset, dest_address, value, zero): Remove unused variables.
10663         (ldouble): Remove typedef.
10664         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
10665         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
10666         1).  Fix code style.
10667         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
10668         (check): Function removed.
10669         (CHECK): New macro.
10670         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
10671         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
10672         Don't call set_sigaction_FP and remove_sigaction_FP here.
10673         (ldouble_test): Just use 'long double' as macro argument, no need for
10674         the 'ldouble' typedef.
10675         (do_test): Set up SIGFPE handler at start, using plain signal rather
10676         than sigaction.  Fix code style.
10678 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
10680         [BZ #17949]
10681         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
10682         jump label.
10684 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10686         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
10687         * sysdeps/powerpc/powerpc32/configure: Regenerated.
10689         * sysdeps/powerpc/configure.ac: Remove file.
10690         * sysdeps/powerpc/configure: Likewise.
10692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10693         [sysdep_routines]: Remove wordcopy-power6 object.
10694         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10695         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
10696         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
10697         (__memmove_ppc32): Likewise.
10698         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
10699         file.
10700         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
10701         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
10702         Remove preprocessor.
10704         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10705         [sysdep_routines]: Remove wide chars objects.
10706         [wcsmbs]: New rule for wide char objects.
10708         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10709         Remove wordcopy-power6 obejct.
10710         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
10711         Use local call for wordcopy and memcpy symbols.
10712         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
10713         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
10714         implementation for loader.
10715         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
10717         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10718         Remove wordcopy-power7 object.
10719         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
10720         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
10721         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
10722         (_wordcopy_fwd_dest_aligned): Likewise.
10723         (_wordcopy_bwd_aligned): Likewise.
10724         (_wordcopy_bwd_dest_aligned): Likewise.
10726         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
10727         Rewrite to call __memmove_ppc instead of include default
10728         implementation.
10730         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10731         Remove wide chars objects.
10732         [wcsmbs]: New rule for wide char objects.
10734 2015-02-09  Andreas Schwab  <schwab@suse.de>
10736         [BZ #17912]
10737         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10738         in terms of __O_DIRECTORY.
10740 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10742         * time/getdate.c: Include <stdbool.h>.
10743         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
10744         call PTR_MANGLE.
10745         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
10746         PTR_DEMANGLE.
10748 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
10750         Add ersatz _Static_assert on older C hosts
10751         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
10752         pre-C11 C platform that is not known to support _Static_assert.
10754 2015-02-07  Richard Braun  <rbraun@sceen.net>
10756         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
10757         sigstate.
10758         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
10760 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10762         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
10763         priority against unexistent AIO_PRIO_DELTA_MAX.
10764         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
10765         instead of int.
10766         * misc/fchflags.c (fchflags): Likewise.
10767         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
10768         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
10769         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
10770         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
10771         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
10772         Declare macros.
10773         [__USE_MISC] (chflags, fchflags): Declare functions.
10774         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
10775         EINVAL when nfds is greater than FD_SETSIZE.
10776         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
10777         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
10778         45.
10779         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
10780         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
10781         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
10782         MACH_RCV_TIMED_OUT.
10783         * hurd/hurd/signal.h (_hurd_self_sigstate,
10784         _hurd_critical_section_lock, _hurd_critical_section_unlock):
10785         Explicit casts from void *.
10786         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
10787         * abi-tags: Rename gnu-gnu os into gnu.
10789         [BZ #4719]
10790         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
10791         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
10792         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
10793         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
10794         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
10795         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
10797         [BZ #17944]
10798         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
10799         duplicates ADDR->sun_path with sockaddr LEN limitation.
10800         * sysdeps/mach/hurd/connect.c: Include <string.h>
10801         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
10802         * sysdeps/mach/hurd/sendmsg.c: Likewise.
10803         * sysdeps/mach/hurd/sendto.c: Likewise.
10804         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
10805         implementing it by hand.
10807 2015-02-06  Roland McGrath  <roland@hack.frob.com>
10809         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
10810         Use sfi_breg on ldr.
10811         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
10812         Likewise.
10814         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
10815         it's defined.
10816         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
10817         Test SIGSETXID only if it's defined.
10819         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
10821         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
10822         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
10824         * nptl/tst-align2.c: Moved ...
10825         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
10826         * nptl/Makefile (tests): Remove tst-align2.
10827         * sysdeps/unix/sysv/linux/Makefile
10828         [$(subdir) = nptl] (tests): Add tst-align-clone.
10829         * nptl/tst-getpid1.c: Moved ...
10830         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
10831         * nptl/tst-getpid2.c: Moved ...
10832         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
10833         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
10834         * sysdeps/unix/sysv/linux/Makefile
10835         [$(subdir) = nptl] (tests): ... here.
10836         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
10837         * sysdeps/unix/sysv/linux/Makefile
10838         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
10840         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
10841         Drop trailing \n from perror argument.  Use return rather than exit.
10843         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
10844         on [SA_SIGINFO].
10845         * nptl/tst-cancel21.c (do_test): Likewise.
10846         * debug/tst-backtrace6.c: Include <signal.h> first thing.
10847         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
10848         [!SA_SIGINFO]: Make it a stub test.
10850         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
10851         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
10853         * posix/tst-getlogin.c: Move to ...
10854         * login/tst-getlogin.c: ... here.
10855         * posix/Makefile (tests): Move tst-getlogin to ...
10856         * login/Makefile (tests): ... here.
10858         * libio/tst-atime.c (do_test): Move local variables SV and E
10859         inside [ST_NOATIME] conditional.
10861         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
10863         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
10865         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
10866         (wait_code): New function replaces macro.
10867         Call nanosleep rather than syscall.
10869         * nptl/pt-system.c: Rewritten.  Put everything under
10870         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10871         Use IFUNC to redirect when possible.
10873         * nptl/pt-longjmp.c: Rewritten.  Put everything under
10874         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10875         Use IFUNC to redirect when possible.
10877         * nptl/pt-fork.c: Rewritten.  Put everything under
10878         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10879         Use IFUNC to redirect when possible.
10880         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
10882         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
10883         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
10884         unconditionally nowadays.  This included the only reference to
10885         __vdso_clock_gettime that appears outside libc proper.
10886         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
10887         Remove version set (containing only __vdso_clock_gettime).
10888         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10889         Add attribute_hidden.
10890         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10891         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
10892         libc_hidden_data_def.
10893         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10894         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10896         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
10897         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
10898         setrpcent, and getrpcport to ...
10899         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
10900         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
10901         getrpcbynumber_r, and getrpcent_r to ...
10902         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
10903         * inet/getrpcbyname.c: Moved ...
10904         * sunrpc/getrpcbyname.c: ... here.
10905         * inet/getrpcbyname_r.c: Moved ...
10906         * sunrpc/getrpcbyname_r.c: ... here.
10907         * inet/getrpcbynumber.c: Moved ...
10908         * sunrpc/getrpcbynumber.c: ... here.
10909         * inet/getrpcbynumber_r.c: Moved ...
10910         * sunrpc/getrpcbynumber_r.c: ... here.
10911         * inet/getrpcent.c: Moved ...
10912         * sunrpc/getrpcent.c: ... here.
10913         * inet/getrpcent_r.c: Moved ...
10914         * sunrpc/getrpcent_r.c: ... here.
10915         * inet/Makefile (routines): Move those to ...
10916         * sunrpc/Makefile (routines): ... here.
10917         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
10918         the $(subdirs) list.
10919         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
10920         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
10921         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
10922         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
10924         * elf/Makefile (routines): Include $(all-dl-routines), not just
10925         $(dl-routines).
10926         (rtld-routines): Likewise.  Use = rather than :=.
10927         * sysdeps/aarch64/Makefile [$(subdir) = elf]
10928         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
10929         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
10930         * sysdeps/arm/Makefile: Likewise.
10931         * sysdeps/i386/Makefile: Likewise.
10932         * sysdeps/x86_64/Makefile: Likewise.
10933         * sysdeps/hppa/Makefile [$(subdir) = elf]
10934         (sysdep_routines, sysdep-rtld-routines): Don't add
10935         $(sysdep-dl-routines) to these.
10936         * sysdeps/ia64/Makefile: Likewise.
10937         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
10938         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
10939         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
10940         Don't add dl-static to these; sysdep-dl-routines alone is enough.
10941         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
10942         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
10943         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
10944         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10945         * sysdeps/powerpc/Makefile [$(subdir) = elf]
10946         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10947         these; sysdep-dl-routines alone is enough.
10949 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
10951         [BZ #17932]
10952         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10953         where multiplication results in zero and third argument is finite
10954         and nonzero.
10955         * math/auto-libm-test-in: Add more tests of fma.
10956         * math/auto-libm-test-out: Regenerated.
10958         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10959         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10960         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10961         (_FP_CMP_EQ): Likewise.
10962         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10964         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10965         extra argument CHECK_NAN.  Redefine as wrapper around
10966         _FP_EXTEND_CNAN.
10968 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
10970         * version.h (RELEASE): Set to "stable".
10971         (VERSION): Set to "2.21"
10972         * include/features.h (__GLIBC_MINOR__): Set to 21.
10974         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10976 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10977             Paul Eggert  <eggert@cs.ucla.edu>
10979         [BZ #16618]
10980         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10981         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10982         size in bytes. Store needed elements in wpmax. Use needed size
10983         in bytes for extend_alloca.
10985 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
10987         * manual/install.texi: Latest tested versions are GCC 4.9.2,
10988         binutls 2.25, and texinfo 5.2.
10989         * INSTALL: Regenerate.
10990         * sysdeps/nios2/configure: Regenerate.
10991         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10992         * manual/contrib.texi: Update.
10993         * po/be.po: Update.
10994         * po/bg.po: Update.
10995         * po/ca.po: Update.
10996         * po/cs.po: Update.
10997         * po/da.po: Update.
10998         * po/de.po: Update.
10999         * po/el.po: Update.
11000         * po/eo.po: Update.
11001         * po/es.po: Update.
11002         * po/fi.po: Update.
11003         * po/fr.po: Update.
11004         * po/gl.po: Update.
11005         * po/hr.po: Update.
11006         * po/hu.po: Update.
11007         * po/ia.po: Update.
11008         * po/id.po: Update.
11009         * po/it.po: Update.
11010         * po/ja.po: Update.
11011         * po/ko.po: Update.
11012         * po/lt.po: Update.
11013         * po/nb.po: Update.
11014         * po/nl.po: Update.
11015         * po/pl.po: Update.
11016         * po/pt_BR.po: Update.
11017         * po/ru.po: Update.
11018         * po/rw.po: Update.
11019         * po/sk.po: Update.
11020         * po/sl.po: Update.
11021         * po/sv.po: Update.
11022         * po/tr.po: Update.
11023         * po/uk.po: Update.
11024         * po/vi.po: Update.
11025         * po/zh_CN.po: Update.
11026         * po/zh_TW.po: Update.
11028         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
11029         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
11030         * sysdeps/hppa/dl-irel.h: Remove #warning.
11031         * sysdeps/hppa/entry.h: Provide prototype for
11032         __canonicalize_funcptr_for_compare and cast argument.
11033         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
11034         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
11035         * sysdeps/hppa/sotruss-lib.c: New file.
11036         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
11037         (atomic_compare_and_exchange_val_acq): Use __typeof__.
11038         (atomic_compare_and_exchange_bool_acq): Likewise.
11039         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
11040         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
11042         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
11043         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
11044         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
11046 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
11048         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
11049         called function in non-PIC case.
11051 2015-01-31  David S. Miller  <davem@davemloft.net>
11053         * sysdeps/sparc/sparc32/bits/atomic.h
11054         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
11055         unlock not after it.
11056         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
11057         volatile register usage warnings from the compiler.
11059         * sysdeps/sparc/nptl/sem_init.c: Delete.
11060         * sysdeps/sparc/nptl/sem_post.c: Delete.
11061         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
11062         * sysdeps/sparc/nptl/sem_wait.c: Delete.
11063         * sysdeps/sparc/sparc32/sem_init.c: New file.
11064         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
11065         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
11066         padding explicitly initialized.
11067         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
11068         padding for in-semaphore spinlock.
11069         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
11070         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
11071         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
11072         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
11073         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
11074         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
11075         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
11076         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
11077         version.
11078         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
11079         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
11081 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
11083         [BZ #17801]
11084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11085         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
11086         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
11087         New.
11088         (index_AVX_Fast_Unaligned_Load): Likewise.
11089         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
11090         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
11091         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
11092         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
11093         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
11094         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
11095         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
11096         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
11097         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
11099 2015-01-29  Andreas Schwab  <schwab@suse.de>
11101         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
11103 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
11105         [BZ #17892]
11106         * nscd/nscd_stat.c (send_stats): Initialize DATA.
11108 2015-01-28  Martin Sebor  <msebor@redhat.com>
11110         * math/README.libm-test: Clarify. Add "How to read the test output."
11112 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
11114         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
11115         Define to 0.
11117 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
11119         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
11120         (__HAVE_64B_ATOMICS): Define to 0.
11122 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11124         [BZ #17885]
11125         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
11126         value to set as new flag.
11128         [BZ #16576]
11129         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
11130         and use _ARCH_PPCSQ instead.
11131         (__ieee754_sqrt): Likewise.
11132         (__ieee754_sqrtf): Likewise.
11133         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
11134         _ARCH_PPCSQ is defined.
11135         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
11136         fsqrt instruction.
11137         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
11138         _ARCH_PPCSQ is defined.
11139         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
11140         fsqrts instruction.
11141         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
11143 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11145         * iconv/loop.c: Suppress array out of bound warning caused by GCC
11146         bug (GCC BZ #64739).
11148 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
11150         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
11151         Mark _retval as used.
11152         (lll_futex_wake_unlock): Likewise.
11153         (lll_futex_timed_wait_requeue_pi): Likewise.
11155         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11156         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
11157         register variables.
11159         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
11160         libm_hidden_def.
11162         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
11163         (__bswap_64): Mark as __always_inline.
11165 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
11167         [BZ #15378]
11168         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
11169         when none of the search directories exist.
11171 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11173         [BZ #17869]
11174         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
11175         power8 in .machine directive.
11177         [BZ #17868]
11178         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
11179         set dependency from opd value.
11181 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
11183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11184         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
11185         architecture.
11187 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
11189         [BZ #17870]
11190         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
11191         with uint64_t.
11192         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
11193         (uint64_t) 1.
11194         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
11195         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
11196         Replace 1UL with (uint64_t) 1.
11197         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
11198         int with uint64_t.
11200 2015-01-23  Roland McGrath  <roland@hack.frob.com>
11202         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
11203         (if_freenameindex): Likewise.
11205         * resource/getrlimit64.c: Add missing libc_hidden_def.
11207 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
11209         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
11210         __label__.
11211         (_FP_FMA): Likewise.
11212         (_FP_TO_INT_ROUND): Likewise.
11213         (_FP_FROM_INT): Likewise.
11215 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11217         [BZ #16418]
11218         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
11219         Make code racy and cancel safe.
11221 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
11223         * sysdeps/arm/unwind-resume.h: Fix copyright year.
11224         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
11225         attribution.
11227         * pwd/tst-getpw.c: Rewrite.
11229         [BZ #17702]
11230         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
11231         (modules-names): Add moddummy1 and moddummy2.
11232         ($(objpfx)tst-rec-dlopen): Define.
11233         * dlfcn/moddummy1.c: New file.
11234         * dlfcn/moddummy2.c: New file.
11235         * dlfcn/tst-rec-dlopen.c: New file.
11236         * elf/dl-cache.c (_dl_load_cache_lookup):
11237         Return char*. Copy result with alloca/strcpy/strdup.
11238         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
11239         returns char*. Free cached. If not saving realname
11240         free cached.
11241         * elf/dl-open.c (dl_open_worker): Do not assert that
11242         _r_debug->r_state is RT_CONSISTENT.
11243         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
11244         returns char*.
11246 2015-01-21  Torvald Riegel  <triegel@redhat.com>
11247             Carlos O'Donell  <carlos@redhat.com>
11249         [BZ #12674]
11250         * nptl/sem_waitcommon.c: New file.
11251         * nptl/sem_wait.c: Include sem_waitcommon.c.
11252         (__sem_wait_cleanup, do_futex_wait): Remove.
11253         (__new_sem_wait): Adapt.
11254         (__new_sem_trywait): New function.
11255         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
11256         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
11257         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
11258         (sem_timedwait): Adapt.
11259         * nptl/sem_post.c (__new_sem_post): Adapt.
11260         (futex_wake): New function.
11261         (__old_sem_post): Add release MO fence.
11262         * nptl/sem_open.c (sem_open): Adapt.
11263         * nptl/sem_init.c (__new_sem_init): Adapt.
11264         (futex_private_if_supported): New function.
11265         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
11266         (__old_sem_getvalue): Add using previous code.
11267         * sysdeps/nptl/internaltypes.h: Adapt.
11268         * nptl/tst-sem13.c (do_test): Adapt.
11269         * nptl/tst-sem11.c (main): Adapt.
11270         * nptl/sem_trywait.c: Remove.
11271         * nptl/DESIGN-sem.txt: Remove.
11272         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
11273         (gen-as-const-headers): Remove structsem.sym.
11274         * nptl/structsem.sym: Remove.
11275         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
11276         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
11277         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
11278         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
11279         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
11280         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
11281         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
11282         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
11283         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
11284         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
11285         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
11286         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
11287         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
11288         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
11289         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
11290         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
11291         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
11292         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
11293         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
11294         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
11295         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
11296         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
11298 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
11300         * INSTALL: Regenerated.
11302         * po/libc.pot: Regenerated.
11304 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
11305             Sandra Loosemore  <sandra@codesourcery.com>
11306             Andrew Jenner  <andrew@codesourcery.com>
11307             Joseph Myers  <joseph@codesourcery.com>
11308             Nathan Sidwell  <nathan@codesourcery.com>
11310         * NEWS: Mention new Nios II port.
11311         * sysdeps/nios2/Implies: New file.
11312         * sysdeps/nios2/Makefile: New file.
11313         * sysdeps/nios2/Subdirs: New file.
11314         * sysdeps/nios2/Versions: New file.
11315         * sysdeps/nios2/__longjmp.S: New file.
11316         * sysdeps/nios2/abort-instr.h: New file.
11317         * sysdeps/nios2/backtrace.c: New file.
11318         * sysdeps/nios2/bits/endian.h: New file.
11319         * sysdeps/nios2/bits/fenv.h: New file.
11320         * sysdeps/nios2/bits/link.h: New file.
11321         * sysdeps/nios2/bits/setjmp.h: New file.
11322         * sysdeps/nios2/bsd-_setjmp.S: New file.
11323         * sysdeps/nios2/bsd-setjmp.S: New file.
11324         * sysdeps/nios2/configure: New generated file.
11325         * sysdeps/nios2/configure.ac: New file.
11326         * sysdeps/nios2/crti.S: New file.
11327         * sysdeps/nios2/crtn.S: New file.
11328         * sysdeps/nios2/dl-init.c: New file.
11329         * sysdeps/nios2/dl-machine.h: New file.
11330         * sysdeps/nios2/dl-sysdep.h: New file.
11331         * sysdeps/nios2/dl-tls.h: New file.
11332         * sysdeps/nios2/dl-trampoline.S: New file.
11333         * sysdeps/nios2/gccframe.h: New file.
11334         * sysdeps/nios2/gmp-mparam.h: New file.
11335         * sysdeps/nios2/jmpbuf-offsets.h: New file.
11336         * sysdeps/nios2/jmpbuf-unwind.h: New file.
11337         * sysdeps/nios2/ldsodefs.h: New file.
11338         * sysdeps/nios2/libc-tls.c: New file.
11339         * sysdeps/nios2/libm-test-ulps: New file.
11340         * sysdeps/nios2/machine-gmon.h: New file.
11341         * sysdeps/nios2/math-tests.h: New file.
11342         * sysdeps/nios2/math_private.h: New file.
11343         * sysdeps/nios2/memusage.h: New file.
11344         * sysdeps/nios2/nptl/Makefile: New file.
11345         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
11346         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
11347         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
11348         * sysdeps/nios2/nptl/pthreaddef.h: New file.
11349         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
11350         * sysdeps/nios2/nptl/tls.h: New file.
11351         * sysdeps/nios2/preconfigure: New file.
11352         * sysdeps/nios2/s_fma.c: New file.
11353         * sysdeps/nios2/s_fmaf.c: New file.
11354         * sysdeps/nios2/setjmp.S: New file.
11355         * sysdeps/nios2/sfp-machine.h: New file.
11356         * sysdeps/nios2/sotruss-lib.c: New file.
11357         * sysdeps/nios2/stackguard-macros.h: New file.
11358         * sysdeps/nios2/stackinfo.h: New file.
11359         * sysdeps/nios2/start.S: New file.
11360         * sysdeps/nios2/sysdep.h: New file.
11361         * sysdeps/nios2/tls-macros.h: New file.
11362         * sysdeps/nios2/tst-audit.h: New file.
11363         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
11364         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
11365         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
11366         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
11367         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
11368         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
11369         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
11370         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
11371         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
11372         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
11373         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
11374         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
11375         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
11376         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
11377         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
11378         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
11379         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
11380         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
11381         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
11382         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
11383         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
11384         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
11385         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
11386         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
11387         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
11388         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
11389         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
11390         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
11391         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
11392         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
11393         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
11394         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
11395         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
11396         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
11397         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
11398         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
11399         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
11400         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
11401         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
11402         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
11403         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
11404         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
11405         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
11406         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
11408 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11410         [BZ #17844]
11411         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
11412         (getutent): Use weak_alias in non SHARED case
11413         and default_symbol_version in SHARED case.
11414         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
11415         (getutent_r, pututline): Likewise.
11416         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
11417         (getutid): Likewise.
11418         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
11419         (getutid_r): Likewise.
11420         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
11421         (getutline): Likewise.
11422         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
11423         (getutline_r): Likewise.
11424         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
11425         (updwtmp): Likewise.
11427 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11429         [BZ #17848]
11430         * sysdeps/s390/s390-32/memcmp.S
11431         (memcmp_g5): Rename to __memcmp_g5.
11432         * sysdeps/s390/s390-32/memcpy.S
11433         (memcpy_g5): Rename to __memcpy_g5.
11434         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11435         (memcpy_mvcle) Rename to __memcpy_mvcle.
11436         * sysdeps/s390/s390-32/memset.S
11437         (memset_g5): Rename to __memset_g5.
11438         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11439         (IFUNC_RESOLVE): Prefix ifunc-resolve function
11440         and use prefixed functions.
11441         * sysdeps/s390/s390-32/multiarch/memcmp.S
11442         (memcmp_z196): Rename to __memcmp_z196.
11443         (memcmp_z10): Rename to __memcmp_z10.
11444         (memcmp): Set alias to __memcmp_g5.
11445         (bcmp): Set alias to __memcmp_g5.
11446         * sysdeps/s390/s390-32/multiarch/memcpy.S
11447         (memcpy_z196): Rename to __memcpy_z196.
11448         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11449         (memcpy_z10): Rename to __memcpy_z10.
11450         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11451         (memcpy): Set alias to __memcpy_g5.
11452         * sysdeps/s390/s390-32/multiarch/memset.S
11453         (memset_z196): Rename to __memset_z196.
11454         Jump to __memset_mvcle instead of memset_mvcle.
11455         (memset_z10): Rename to __memset_z10.
11456         Jump to __memset_mvcle instead of memset_mvcle.
11457         (memset_mvcle) Rename to __memset_mvcle.
11458         (memset): Set alias to __memset_g5.
11459         * sysdeps/s390/s390-64/memcmp.S
11460         (memcmp_z900): Rename to __memcmp_z900.
11461         * sysdeps/s390/s390-64/memcpy.S
11462         (memcpy_z900): Rename to __memcpy_z900.
11463         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11464         (memcpy_mvcle) Rename to __memcpy_mvcle.
11465         * sysdeps/s390/s390-64/memset.S
11466         (memset_z900): Rename to __memset_z900.
11467         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
11468         (IFUNC_RESOLVE): Prefix ifunc-resolve function
11469         and use prefixed functions.
11470         * sysdeps/s390/s390-64/multiarch/memcmp.S
11471         (memcmp_z196): Rename to __memcmp_z196.
11472         (memcmp_z10): Rename to __memcmp_z10.
11473         (memcmp): Set alias to __memcmp_z900.
11474         (bcmp): Set alias to __memcmp_z900.
11475         * sysdeps/s390/s390-64/multiarch/memcpy.S
11476         (memcpy_z196): Rename to __memcpy_z196.
11477         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11478         (memcpy_z10): Rename to __memcpy_z10.
11479         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11480         (memcpy): Set alias to __memcpy_z900.
11481         * sysdeps/s390/s390-64/multiarch/memset.S
11482         (memset_z196): Rename to __memset_z196.
11483         Jump to __memset_mvcle instead of memset_mvcle.
11484         (memset_z10): Rename to __memset_z10.
11485         Jump to __memset_mvcle instead of memset_mvcle.
11486         (memset_mvcle) Rename to __memset_mvcle.
11487         (memset): Set alias to __memset_z900.
11489 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
11491         [BZ #17748]
11492         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
11493         __fesetenv instead of fesetenv.
11495 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11497         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
11498         macro.
11500 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11502         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
11503         regression on LE.
11505         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
11506         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
11507         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11508         strncmp-power8 object.
11509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11510         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
11511         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
11512         * NEWS: Update.
11514 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11515             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11517         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
11518         trailing byte check.
11520 2015-01-13  David S. Miller  <davem@davemloft.net>
11522         * include/signal.h (__sigreturn): Guard with __USE_MISC.
11524 2015-01-13  Roland McGrath  <roland@hack.frob.com>
11526         * login/logout.c (logout): Use memset rather than bzero.
11527         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
11528         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
11529         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
11530         (_gethtbyaddr): Likewise.
11531         * locale/programs/simple-hash.c (bcopy): Macro removed.
11533 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11535         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11536         Add strcmp-power8 object.
11537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11538         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
11539         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
11540         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
11541         __strcmp_power8 implementation.
11542         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
11543         * NEWS: Update.
11545         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11546         Add strncpy-power8 and stpncpy-power8 objects.
11547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11548         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
11549         implementations.
11550         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
11551         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
11552         __stpncpy_power8 implementation.
11553         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
11554         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
11555         __strncpy_power8 implementation.
11556         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
11557         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
11558         * NEWS: Update.
11560         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
11561         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
11562         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
11564         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11565         strncat-power8 object.
11566         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
11567         __strcat_power8 implementation.
11568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11569         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
11570         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
11571         optimized strcat for power8.
11573         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11574         strcpy-power8 and stpcpy-power8 objects.
11575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11576         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
11577         implementations.
11578         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
11579         multiarch stpcpy implementation for POWER8.
11580         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
11581         multiarch strcpy implementation for POWER8.
11582         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
11583         __strcpy_power8 function.
11584         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
11585         stpcpy for POWER8.
11586         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
11587         strcpy for POWER8.
11588         * NEWS: Update.
11590 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
11592         [BZ #16009]
11593         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
11594         weights and rules. Use do_xfrm_cached if data fits in cache,
11595         do_xfrm otherwise.  Moved former main loop to...
11596         * (do_xfrm_cached): New function.
11597         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
11598         find_idx, find_position and stack_push.
11599         * (find_idx): New function.
11600         * (find_position): Likewise.
11601         * localedata/sort-test.sh: Added test run for do_xfrm.
11602         * localedata/xfrm-test.c (main): Added command line option
11603         -nocache to run the test with strings that are too large for
11604         the STRXFRM cache.
11606 2015-01-13  Torvald Riegel  <triegel@redhat.com>
11608         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
11609         variable to lll_futex_wake call, not the value itself.
11611 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
11613         [BZ #17803]
11614         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
11615         twom64.  Adjust value to 0x1p-64L.
11616         (__scalblnl): Only return standard underflowing result for K <=
11617         -64 not K <= -63; adjust exponent for underflowing result by 64
11618         not 63.
11619         * math/libm-test.inc (scalbn_test_data): Add more tests.
11620         (scalbln_test_data): Likewise.
11622         [BZ #17834]
11623         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
11624         0x1p63L.
11625         (__scalblnl): Get new exponent of adjusted subnormal value from ES
11626         not HX.
11627         * math/libm-test.inc (scalbn_test_data): Add more tests.
11628         (scalbln_test_data): Likewise.
11630 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11631             Stefani Seibold  <stefani@seibold.net>
11633         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
11634         (sysdep_routines): Add dl-vdso here, ...
11635         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
11636         (sysdep_routines): ... not here.
11637         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
11638         fallback when vDSO is not presented.
11639         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11640         Define with libc_hidden_proto/libc_hidden_data_def definitions.
11641         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
11642         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
11643         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
11644         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
11645         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
11646         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
11647         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
11648         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
11649         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
11650         fallback configurable symbol when vDSO is not available.
11651         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
11652         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
11653         be able to redefine fallback symbol when vDSO is not available.
11654         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
11655         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
11657 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11659         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
11660         (TLS_INIT_TP): Add tm_capable initialization.
11661         (TLS_DEFINE_INIT_TP): Likewise.
11662         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
11663         TCB.
11664         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
11665         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
11666         calculation.
11667         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
11668         transactoion is lock elision is built and TCB tm_capable is set.
11669         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
11670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11671         (INTERNAL_SYSCALL_NCS): Likewise.
11672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11673         (INTERNAL_SYSCALL_NCS): Likewise.
11674         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
11676         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
11677         for powerpc.
11678         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11679         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
11680         and remove it for 32 bits case.
11681         [pthread_rwlock_t] (__rwelision): New field for lock elision.
11682         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
11683         initialization.
11684         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
11685         Disable lock elision with rdlocks if elision is not available.
11687         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
11688         (sysdep_routines): Add lock elision objects.
11689         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11690         [pthread_mutex_t] (__spins): Rework to add lock elision field.
11691         [pthread_mutex_t] (__elision): Add field.
11692         [__PTHREAD_SPINS]: Adjust to init lock elision field.
11693         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
11694         elision definitions for powerpc.
11695         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
11696         implementation of lock elision for powerpc.
11697         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
11698         implementation of timed lock elision for powerpc.
11699         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
11700         implementation of trylock with lock elision for powerpc.
11701         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
11702         implementaion of unlock for lock elision for powerpc.
11703         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
11704         automatic enable lock elision for mutexes.
11705         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
11706         transaction execution definitions for powerpc.
11707         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
11708         definitions.
11709         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
11710         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
11711         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
11712         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
11713         * NEWS: Update.
11715 2015-01-09  Roland McGrath  <roland@hack.frob.com>
11717         * sysdeps/posix/shm-directory.c: Use <> rather than ""
11718         for #include of <shm-directory.h>.
11720 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
11722         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
11723         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
11725 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
11727         [BZ #17791]
11728         * NEWS: Mention bug fix.
11729         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
11730         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
11731         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
11733 2015-01-09  Torvald Riegel <triegel@redhat.com>
11735         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
11737 2015-01-09  Torvald Riegel <triegel@redhat.com>
11739         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
11741 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11743         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
11744         pointer and cast to uintptr_t.
11746 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11748         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
11749         removed.
11750         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
11752 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11754         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
11755         of 0.
11757 2015-01-08  Roland McGrath  <roland@hack.frob.com>
11759         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
11760         <nptl/pthreadP.h> instead.
11761         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
11763         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
11764         already defined.
11765         [__SIGRTMIN] (init): Function removed.
11766         [__SIGRTMIN] (initialized): Variable removed.
11767         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
11768         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
11769         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
11770         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
11771         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
11772         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
11773         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
11774         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
11775         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
11776         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
11777         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
11778         * sysdeps/nptl/allocrtsig.c: New file.
11779         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
11780         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
11781         * sysdeps/generic/testrtsig.h: File removed.
11783         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
11784         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
11786         * nptl/nptl-init.c (pthread_functions): Conditionalize
11787         .ptr__nptl_setxid initialization on [SIGSETXID].
11789         * sysdeps/nptl/sys/procfs.h: New file.
11790         * nptl_db/Makefile (headers): Add it.
11791         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
11793         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
11794         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
11795         * nptl/pthread_attr_setaffinity.c: Include it.
11796         * nptl/pthread_setattr_default_np.c: Likewise.
11797         * nptl/check-cpuset.h: New file.
11799 2015-01-08  Richard Henderson  <rth@redhat.com>
11801         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
11802         (CFLAGS-tst-execstack-prog.c): Likewise.
11803         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
11805 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
11806             Sandra Loosemore  <sandra@codesourcery.com>
11807             Andrew Jenner  <andrew@codesourcery.com>
11808             Joseph Myers  <joseph@codesourcery.com>
11809             Nathan Sidwell  <nathan@codesourcery.com>
11811         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
11812         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
11813         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
11814         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
11815         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
11816         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
11817         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
11818         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
11819         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
11820         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
11821         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
11822         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
11823         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
11824         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
11825         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
11826         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
11827         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
11829 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11831         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
11832         timespec struct member in syscall macro.
11833         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11834         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
11835         first timeval struct member in syscall macro.
11836         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
11838 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
11840         [BZ #17748]
11841         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
11842         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
11843         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
11844         __feupdateenv and define as weak alias of __feupdateenv.  Use
11845         libm_hidden_weak.
11846         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
11847         libm_hidden_def.
11848         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
11849         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
11850         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11851         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
11852         libm_hidden_def.
11853         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
11854         __feupdateenv and define as weak alias of __feupdateenv.  Use
11855         libm_hidden_weak.
11856         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
11857         libm_hidden_def.
11858         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
11859         __feupdateenv and define as weak alias of __feupdateenv.  Use
11860         libm_hidden_weak.
11861         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
11862         libm_hidden_def.
11863         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11864         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11865         (__feupdateenv): Likewise.
11866         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
11867         __feupdateenv and define as weak alias of __feupdateenv.  Use
11868         libm_hidden_weak.
11869         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11870         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
11871         libm_hidden_def.
11872         * sysdeps/tile/math_private.h (__feupdateenv): New inline
11873         function.
11874         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
11875         libm_hidden_def.
11876         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
11877         __feupdateenv instead of feupdateenv.
11878         (default_libc_feupdateenv_test): Likewise.
11879         (libc_feresetround_ctx): Likewise.
11881 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11883         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
11884         prototype.
11886 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
11888         * posix/regcomp.c (parse_bracket_exp): Initialize type to
11889         COLL_SYM in a couple of places to avoid uninitialized variable
11890         wanings on tilegx gcc 4.8.2.
11892 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11894         * sysdeps/aarch64/strcpy.S: New file.
11895         * sysdeps/aarch64/stpcpy.S: New file.
11896         * NEWS: Updated.
11898 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11900         * sysdeps/aarch64/strrchr.S: New file.
11901         * NEWS: Updated.
11903 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
11905         [BZ #17658]
11906         * stdlib/setenv.c: Fix memory leak when setting large,
11907         duplicate string.
11909 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
11911         [BZ #17273]
11912         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
11913         and tabs from buffer before parsing fstab entry.
11914         * misc/tst-mntent.c (main): Add test for mount entry with
11915         trailing spaces and tabs.
11917 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
11919         [BZ #17748]
11920         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
11921         * math/fesetround.c (fesetround): Rename to __fesetround and
11922         define as weak alias of __fesetround.  Use libm_hidden_weak.
11923         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
11924         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
11925         * sysdeps/arm/fesetround.c (fesetround): Likewise.
11926         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
11927         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
11928         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
11929         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
11930         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
11931         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
11932         __fesetround_inline.
11933         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
11934         __fesetround_inline instead of __fesetround.
11935         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
11936         __fesetround and define as weak alias of __fesetround.  Use
11937         libm_hidden_weak.  Call __fesetround_inline instead of
11938         __fesetround.
11939         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
11940         __fesetround and define as weak alias of __fesetround.  Use
11941         libm_hidden_weak.
11942         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
11943         Likewise.
11944         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11945         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11946         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11947         * sysdeps/tile/math_private.h (__fesetround): New inline function.
11948         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11949         __fesetround and define as weak alias of __fesetround.  Use
11950         libm_hidden_weak.
11951         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11952         __fesetround instead of fesetround.
11953         (default_libc_feholdexcept_setround): Likewise.
11954         (libc_feholdsetround_ctx): Likewise.
11955         (libc_feholdsetround_noex_ctx): Likewise.
11957         [BZ #17748]
11958         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11959         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11960         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11961         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11962         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11963         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11964         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11965         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11966         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11967         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11968         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11969         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11970         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11971         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11972         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11973         libm_hidden_def.
11974         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11975         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11976         Likewise.
11977         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11978         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11979         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11980         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11981         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11982         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11983         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11984         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11985         __fesetenv instead of fesetenv.
11986         (libc_feresetround_noex_ctx): Likewise.
11987         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11988         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11989         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11990         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11991         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11992         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11993         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11994         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11995         (__feupdateenv): Likewise.
11996         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11997         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11998         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11999         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
12001 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
12003         [BZ #17806]
12004         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
12005         addresses have been freed.
12007 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
12009         * resolv/res_init.c (__res_vinit): Improve comments about nserv
12010         and nservall.
12012 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
12014         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
12015         Clean up check_pf allocation pattern. addresses
12017 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12019         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
12020         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
12021         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
12022         * nptl/pthread_exit.c (__pthread_exit): Likewise.
12023         * nptl/pthread_join.c (pthread_join): Likewise.
12024         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
12025         * sysdeps/posix/waitid.c (__waitid): Likewise.
12026         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12027         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12028         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12029         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12030         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12031         Likewise.
12032         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12033         (__libc_pread64): Likewise.
12034         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12035         (__libc_pwrite): Likewise.
12036         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12037         (__libc_pwrite64): Likewsie.
12038         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12039         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12040         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12041         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12042         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12043         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12044         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12046         Likewise.
12047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12048         (__libc_pread64): Likewise.
12049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
12050         Likewise.
12051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12052         (__libc_pwrite64): Likewise.
12053         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12054         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12055         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
12056         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
12057         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12058         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12059         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
12060         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12061         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12062         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12063         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
12064         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12065         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12066         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
12067         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12068         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12069         Likewise.
12071 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12073         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
12074         (CFLAGS-test-double.c): Likewise.
12075         (CFLAGS-test-ldouble.c): Likewise.
12076         (CPPFLAGS-test-ifloat.c): Likewise.
12077         (CPPFLAGS-test-idouble.c): Likewise.
12078         (CPPFLAGS-test-ildoubl.c): Likewise.
12079         (CFLAGS-test-test-fenv.c): Remove variable.
12080         (CFLAGS-test-misc.c): Likewise.
12082 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
12084         [BZ #17797]
12085         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
12086         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
12087         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
12088         CLOCKS_PER_SEC == 1000000.
12089         * time/clocktest.c (main): Replace %ld with %jd and cast to
12090         intmax_t.
12092 2015-01-05  Roland McGrath  <roland@hack.frob.com>
12094         * sysdeps/generic/unwind-resume.h: New file.
12095         * sysdeps/gnu/unwind-resume.c: Include it.
12096         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
12097         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
12098         argument list.
12099         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
12100         global rather than static.
12101         (_Unwind_Resume): Update user.
12102         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
12103         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
12104         rather than static.  Add __attribute__ ((cold)).
12105         (_Unwind_Resume, __gcc_personality_v0): Update callers.
12106         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12107         * sysdeps/arm/arm-unwind-resume.S: New file.
12108         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
12109         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
12110         * sysdeps/arm/Makefile [$(subdir) = csu]
12111         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
12112         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12113         Add rt-arm-unwind-resume.
12114         [$(subdir) = nptl]
12115         (libpthread-sysdep_routines, libpthread-shared-only-routines):
12116         Add pt-arm-unwind-resume.
12117         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
12118         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
12120 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
12122         [BZ #17748]
12123         * include/fenv.h (__feholdexcept): Declare.  Use
12124         libm_hidden_proto.
12125         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
12126         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
12127         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12128         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
12129         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
12130         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
12131         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
12132         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12133         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
12134         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
12135         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12136         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
12137         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
12138         (feholdexcept): Likewise.
12139         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12140         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12141         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12142         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12143         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
12144         __feholdexcept instead of feholdexcept.
12145         (default_libc_feholdexcept_setround): Likewise.
12147 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
12149         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
12150         to avoid using stl/str to align destination.
12152 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
12154         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
12156 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
12158         [BZ #17796]
12159         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
12160         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
12161         Define as weak alias not strong alias.
12163 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
12165         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
12166         bltzal with addiupc.
12167         (RTLD_START): Ditto.
12169 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
12171         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
12172         for __vdso_* functions in declarations.
12173         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
12174         definitions.
12175         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
12176         INTERNAL_VSYSCALL): Use struct return types to check for error.
12178         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
12179         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
12180         function with cast from llround().
12181         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
12182         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12183         Define.
12185 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
12187         [BZ #17793]
12188         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
12189         Define as weak alias not strong alias.
12191         [BZ #17635]
12192         * ctype/ctype-c99.c: New file.  isblank implementation moved from
12193         ...
12194         * ctype/ctype-extn.c: ... here.
12195         (__isblank_l): Move to ...
12196         * ctype/ctype-c99_l.c: ... here.  New file.
12197         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
12198         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
12199         Remove variable.
12200         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12201         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12202         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12203         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12204         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12206         [BZ #17777]
12207         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
12208         (posix_fadvise64): Define as weak alias not strong alias.
12209         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12210         (posix_fallocate64): Likewise.
12211         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
12212         Remove variable.
12213         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12214         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12215         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12216         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12217         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12219 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
12221         [BZ #16191]
12222         * NEWS: Mention bug fix.
12223         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
12224         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
12225         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
12226         (HOST_STACK_END_ADDR): Likewise.
12228 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
12230         [BZ #17748]
12231         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
12232         * math/fegetround.c (fegetround): Rename to __fegetround and
12233         define as weak alias of __fegetround.  Use libm_hidden_weak.
12234         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
12235         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
12236         * sysdeps/arm/fegetround.c (fegetround): Likewise.
12237         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
12238         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12239         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
12240         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
12241         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
12242         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12243         Undefine after rather than before function definition; use
12244         parentheses around function name in definition.
12245         (__fegetround): Also undefine macro after function definition.
12246         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
12247         __fegetround and define as weak alias of __fegetround.  Use
12248         libm_hidden_weak.  Do not undefine as macro.
12249         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12250         Likewise.
12251         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
12252         __fegetround and define as weak alias of __fegetround.  Use
12253         libm_hidden_weak.
12254         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12255         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12256         * sysdeps/tile/math_private.h (__fegetround): New inline function.
12257         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
12258         __fegetround and define as weak alias of __fegetround.  Use
12259         libm_hidden_weak.
12260         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
12261         __fegetround instead of fegetround.
12263         [BZ #17782]
12264         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
12265         Condition macro definition on [__USE_MISC].
12267         [BZ #17781]
12268         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
12269         (struct sigaction): Change type of sa_flags field to int.
12271         [BZ #17780]
12272         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
12273         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
12274         __glibc_reserved0.
12276         * nptl/version.c (banner): Use single year in copyright notice.
12278         * NEWS: Update copyright dates.
12279         * catgets/gencat.c (print_version): Likewise.
12280         * csu/version.c (banner): Likewise.
12281         * debug/catchsegv.sh: Likewise.
12282         * debug/pcprofiledump.c (print_version): Likewise.
12283         * debug/xtrace.sh (do_version): Likewise.
12284         * elf/ldconfig.c (print_version): Likewise.
12285         * elf/ldd.bash.in: Likewise.
12286         * elf/pldd.c (print_version): Likewise.
12287         * elf/sotruss.sh: Likewise.
12288         * elf/sprof.c (print_version): Likewise.
12289         * iconv/iconv_prog.c (print_version): Likewise.
12290         * iconv/iconvconfig.c (print_version): Likewise.
12291         * locale/programs/locale.c (print_version): Likewise.
12292         * locale/programs/localedef.c (print_version): Likewise.
12293         * login/programs/pt_chown.c (print_version): Likewise.
12294         * malloc/memusage.sh (do_version): Likewise.
12295         * malloc/memusagestat.c (print_version): Likewise.
12296         * malloc/mtrace.pl: Likewise.
12297         * manual/libc.texinfo: Likewise.
12298         * nptl/version.c (banner): Likewise.
12299         * nscd/nscd.c (print_version): Likewise.
12300         * nss/getent.c (print_version): Likewise.
12301         * nss/makedb.c (print_version): Likewise.
12302         * posix/getconf.c (main): Likewise.
12303         * scripts/test-installation.pl: Likewise.
12304         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12306 2015-01-02  Will Newton  <will.newton@linaro.org>
12308         * sysdeps/arm/armv7/configure: Removed.
12309         * sysdeps/arm/armv7/configure.ac: Likewise.
12311 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
12313         * All files with FSF copyright notices: Update copyright dates
12314         using scripts/update-copyrights.
12315         * intl/plural.c: Regenerated.
12316         * locale/programs/charmap-kw.h: Likewise.
12317         * locale/programs/locfile-kw.h: Likewise.
12319 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12321         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
12323 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
12325         [BZ #17748]
12326         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
12327         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
12328         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
12329         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
12330         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
12331         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
12332         define as weak alias of __fegetenv.  Use libm_hidden_weak.
12333         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
12334         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
12335         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
12336         define as weak alias of __fegetenv.  Use libm_hidden_weak.
12337         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
12338         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
12339         define as weak alias of __fegetenv.  Use libm_hidden_weak.
12340         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
12341         libm_hidden_def.
12342         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
12343         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
12344         Likewise.
12345         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
12346         define as weak alias of __fegetenv.  Use libm_hidden_weak.
12347         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12348         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
12349         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
12350         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
12351         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
12352         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
12353         __fegetenv instead of fegetenv.
12354         (libc_feholdsetround_noex_ctx): Likewise.
12356 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12358         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
12359         (Elf_MIPS_ABIFlags_v0): New structure.
12360         (EF_MIPS_FP64): Define.
12361         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
12362         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
12363         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
12364         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
12365         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
12366         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
12367         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
12368         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
12369         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
12370         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
12371         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
12372         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
12373         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
12374         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
12375         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
12376         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
12377         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
12378         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
12379         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
12380         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
12381         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
12382         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
12383         field.
12384         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
12385         EF_MIPS_FP64.
12386         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
12387         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
12388         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
12389         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
12390         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
12391         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
12392         * sysdeps/mips/tst-abi-interlink.c: Likewise.
12393         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
12394         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
12395         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
12396         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
12397         record the current FP ABI extension.
12398         (mips-mode-switch): Define to show if kernel headers support mode
12399         switching.
12400         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12401         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
12402         supported SYSV ABI version to 3.
12403         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
12404         feature.
12406 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12407             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12409         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
12410         path.
12411         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
12413 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
12415         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
12416         __fegetround and redefine to call __fegetround.  Remove condition
12417         on [!__NO_MATH_INLINES].
12418         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
12419         function.
12420         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
12421         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12422         Remove macro.
12423         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
12424         instead of <fenv_libc.h>.
12425         (__llrintl): Call fegetround instead of __fegetround.
12426         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
12427         instead of <fenv_libc.h>.
12428         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12429         (__lrintl): Call fegetround instead of __fegetround.
12430         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
12431         instead of <fenv_libc.h>.
12432         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12433         (__rintl): Call fegetround instead of __fegetround.
12435 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12437         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
12438         arrays.
12440 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
12442         [BZ #17775]
12443         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
12444         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
12445         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
12447 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12449         * sysdeps/i386/tls-macros.h: Include <features.h>.
12450         (TLS_LE): Use non-PIC version for GCC >= 5.0.
12451         (TLS_IE): Likewise.
12452         (TLS_LD): Likewise.
12453         (TLS_GD): Likewise.
12454         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
12455         define for GCC >= 5.0.
12457 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
12459         * math/test-fenv.c (test_single_exception, set_single_exc,
12460         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
12461         feexcp_mask_test, feenable_test, fe_single_test): Add
12462         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
12463         case where they are not used.
12464         * math/libm-test.inc: Likewise.
12465         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
12466         unused in the absence of FP rounding/exception support.
12467         * stdio-common/tst-printf-round.c: Likewise.
12468         * stdlib/tst-strtod-round.c: Likewise.
12469         * stdlib/tst-strtod-underflow.c: Likewise.
12471 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
12473         [BZ #17723]
12474         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
12475         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
12476         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12477         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
12478         libm_hidden_weak.
12479         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
12480         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
12481         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
12482         libm_hidden_def.
12483         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12484         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
12485         libm_hidden_weak.
12486         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
12487         Likewise.
12488         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
12489         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12490         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
12491         libm_hidden_weak.
12492         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
12493         libm_hidden_def.
12494         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12495         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
12496         (__feraiseexcept): Likewise.
12497         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12498         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
12499         libm_hidden_weak.
12500         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
12501         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
12502         libm_hidden_def.
12503         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
12504         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
12505         Use libm_hidden_def.
12506         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
12507         libm_hidden_def.
12508         (feraiseexcept): Define as weak not strong alias.  Use
12509         libm_hidden_weak.
12510         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
12511         New inline function.  Factored out of ...
12512         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
12513         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
12514         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
12515         feraiseexcept.
12516         * math/w_acos.c (__acos): Likewise.
12517         * math/w_asin.c (__asin): Likewise.
12518         * math/w_ilogb.c (__ilogb): Likewise.
12519         * math/w_j0.c (y0): Likewise.
12520         * math/w_j1.c (y1): Likewise.
12521         * math/w_jn.c (yn): Likewise.
12522         * math/w_log.c (__log): Likewise.
12523         * math/w_log10.c (__log10): Likewise.
12524         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
12525         * sysdeps/aarch64/fpu/math_private.h
12526         (libc_feupdateenv_test_aarch64): Likewise.
12527         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
12528         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
12529         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
12530         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
12531         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
12532         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
12533         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
12534         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12535         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12536         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12538 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
12540         [BZ #17732]
12541         * io/test-utime.c (main): Replace %ld with %jd and cast to
12542         intmax_t.
12543         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
12544         * nptl/tst-mutex5.c: Include <stdint.h>.
12545         (do_test): Replace %ld with %jd and cast to intmax_t.
12546         * posix/tst-regex.c (run_test): Likewise.
12547         (run_test_backwards): Likewise.
12548         * rt/tst-clock.c: Include <stdint.h>.
12549         (clock_test): Replace %ld with %jd and cast to intmax_t.
12550         * rt/tst-cpuclock1.c: Include <stdint.h>.
12551         (do_test): Replace %lu with %ju and cast to uintmax_t.
12552         * rt/tst-cpuclock2.c: Include <stdint.h>.
12553         (do_test): Replace %lu with %ju and cast to uintmax_t.
12554         * rt/tst-mqueue1.c: Include <stdint.h>.
12555         (check_attrs): Replace %ld with %jd and cast to intmax_t.
12556         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
12557         intmax_t.
12558         * rt/tst-mqueue4.c (do_test): Likewise.
12559         * rt/tst-timer4.c: Include <stdint.h>.
12560         (check_ts): Replace %ld with %jd and cast to intmax_t.
12561         (do_test): Likewise.
12562         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
12563         and cast to intmax_t.
12564         * sysdeps/pthread/tst-timer.c (main): Likewise.
12565         * time/clocktest.c (main): Likewise.
12566         * time/tst-posixtz.c (do_test): Likewise.
12567         * timezone/tst-timezone.c (main): Likewise.
12569 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12570             H.J. Lu  <hongjiu.lu@intel.com>
12572         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
12573         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
12574         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
12575         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
12576         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
12577         version if bit_Fast_Unaligned_Load is set.
12578         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12579         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12580         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12581         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12582         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12583         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12584         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12585         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
12586         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
12587         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
12588         to 4.
12589         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
12590         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
12591         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
12592         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
12594 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
12596         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
12597         instead of #if to avoid a Wundef warning.
12598         * stdlib/tst-limits.c (do_test): Likewise.
12600         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
12601         parallel other exception macros.
12602         (fegetenv): Convert from macro to extern inline so that it applies
12603         retroactively to inline functions already seen by the compiler.
12604         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
12606         * posix/Makefile (before-compile): Use $(objpfx) for
12607         posix-conf-vars-def.h.
12609 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12611         * posix/getconf.c (main): Use size_t for type of I.
12612         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
12613         NSPEC.
12615         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
12616         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
12617         * posix/posix-envs.def: Likewise.
12618         * sysdeps/posix/sysconf.c: Likewise.
12619         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
12620         (specs): Remove array.
12621         * scripts/gen-posix-conf-vars.awk: Support generation of specs
12622         array.
12624         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
12625         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
12626         (__sysconf): Use CONF_IS_* macros.
12628         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
12629         ($(objpfx)posix-conf-vars-def.h): New target.
12630         * posix/posix-conf-vars.list: New file.
12631         * posix/posix-conf-vars.h: New file.
12632         * posix/confstr.c: Include posix-conf-vars.h.
12633         (confstr): Use CONF_IS_* macros.
12634         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
12635         CONF_IS_* macros.
12636         * scripts/gen-posix-conf-vars.awk: New file.
12638 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
12640         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
12641         fegetround): Add no-op macros to avoid linknamespace issues.
12643         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
12644         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
12646         * sysdeps/unix/sysv/linux/tile/sysdep.h
12647         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
12648         assembly-specific section to avoid a redefinition warning.
12650         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
12651         long before casting to pointer to avoid a cast warning.
12653 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
12655         * sysdeps/tile/tilegx/Implies: New file.
12657 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
12659         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
12661 2014-12-23  Florian Weimer  <fweimer@redhat.com>
12663         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
12665 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12667         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
12668         not define.
12669         * sysdeps/unix/sysv/linux/utimes.c: Do not include
12670         <kernel-features.h>.
12671         (__utimes) [__NR_utimes]: Make code unconditional.
12672         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
12673         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12674         (__ASSUME_UTIMES): Do not undefine.
12675         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12676         (__ASSUME_UTIMES): Likewise.
12677         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12678         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
12679         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
12680         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
12682 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
12684         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
12686 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
12688         [BZ #17747]
12689         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
12690         alias to weak alias for j0l, y0l.
12691         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
12692         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
12694         [BZ #17746]
12695         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
12696         conversion.
12698 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
12700         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
12701         to zero if not already defined.
12703 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12705         [BZ #17724]
12706         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
12707         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
12708         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
12709         (char *) casts added.
12710         * sysdeps/ieee754/k_standardf.c: New file.
12711         * sysdeps/ieee754/k_standardl.c: Likewise.
12712         * math/Makefile (libm-support): Remove k_standard.
12713         (libm-calls): Add k_standard.
12715 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12717         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12718         Optimize to avoid an unnecessary FPCR read.
12720 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12722         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12723         Optimize to reduce FPCR/FPSR accesses.
12725 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12727         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
12728         Call libc_fetestexcept_aarch64.
12730 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12732         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
12733         Call libc_fesetround_aarch64.
12735 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12737         [BZ #17733]
12738         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
12739         (__bind): Do not define as weak alias.
12740         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
12741         define.
12742         (__getsockname): Do not define as weak alias.
12744 2014-12-22  Will Newton  <will.newton@linaro.org>
12746         * manual/install.texi: Document that we require bison 2.7
12747         or above.
12748         * INSTALL: Regenerate.
12749         * configure.ac: Use AC_CHECK_PROG_VER instead of
12750         AC_PATH_PROG when checking for bison and check for
12751         version 2.7 or above.
12752         * configure: Regenerate.
12754 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
12756         [BZ #17745]
12757         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
12758         * sysdeps/tile/ffsll.c (ffsll): To here.
12760         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
12762 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12764         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
12765         if not defined.
12766         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
12767         definition.
12768         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12769         hidden ___tls_get_addr.
12770         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12771         hidden __tls_get_addr.
12772         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
12773         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
12774         Likewise.
12776 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
12778         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
12779         _dl_init call.
12781 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12783         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
12784         from "call _dl_init@PLT".
12785         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
12787 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
12789         * manual/search.texi: (Array Sort Function): Clarify stable sorting
12790         guarantees.
12792 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
12794         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
12796 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12798         [BZ #17744]
12799         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
12800         strnlen.
12802 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12804         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
12805         of multu on MIPSr6.
12806         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
12807         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
12808         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
12809         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
12810         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
12812 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12814         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
12815         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
12816         (PTR_SUBU): Use subu for mips32r6/mips64r6.
12817         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
12818         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
12819         mips32r6/mips64r6.
12820         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
12822 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
12824         * string/strncat.c (STRNCAT): Simplify implementation.
12826 2014-12-19  David S. Miller  <davem@davemloft.net>
12828         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
12829         access the quad as both a long double and as a series of 4 words.
12831         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
12832         link_map->l_info array access.
12834 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12836         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
12838         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
12839         * math/atest-exp2.c (TIMEOUT): Likewise.
12840         * math/atest-sincos.c (TIMEOUT): Likewise.
12842 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12844         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
12845         -Wno-error with -fno-builtin-lround.
12847 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12849         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
12850         Contains futex constants and functions moved over from ...
12851         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
12852         <lowlevellock-futex.h>.
12853         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12854         (lll_timedwait_tid): Add comments and parentheses around macro
12855         arguments.
12857 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12859         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
12860         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
12861         (__lll_private_flag): Remove.
12862         (lll_futex_wait): Likewise.
12863         (lll_futex_timed_wait): Likewise.
12864         (lll_futex_wake): Likewise.
12865         (lll_futex_requeue): Likewise.
12866         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12867         (__lll_timedwait_tid): Spell out argument names.
12868         (lll_timedwait_tid): Add comments and parentheses around macro
12869         arguments.
12870         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
12871         LLL_SHARED and LLL_PRIVATE usable from assembly code.
12873 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12875         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
12876         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12877         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12878         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
12879         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
12880         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
12881         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
12882         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
12883         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12884         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
12885         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
12886         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
12887         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
12888         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
12889         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
12890         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
12891         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
12892         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
12893         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
12895 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12897         * sysdeps/x86_64/x32/Makefile: New file.
12899 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12901         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
12902         1L with (mp_limb_t) 1.
12904 2014-12-17  Roland McGrath  <roland@hack.frob.com>
12906         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
12907         * nptl/libc_pthread_init.c: ... here.
12908         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
12909         * nptl/register-atfork.c: ... here.
12911         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
12912         Use pthread_sigmask rather than INTERNAL_SYSCALL.
12913         Use assert_perror to check its return value.
12914         (__gai_create_helper_thread): Likewise.
12916         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
12918         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
12920 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
12922         [BZ #17725]
12923         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
12924         __profil_counter.
12925         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
12926         Likewise.
12927         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
12928         Likewise.
12929         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
12930         Likewise.
12931         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
12932         (profil_counter): Likewise.
12933         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
12934         (profil_counter): Likewise.
12935         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
12936         Likewise.
12937         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
12938         Likewise.
12939         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
12940         (profil_counter): Likewise.
12941         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
12942         Likewise.
12943         [!__profil_counter] (profil_counter): Define as weak alias of
12944         __profil_counter.
12945         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12946         (profil_counter): Rename to __profil_counter.
12947         [!__profil_counter] (profil_counter): Define as weak alias of
12948         __profil_counter.
12949         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12950         (profil_counter): Rename to __profil_counter.
12951         [!__profil_counter] (profil_counter): Define as weak alias of
12952         __profil_counter.
12953         * sysdeps/posix/profil.c: Update comment referring to
12954         profil_counter.
12955         (__profil): Use __profil_counter instead of profil_counter.
12956         * sysdeps/posix/sprofil.c (profil_counter): Rename to
12957         __profil_counter.  Use __profil_counter_ushort and
12958         __profil_counter_uint in definitions.
12959         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12960         instead of profil_counter_uint and profil_counter_ushort.
12962         [BZ #17722]
12963         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12964         define as weak alias of __inet_makeaddr.
12965         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12966         as weak alias of __inet_addr.
12967         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12968         as weak alias of __inet_pton.  Use libc_hidden_weak.
12969         * include/arpa/inet.h (__inet_pton): Declare.  Use
12970         libc_hidden_proto.
12971         (inet_makeaddr): Don't use libc_hidden_proto.
12972         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
12973         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12974         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
12975         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12976         Remove variable.
12977         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12978         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12980 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
12982         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12984 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12986         * stdio-common/bug-vfprintf-nargs.c (do_test):
12987         Cast value to intptr_t to avoid format warning
12988         for usage with PRIdPTR printing macro.
12990 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12992         * libio/tst-widetext.c (do_test):
12993         Use format type %td instead of %Zd for ptrdiff_t
12994         in order to avoid format warning.
12996 2014-12-17  Andreas Schwab  <schwab@suse.de>
12998         * nscd/mem.c (gc): Add size_t cast to match printf format.
13000 2014-12-16  Roland McGrath  <roland@hack.frob.com>
13002         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
13003         (init): Apply PTR_MANGLE to pointers before storing them.
13004         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
13005         before using them.
13007 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
13009         [BZ #17719]
13010         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
13011         define as weak alias of __memrchr.
13012         (__memrchr): Do not define as strong alias of memrchr.
13013         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
13014         Remove variable.
13015         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13016         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13017         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13019         [BZ #17717]
13020         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
13021         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
13022         (if_indextoname): Rename to __if_indextoname and define as weak
13023         alias of __if_indextoname.  Use libc_hidden_weak.
13024         (if_freenameindex): Rename to __if_freenameindex and define as
13025         weak alias of __if_freenameindex.
13026         (if_nameindex): Rename to __if_nameindex and define as weak alias
13027         of __if_nameindex.
13028         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
13029         __if_nametoindex and define as weak alias of __if_nametoindex.
13030         Use libc_hidden_weak.
13031         (if_freenameindex): Rename to __if_freenameindex and define as
13032         weak alias of __if_freenameindex.
13033         (if_nameindex): Rename to __if_nameindex and define as weak alias
13034         of __if_nameindex.
13035         (if_indextoname): Rename to __if_indextoname and define as weak
13036         alias of __if_indextoname.  Use libc_hidden_weak.
13037         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
13038         __if_nametoindex and define as weak alias of __if_nametoindex.
13039         Use libc_hidden_weak.
13040         (if_freenameindex): Rename to __if_freenameindex and define as
13041         weak alias of __if_freenameindex.  Use libc_hidden_weak.
13042         (if_nameindex_netlink): Use __if_freenameindex instead of
13043         if_freenameindex.
13044         (if_nameindex): Rename to __if_nameindex and define as weak alias
13045         of __if_nameindex.  Use libc_hidden_weak.
13046         (if_indextoname): Rename to __if_indextoname and define as weak
13047         alias of __if_indextoname.  Use libc_hidden_weak.
13048         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
13049         libc_hidden_proto.
13050         [!_ISOMAC] (__if_freenameindex): Likewise.
13051         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
13052         if_nametoindex.
13053         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
13054         variable.
13055         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13056         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13057         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13058         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13059         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13060         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13061         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13063         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
13064         Remove variable.
13065         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13066         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13068 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13070         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
13071         subscript above bounds'
13073         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
13074         bounds.
13076 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
13078         * libio/tst-fopenloc.c: Use test-skeleton.c.
13080         * stdlib/tst-bsearch.c: Use test-skeleton.c.
13081         (entry): Rename to ITEM.
13082         (do_test, comp): Adjust.
13084         * stdio-common/tst-fseek.c: Use test-skeleton.c.
13086 2014-12-16  Torvald Riegel  <triegel@redhat.com>
13088         * string/tester.c: Include <libc-internal.h>.
13089         (test_memset): Ignore -Wmemset-transposed-args.
13091 2014-12-16  Torvald Riegel  <triegel@redhat.com>
13093         * misc/tst-mntent2.c (do_test): Fix warning.
13095 2014-12-16  Torvald Riegel  <triegel@redhat.com>
13097         * elf/tst-unique4lib.cc(a): Mark as used.
13099 2014-12-16  Florian Weimer  <fweimer@redhat.com>
13101         [BZ #17630]
13102         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
13103         names.
13105 2014-12-16  Allan McRae  <allan@archlinux.org>
13107         * stdio-common/Makefile (tests): Re-add bug26.
13109 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
13111         [BZ #17657]
13112         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
13113         static array.
13115 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
13117         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
13118         (__lll_lock_wait): Likewise.
13119         (__lll_timedlock_wait): Likewise.
13120         (__lll_timedwait_tid): Likewise.
13121         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
13122         (__lll_robust_timedlock_wait): Likewise.
13123         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
13124         (lll_cond_trylock): Likewise.
13125         (__lll_lock): Likewise.
13126         (__lll_robust_lock): Likewise.
13127         (__lll_cond_lock): Likewise.
13128         (lll_robust_cond_lock): Likewise.
13129         (__lll_timedlock): Likewise.
13130         (__lll_robust_timedlock): Likewise.
13131         (__lll_unlock): Likewise.
13132         (__lll_robust_unlock): Likewise.
13133         (lll_wait_tid): Likewise.
13134         (lll_timedwait_tid): Likewise.
13136 2014-12-15  Torvald Riegel  <triegel@redhat.com>
13138         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
13140 2014-12-15  Torvald Riegel  <triegel@redhat.com>
13142         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
13144 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
13146         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
13147         * stdio-common/tst-sprintf.c: Likewise.
13149 2014-12-15  Torvald Riegel  <triegel@redhat.com>
13151         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
13153 2014-12-15  Jeff Law  <law@redhat.com>
13155         [BZ #16617]
13156         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
13157         on the heap.  (CVE-2012-3406)
13158         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
13159         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
13160         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
13162 2014-12-15  Will Newton  <will.newton@linaro.org>
13164         * manual/install.texi: Bump required version of texinfo
13165         to 4.7 from 4.5.
13166         * INSTALL: Regenerated.
13167         * configure.ac: Check for makeinfo version 4.7 and above.
13168         * configure: Regenerated.
13170 2014-12-12  Roland McGrath  <roland@hack.frob.com>
13172         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
13173         PREFIX, string constant to insert between directory and name.
13174         * sysdeps/posix/shm_open.c: Update caller.
13175         * sysdeps/posix/shm_unlink.c: Likewise.
13176         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
13177         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
13178         (SEM_SHM_PREFIX): New macro.
13179         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
13180         [$(have-thread-library) = no].
13181         * nptl/Makefile (libpthread-routines): Add shm-directory.
13182         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
13183         * sysdeps/nptl/shm-directory.h: New file.
13184         * sysdeps/posix/shm-directory.c
13185         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
13186         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13187         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
13188         INTERNAL_SYSCALL.
13189         (__where_is_shmfs): Function removed.
13190         (mountpoint, defaultmount, defaultdir, __namedsem_once):
13191         Variables removed.
13192         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
13193         Use SHM_GET_NAME.
13194         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
13196         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
13197         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
13198         unconditional for use inside libpthread.
13199         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
13201 2014-12-12  Roland McGrath  <roland@hack.frob.com>
13203         * nptl/pthread_getaffinity.c: New file.
13204         * nptl/pthread_setaffinity.c: New file.
13205         * nptl/pthread_getname.c: New file.
13206         * nptl/pthread_setname.c: New file.
13208         * nptl/pthread_create.c (START_THREAD_DEFN)
13209         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
13211 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13212             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13214         * resolv/res_send.c (send_vc): Disable warning resplen may
13215         be used uninitialized.
13217 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13219         * nptl/tst-mutex6.c
13220         (ATTR_NULL): New define checks ATTR against NULL.
13221         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
13222         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
13224 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
13226         [BZ #17581]
13227         * malloc/hooks.c
13228         (mem2mem_check): Revert my previous change.
13229         (malloc_check_get_size): Revert my previous change.
13230         (mem2chunk_check): Revert my previous change.
13232 2014-12-11  Roland McGrath  <roland@hack.frob.com>
13234         * sysdeps/posix/shm-directory.c: New file.
13235         * sysdeps/posix/shm-directory.h: New file.
13236         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
13237         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
13238         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
13239         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
13240         Transmute EPERM to EACCES.
13241         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
13242         from ...
13243         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
13244         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
13246 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13248         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
13249         pointer and cast to uintptr_t.
13250         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
13251         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
13252         Add cast to avoid warning.
13253         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
13255 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
13257         * nptl/semaphore.h: Move to ...
13258         * sysdeps/pthread/semaphore.h: ... here.
13259         * Makefile (installed-headers): Change nptl/semaphore.h to
13260         sysdeps/pthread/semaphore.h.
13262 2014-12-11  Roland McGrath  <roland@hack.frob.com>
13264         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
13265         generated error format strings.
13267         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
13268         -Wformat-extra-args warnings for scanf formats.
13269         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
13270         test of zero-length format (duh).
13271         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
13272         corner-case scanf format test.
13273         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
13274         generated fprintf format string.
13275         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
13276         corner-case sprintf format tests.
13277         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
13278         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
13279         -Wformat-extra-args warnings throughout.
13280         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
13281         (CFLAGS-scanf4.c): Likewise.
13282         (CFLAGS-scanf7.c): Likewise.
13283         (CFLAGS-tst-sprintf.c): Likewise.
13284         (CFLAGS-tst-printf.c): Likewise.
13285         (CFLAGS-tst-printfsz.c): Likewise.
13287 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
13289         * include/cpio.h: New file.
13290         * include/fmtmsg.h: Likewise.
13292         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
13293         corresponding format argument to size_t.
13294         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
13295         arguments.
13296         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
13297         corresponding format argument to size_t.
13298         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
13299         arguments.
13300         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
13301         corresponding format argument to size_t.
13302         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
13303         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
13304         (CFLAGS-tst-mbswcs2.c): Likewise.
13305         (CFLAGS-tst-mbswcs3.c): Likewise.
13306         (CFLAGS-tst-mbswcs4.c): Likewise.
13307         (CFLAGS-tst-mbswcs5.c): Likewise.
13308         (CFLAGS-tst-trans.c): Likewise
13310 2014-12-11  Roland McGrath  <roland@hack.frob.com>
13312         * posix/regexbug1.c (main): Use "%s" format with regerror results,
13313         rather than assuming they won't contain any '%'s.
13315 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
13317         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
13318         inhibit_loop_to_libcall to avoid recursive calls.
13319         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
13320         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
13322 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
13324         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
13325         prototype.
13327 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
13329         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
13330         integer value instead of boolean.
13332 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
13334         * malloc/malloc.c: Fix powerof2 check.
13336 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13338         * locale/programs/locfile.h (maybe_swap_uint32):
13339         Remove inline and add unused attribute.
13341 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13343         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13344         Truncating assembler expression to a .long expression.
13346 2014-12-11  Andreas Schwab  <schwab@suse.de>
13348         * elf/rtld.c (struct map_args): Constify str member.
13349         (do_preload): Constify fname argument.
13351 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13353         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
13354         constants definition.
13356 2014-12-11  Andreas Schwab  <schwab@suse.de>
13358         [BZ #16657]
13359         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
13360         FORCE_ELISION instead of DO_ELISION.
13361         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
13362         Remove.
13363         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
13364         Likewise.
13366         * iconvdata/gconv-modules: Remove duplicate entry.
13368 2014-12-11  Will Newton  <will.newton@linaro.org>
13370         Merge gettext 0.19.3 into intl/.
13372         This involves a number of cosmetic changes to comments
13373         and ANSI function definitions and prototypes throughout
13374         all the files. The gettext copyright header is used but
13375         with the date ranges taken from the glibc copy.
13377         * NEWS: Add gettext merge to 2.21.
13378         * intl/bindtextdom.c: Switch to gettext copyright.
13379         Use ANSI definitions and prototypes.
13380         Use gl_* locking primitives rather than __libc_* ones.
13381         Use __builtin_expect rather than __glibc_likely/unlikely.
13382         * intl/dcgettext.c: Switch to gettext copyright.
13383         Use ANSI definitions and prototypes.
13384         * intl/dcigettext.c: Switch to gettext copyright.
13385         Use ANSI definitions and prototypes.
13386         (INTDIV0_RAISES_SIGFPE): New define.
13387         Use gl_* locking primitives rather than __libc_* ones.
13388         Include eval-plural.h instead of plural-eval.c.
13389         Use __builtin_expect rather than __glibc_likely/unlikely.
13390         * intl/dcngettext.c: Switch to gettext copyright.
13391         Use ANSI definitions and prototypes.
13392         * intl/dgettext.c: Likewise.
13393         * intl/dngettext.c: Likewise.
13394         * intl/plural-eval.c: Renamed to...
13395         * intl/eval-plural.h: ...this.
13396         * intl/explodename.c: Switch to gettext copyright.
13397         Use ANSI definitions and prototypes.
13398         (_nl_explode_name): Use strchr instead of __rawmemchr.
13399         * intl/finddomain.c: Switch to gettext copyright.
13400         Use ANSI definitions and prototypes.
13401         Use gl_* locking primitives rather than __libc_* ones.
13402         (_nl_find_domain): Use malloc rather than alloca for
13403         allocation of temporary locale name.
13404         * intl/gettext.c: Switch to gettext copyright.
13405         Use ANSI definitions and prototypes.
13406         * intl/gettextP.h: Switch to gettext copyright.
13407         Use ANSI definitions and prototypes.
13408         Use gl_* locking primitives rather than __libc_* ones.
13409         * intl/gmo.h: Switch to gettext copyright.
13410         (struct sysdep_string): Move struct segment_pair outside of
13411         struct definition.
13412         * intl/hash-string.c: Use ANSI definitions and prototypes.
13413         * intl/hash-string.h: Switch to gettext copyright.
13414         Use ANSI definitions and prototypes.
13415         * intl/l10nflist.c: Switch to gettext copyright.
13416         Use ANSI definitions and prototypes.
13417         (_nl_normalize_codeset): Avoid integer overflow.
13418         * intl/loadinfo.h: Switch to gettext copyright.
13419         Use ANSI definitions and prototypes.
13420         (LIBINTL_DLL_EXPORTED): New define.
13421         (PATH_SEPARATOR): New define.
13422         * intl/loadmsgcat.c: Switch to gettext copyright.
13423         * intl/localealias.c: Switch to gettext copyright.
13424         Use ANSI definitions and prototypes.
13425         (_nl_expand_alias): Use PATH_SEPARATOR.
13426         * intl/ngettext.c: Switch to gettext copyright.
13427         Use ANSI definitions and prototypes.
13428         * intl/plural-exp.c: Likewise.
13429         * intl/plural-exp.h: Switch to gettext copyright.
13430         Use ANSI definitions and prototypes.
13431         (struct expression): Move definition of enum operator outside
13432         of struct definition.
13433         * intl/plural.c: Regenerate.
13434         * intl/plural.y: Switch to gettext copyright.
13435         Use ANSI definitions and prototypes.
13436         Port to bison 3.0.
13437         * intl/textdomain.c: Switch to gettext copyright.
13438         Use ANSI definitions and prototypes.
13439         Use gl_* locking primitives rather than __libc_* ones.
13441 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
13443         * debug/warning-nop.c: Add used atrribute.
13445 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13447         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
13449         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
13450         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
13451         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
13453 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13454             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13456         [BZ #17634]
13457         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
13458         Undefine after defining function.  Define as weak alias of
13459         __wcschr.  Use libc_hidden_weak.
13460         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
13461         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
13462         (libc_hidden_def): Also define __GI___wcschr alias.
13463         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
13464         __wcschr and define as weak alias of __wcschr.
13465         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
13466         __wcschr.
13467         [!WCSCHR] (DEFAULT_WCSCHR): Define.
13468         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
13469         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
13470         libc_hidden_weak.  Do not use libc_hidden_def.
13471         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
13472         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
13473         __GI___wcschr alias.
13474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
13475         [IS_IN (libc)] (wcschr): Define as macro expanding to
13476         __redirect_wcschr.
13477         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
13478         [IS_IN (libc)] (__wcschr_power6): Likewise.
13479         [IS_IN (libc)] (__wcschr_power7): Likewise.
13480         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
13481         instead of wcschr.
13482         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
13483         __libc_wcschr.
13484         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
13485         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
13486         __wcschr and define as weak alias of __wcschr.  Use
13487         libc_hidden_builtin_def.
13488         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
13489         as weak alias of __wcschr.  Use libc_hidden_weak.
13490         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
13491         wcschr.
13492         * time/era.c (_nl_init_era_entries): Likewise.
13493         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
13494         variable.
13495         (test-xfail-XPG3/time.h/linknamespace): Likewise.
13496         (test-xfail-XPG4/time.h/linknamespace): Likewise.
13498 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13500         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
13501         format for long int variable.
13503 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
13505         [BZ #10672]
13506         * manual/search.texi: (Array Sort Function): Remove claim how to make
13507         qsort stable.
13509 2014-12-10  Andreas Schwab  <schwab@suse.de>
13511         [BZ #12847]
13512         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
13513         user-controlled locks.
13515 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
13517         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
13518         register.
13520 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13522         * configure.ac (--disable-werror): New configure option.
13523         (enable_werror): New AC_SUBST.
13524         * configure: Regenerated.
13525         * config.make.in (enable-werror): New variable.
13526         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
13527         -Wno-error=undef.
13528         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
13529         * manual/install.texi (Configuring and compiling): Document
13530         --disable-werror.
13531         * INSTALL: Regenerated.
13532         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
13533         (CFLAGS-tst-chk2.c): Likewise.
13534         (CFLAGS-tst-chk3.c): Likewise.
13535         (CFLAGS-tst-chk4.cc): Likewise.
13536         (CFLAGS-tst-chk5.cc): Likewise.
13537         (CFLAGS-tst-chk6.cc): Likewise.
13538         (CFLAGS-tst-lfschk1.c): Likewise.
13539         (CFLAGS-tst-lfschk2.c): Likewise.
13540         (CFLAGS-tst-lfschk3.c): Likewise.
13541         (CFLAGS-tst-lfschk4.cc): Likewise.
13542         (CFLAGS-tst-lfschk5.cc): Likewise.
13543         (CFLAGS-tst-lfschk6.cc): Likewise.
13545         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
13546         (main): Disable -Wdeprecated-declarations around calls to
13547         register_printf_function.
13549         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
13550         (do_test): Disable -Wdiv-by-zero around some calls to
13551         fwrite_unlocked and fread_unlocked.
13553         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
13554         (DIAG_POP_NEEDS_COMMENT): Likewise.
13555         (_DIAG_STR1): Likewise.
13556         (_DIAG_STR): Likewise.
13557         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
13558         * stdio-common/bug21.c: Include <libc-internal.h>.
13559         (do_test): Disable -Wformat around call to sscanf.
13560         * stdio-common/scanf14.c: Include <libc-internal.h>.
13561         (main): Disable -Wformat around some calls to scanf functions.
13563 2014-12-09  Torvald Riegel  <triegel@redhat.com>
13565         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
13567 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13569         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
13570         stack variable alignment.
13572 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
13574         [BZ #17682]
13575         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
13576         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
13577         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
13578         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
13579         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
13580         __getrlimit instead of getrlimit.
13581         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
13582         __gettimeofday instead of gettimeofday.
13583         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13584         Likewise.
13585         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13586         Likewise.
13587         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13588         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
13589         Remove variable.
13590         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13591         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13593 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13595         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
13596         for wide-character tests.
13598 2014-12-04  Roland McGrath  <roland@hack.frob.com>
13600         * io/openat64.c: #include <libc-internal.h>
13601         (__openat64): Prototypify.  Use ignore_value on MODE.
13602         * io/openat.c: Likewise.
13603         * misc/reboot.c: #include <libc-internal.h>
13604         (reboot): Prototypify.  Use ignore_value on HOWTO.
13605         * misc/ptrace.c: #include <libc-internal.h>
13606         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
13608 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
13610         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
13611         XPG4, UNIX98 and XOPEN2K.
13612         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
13613         Remove variable.
13614         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13616 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13618         * libio/fileops.c: Use ISO C style for function definitions.
13619         * libio/iofopen.c: Likewise.
13620         * libio/wfileops.c: Likewise.
13622         [BZ #17653]
13623         * libio/fileops.c (_IO_new_file_underflow): Unset cached
13624         offset on EOF.
13625         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13626         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
13627         (fgets_func): Function pointer to fgets and fgetws.
13628         (do_ftell_test): Add test to verify ftell value after read
13629         EOF.
13630         (do_test): Set fgets_func.
13632         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
13633         O_TRUNC flag for w and w+ modes.
13634         (do_rewind_test): Likewise.
13635         (do_ftell_test): Likewise.
13636         (do_write_test): Likewise.
13638         [BZ #17647]
13639         * libio/fileops.c (do_ftell): Seek only when there are
13640         unflushed writes.
13641         * libio/wfileops.c (do_ftell_wide): Likewise.
13642         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
13643         test case.
13644         (do_one_test): Call it.
13646 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
13648         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
13649         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
13650         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
13651         Remove variable.
13652         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13653         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13654         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13656 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
13658         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
13659         Remove variable.
13660         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13662         [BZ #17668]
13663         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
13664         as weak alias of __getifaddrs.  Use libc_hidden_weak.
13665         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13666         __freeifaddrs.  Use libc_hidden_weak.
13667         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
13668         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
13669         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13670         __freeifaddrs.  Use libc_hidden_weak.
13671         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
13672         __getifaddrs and define as weak alias of __getifaddrs.  Use
13673         libc_hidden_weak.
13674         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13675         __freeifaddrs.  Use libc_hidden_weak.
13676         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
13677         Remove variable.
13678         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13679         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13681 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13683         [BZ #17601]
13684         * sysdeps/mips/start.S (__start): Use indirect jump to call
13685         __libc_start_main.
13687 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
13689         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
13691         * nptl/tst-mutex1.c: Include <stdbool.h>.
13692         [!ATTR] (ATTR_NULL): New macro.
13693         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
13694         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
13695         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
13697         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
13698         to char *.
13700         [BZ #17665]
13701         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
13702         Change conditional to [__USE_MISC].
13704         [BZ #17664]
13705         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
13706         fgets_unlocked.
13707         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
13708         __fgets_unlocked.
13709         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
13710         fgets_unlocked.
13711         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
13712         Remove variable.
13713         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13714         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13715         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13716         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13717         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13718         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13719         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13720         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13721         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13723         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
13725 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13727         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13728         Remove strpbrk objects.
13729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13730         (__libc_ifunc_impl_list): Remove strpbrk implementation.
13731         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
13732         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
13733         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
13734         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
13736         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13737         Remove strcspn objects.
13738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13739         (__libc_ifunc_impl_list): Remove strcspn implementation.
13740         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
13741         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
13742         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
13743         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
13745         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13746         Remove strspn objetcs.
13747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13748         (__libc_ifunc_impl_list): Remove strspn implementation.
13749         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
13750         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13751         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
13752         * sysdeps/powerpc/powerpc64/strspn.S: New file.
13754 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
13756         [BZ #17581]
13757         * malloc/hooks.c
13758         (mem2mem_check): Add a terminator to the chain of checking blocks.
13759         (malloc_check_get_size): Use it here.
13760         (mem2chunk_check): Ditto.
13762 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13764         * sysdeps/powerpc/powerpc64/strtok.S: New file.
13765         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
13767 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
13769         * bits/ioctl-types.h: Indent preprocessor directives correctly.
13771         * nptl/nptl-init.c: Include libc-internal.h.
13772         (__pthread_initialize_minimal_internal): Use ROUND_UP.
13774         * elf/ldconfig.c (search_dir): Expand comment.
13776 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
13778         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
13779         variable.
13780         (linknamespace-symlist-stdlibs-tests): Likewise.
13781         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
13782         instead of $(objpfx)symlist-stdlibs.
13783         (linknamespace-libs-isoc): New variable.
13784         (linknamespace-libs): Use $(linknamespace-libs-isoc).
13785         (linknamespace-libs-ISO): New variable.
13786         (linknamespace-libs-ISO99): Likewise.
13787         (linknamespace-libs-ISO11): Likewise.
13788         (linknamespace-libs-XPG3): Likewise.
13789         (linknamespace-libs-XPG4): Likewise.
13790         (linknamespace-libs-POSIX): Likewise.
13791         (linknamespace-libs-UNIX98): Likewise.
13792         (linknamespace-libs-XOPEN2K): Likewise.
13793         (linknamespace-libs-POSIX2008): Likewise.
13794         (linknamespace-libs-XOPEN2K8): Likewise.
13795         ($(objpfx)symlist-stdlibs): Replace by
13796         $(linknamespace-symlist-stdlibs-tests).  Use
13797         $(linknamespace-libs-$*) as set of libraries.
13798         ($(linknamespace-header-tests)): Update dependencies.  Use
13799         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
13800         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
13801         * conform/linknamespace.pl: Remove comment about considering
13802         definitions of symbols from irrelevant libraries.
13804 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13806         [BZ #13862]
13807         * elf/dl-tls.c: Include <atomic.h>.
13808         (oom): Remove #ifdef SHARED/#endif.
13809         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
13810         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
13811         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
13812         big enough.
13813         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
13814         * nptl/Makefile (tests): Add tst-stack4.
13815         (modules-names): Add tst-stack4mod.
13816         ($(objpfx)tst-stack4): New.
13817         (tst-stack4mod.sos): Likewise.
13818         ($(objpfx)tst-stack4.out): Likewise.
13819         ($(tst-stack4mod.sos)): Likewise.
13820         (clean): Likewise.
13821         * nptl/tst-stack4.c: New file.
13822         * nptl/tst-stack4mod.c: Likewise.
13824 2014-11-27  J. Brown  <jb999@gmx.de>
13826         * sysdeps/x86/bits/string.h: Add recent CPUs.
13828 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13830         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
13831         sigblock.
13833         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
13834         feof.
13836         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
13837         variable.
13839 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13841         * nscd/connections.c: Include libc-internal.h because of macro
13842         usage ignore_value.
13844 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13846         * string/bits/string3.h (__warn_memset_zero_len): Don't
13847         declare for gcc newer than 5.0.
13848         (memset): Don't test for zero-length __LEN for gcc newer than
13849         5.0.
13851 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13853         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
13854         size_t for %zu format.
13856         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
13857         difference, not %ju.
13859 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13861         * include/libc-internal.h (ignore_value): New macro.
13862         * nscd/connections.c (restart): Wrap calls to setuid and setgid
13863         with ignore_value.
13865         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13866         definition.
13868         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
13869         pthread_cleanup_push to void *.
13871         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
13872         Undefine.
13874         [BZ #16619]
13875         [BZ #16740]
13876         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
13877         instead of 1L << 52.
13879         * libio/bug-rewind.c (do_test): Check fwscanf return values.
13880         * libio/bug-rewind2.c (do_test): Likewise.
13882         * debug/test-stpcpy_chk-ifunc.c: Remove file.
13883         * debug/test-strcpy_chk-ifunc.c: Likewise.
13884         * wcsmbs/test-wcschr-ifunc.c: Likewise.
13885         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13886         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13887         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13888         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13889         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13890         * Rules [$(multi-arch) = no] (tests): Do not filter out
13891         $(tests-ifunc).
13892         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
13893         * debug/Makefile (tests-ifunc): Remove variable.
13894         (tests): Do not add $(tests-ifunc).
13895         * wcsmbs/Makefile (tests-ifunc): Remove variable.
13896         (tests): Do not add $(tests-ifunc).
13897         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
13898         [TEST_IFUNC]: Remove conditionals.
13899         * string/test-string.h (TEST_IFUNC): Remove macro.
13900         [TEST_IFUNC]: Remove conditionals.
13902         * string/test-strchr.c [!WIDE] (L): New macro.
13903         [WIDE] (L): Likewise.
13904         (check1): Use CHAR instead of char.  Use L on string and character
13905         constants.
13907 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
13909         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
13910         tests.
13911         * sysdeps/powerpc/bits/atomic.h
13912         (__arch_atomic_exchange_and_add_32_acq): Add definition.
13913         (__arch_atomic_exchange_and_add_32_rel): Likewise.
13914         (atomic_exchange_and_add_acq): Likewise.
13915         (atomic_exchange_and_add_rel): Likewise.
13916         * sysdeps/powerpc/powerpc32/bits/atomic.h
13917         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13918         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13919         * sysdeps/powerpc/powerpc64/bits/atomic.h
13920         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13921         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13923 2014-11-26  Torvald Riegel  <triegel@redhat.com>
13925         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
13926         Change synchronization of __sched_fifo_min_prio and
13927         __sched_fifo_max_prio.
13928         * nptl/pthread_mutexattr_getprioceiling.c
13929         (pthread_mutexattr_getprioceiling): Likewise.
13930         * nptl/pthread_mutexattr_setprioceiling.c
13931         (pthread_mutexattr_setprioceiling): Likewise.
13932         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13933         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
13934         Likewise.
13936 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13938         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
13939         void.
13941 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13943         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
13944         third argument const.
13946 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
13948         fnmatch: work around GCC compiler warning bug with uninit var
13949         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13950         This works around a bug with x86-64 GCC 4.9.2 and earlier
13951         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13952         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13953         used uninitialized in this function [-Wmaybe-uninitialized]".
13955 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13957         * posix/bug-regex31.c (main): Return RES not 0.
13959 2014-11-25  Anton Blanchard <anton@samba.org>
13961         * sysdeps/powerpc/bits/atomic.h
13962         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13964 2014-11-24  Sterling Augustine  <saugustine@google.com>
13966         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13968 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
13970         [BZ #17608]
13971         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13973 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
13975         [BZ #17633]
13976         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13977         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13978         variable.
13979         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13980         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13982 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13984         * string/strncpy.c (strncpy): Improve performance by using memset.
13986 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13988         * string/strcpy.c (strcpy):
13989         Improve performance by using strlen and memcpy.
13991 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
13993         * string/strcoll_l.c (get_next_seq): __always_inline.
13994         * string/strcoll_l.c (do_compare): __always_inline.
13996 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13998         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13999         defined.
14000         * include/mqueue.h: Likewise.
14001         * include/stdlib.h: Likewise.
14003         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
14004         (get_null_defines): Adjust.
14005         * sunrpc/Makefile: Adjust comment.
14006         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
14007         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
14008         (CFLAGS-interp.c): Likewise.
14009         (CFLAGS-ldconfig.c): Likewise.
14010         (CPPFLAGS-.os): Likewise.
14011         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14012         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
14013         * extra-modules.mk (extra-modules.mk): Likewise.
14014         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
14015         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
14016         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
14017         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
14018         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
14019         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
14020         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
14021         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
14022         * iconvdata/Makefile (CPPFLAGS): Likewise.
14023         (cpp-srcs-left): Add libof for all iconvdata routines.
14024         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
14025         * include/assert.h: Likewise.
14026         * include/ctype.h: Likewise.
14027         * include/errno.h: Likewise.
14028         * include/libc-symbols.h: Likewise.
14029         * include/math.h: Likewise.
14030         * include/netdb.h: Likewise.
14031         * include/resolv.h: Likewise.
14032         * include/stdio.h: Likewise.
14033         * include/stdlib.h: Likewise.
14034         * include/string.h: Likewise.
14035         * include/sys/stat.h: Likewise.
14036         * include/wctype.h: Likewise.
14037         * intl/l10nflist.c: Likewise.
14038         * libidn/idn-stub.c: Likewise.
14039         * libio/libioP.h: Likewise.
14040         * nptl/libc_multiple_threads.c: Likewise.
14041         * nptl/pthreadP.h: Likewise.
14042         * posix/regex_internal.h: Likewise.
14043         * resolv/res_hconf.c: Likewise.
14044         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
14045         * sysdeps/arm/memmove.S: Likewise.
14046         * sysdeps/arm/sysdep.h: Likewise.
14047         * sysdeps/generic/_itoa.h: Likewise.
14048         * sysdeps/generic/symbol-hacks.h: Likewise.
14049         * sysdeps/gnu/errlist.awk: Likewise.
14050         * sysdeps/gnu/errlist.c: Likewise.
14051         * sysdeps/i386/i586/memcpy.S: Likewise.
14052         * sysdeps/i386/i586/memset.S: Likewise.
14053         * sysdeps/i386/i686/memcpy.S: Likewise.
14054         * sysdeps/i386/i686/memmove.S: Likewise.
14055         * sysdeps/i386/i686/mempcpy.S: Likewise.
14056         * sysdeps/i386/i686/memset.S: Likewise.
14057         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14058         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14059         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
14060         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
14061         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14062         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14063         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
14064         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14065         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14066         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14067         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14068         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14069         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14070         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14071         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14072         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14073         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
14074         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
14075         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
14076         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14077         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14078         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14079         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14080         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14081         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14082         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14083         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
14084         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14085         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
14086         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14087         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14088         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14089         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14090         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14091         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14092         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14093         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14094         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14095         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14096         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14097         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14098         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14099         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14100         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14101         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14102         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14103         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
14104         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
14105         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14106         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14107         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14108         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
14109         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
14110         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14111         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14112         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
14113         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14114         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
14115         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
14116         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14117         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14118         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14119         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
14120         * sysdeps/nptl/bits/libc-lock.h: Likewise.
14121         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
14122         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
14123         * sysdeps/posix/closedir.c: Likewise.
14124         * sysdeps/posix/opendir.c: Likewise.
14125         * sysdeps/posix/readdir.c: Likewise.
14126         * sysdeps/posix/rewinddir.c: Likewise.
14127         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
14128         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
14129         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14130         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14131         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14132         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
14133         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
14134         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
14135         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
14136         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
14137         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
14138         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
14139         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
14140         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
14141         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
14142         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
14143         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
14144         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
14145         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
14146         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
14147         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
14148         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
14149         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
14150         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
14151         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
14152         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
14153         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
14154         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
14155         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
14156         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
14157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
14158         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
14159         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
14160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
14161         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
14162         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
14163         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14164         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14165         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
14166         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
14167         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
14168         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
14169         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
14170         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
14171         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
14172         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
14173         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
14174         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
14175         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
14176         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
14177         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
14178         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
14179         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14180         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
14181         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
14182         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
14183         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
14184         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
14185         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
14186         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
14187         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
14188         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
14189         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14190         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
14191         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
14192         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
14193         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
14194         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
14195         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
14196         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
14197         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
14198         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
14199         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
14200         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
14201         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
14202         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
14203         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
14204         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
14205         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
14206         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
14207         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
14208         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14209         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
14210         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
14211         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14212         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
14213         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
14214         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14215         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14216         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14217         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
14218         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
14219         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
14220         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14221         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14222         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
14223         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14224         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14225         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
14226         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
14227         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14228         * sysdeps/unix/alpha/sysdep.S: Likewise.
14229         * sysdeps/unix/alpha/sysdep.h: Likewise.
14230         * sysdeps/unix/make-syscalls.sh: Likewise.
14231         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
14232         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14233         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
14234         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14235         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
14236         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14237         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
14238         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14239         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
14240         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
14241         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14242         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
14243         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14244         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
14245         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
14246         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14247         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14248         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14249         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
14250         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
14251         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14252         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14253         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14254         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
14255         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
14256         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
14257         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
14259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
14260         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
14261         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14262         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
14263         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14264         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14265         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14266         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
14267         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14268         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14269         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14270         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
14271         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14272         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
14273         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14274         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14275         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14276         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
14277         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14278         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14279         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
14280         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14281         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14282         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
14283         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14284         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
14285         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14286         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14287         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
14288         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14289         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
14290         * sysdeps/x86_64/memcpy.S: Likewise.
14291         * sysdeps/x86_64/memmove.c: Likewise.
14292         * sysdeps/x86_64/memset.S: Likewise.
14293         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
14294         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14295         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14296         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
14297         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14298         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14299         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14300         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14301         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14302         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14303         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14304         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14305         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
14306         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14307         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14308         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
14309         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14310         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14311         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14312         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14313         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
14314         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14315         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14316         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14317         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14318         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14319         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14320         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
14321         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14322         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14323         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
14324         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14325         * sysdeps/x86_64/strcmp.S: Likewise.
14327         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
14329         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
14330         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
14331         * elf/rtld-Rules: Likewise.
14332         * elf/setup-vdso.h: Likewise.
14333         * include/assert.h: Likewise.
14334         * include/bits/stdlib-float.h: Likewise.
14335         * include/errno.h: Likewise.
14336         * include/sys/stat.h: Likewise.
14337         * include/unistd.h: Likewise.
14338         * sysdeps/aarch64/setjmp.S: Likewise.
14339         * sysdeps/alpha/setjmp.S: Likewise.
14340         * sysdeps/arm/__longjmp.S: Likewise.
14341         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
14342         * sysdeps/arm/setjmp.S: Likewise.
14343         * sysdeps/arm/sysdep.h: Likewise.
14344         * sysdeps/generic/_itoa.h: Likewise.
14345         * sysdeps/generic/dl-sysdep.h: Likewise.
14346         * sysdeps/generic/ldsodefs.h: Likewise.
14347         * sysdeps/i386/dl-tls.h: Likewise.
14348         * sysdeps/i386/setjmp.S: Likewise.
14349         * sysdeps/m68k/setjmp.c: Likewise.
14350         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
14351         * sysdeps/mach/hurd/opendir.c: Likewise.
14352         * sysdeps/posix/getcwd.c: Likewise.
14353         * sysdeps/posix/opendir.c: Likewise.
14354         * sysdeps/posix/profil.c: Likewise.
14355         * sysdeps/powerpc/dl-procinfo.h: Likewise.
14356         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14357         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14358         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14359         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14360         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
14361         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14362         * sysdeps/s390/dl-tls.h: Likewise.
14363         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14364         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14365         * sysdeps/sh/sh3/setjmp.S: Likewise.
14366         * sysdeps/sh/sh4/setjmp.S: Likewise.
14367         * sysdeps/unix/alpha/sysdep.h: Likewise.
14368         * sysdeps/unix/arm/sysdep.S: Likewise.
14369         * sysdeps/unix/i386/sysdep.S: Likewise.
14370         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14371         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14372         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14373         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14374         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14375         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
14376         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14377         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14378         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14379         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
14380         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14381         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14382         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14385         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14386         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14387         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14388         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14389         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14390         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14391         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14392         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14393         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14394         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14395         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14397         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14398         * sysdeps/x86_64/setjmp.S: Likewise.
14400         * include/math.h: Use IS_IN instead of IS_IN_libm.
14401         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
14402         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14403         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14404         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14405         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14406         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14407         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14408         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14409         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14410         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14411         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
14412         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
14413         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
14414         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
14415         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
14416         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
14417         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
14418         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
14419         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
14420         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
14421         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
14422         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
14423         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
14424         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
14425         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
14426         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
14427         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
14428         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
14429         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
14430         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
14431         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
14432         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14433         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
14435         Likewise.
14436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
14437         Likewise.
14438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
14439         Likewise.
14440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
14441         Likewise.
14442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
14443         Likewise.
14444         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14445         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
14446         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14447         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14448         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14449         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
14451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
14452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
14453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
14454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
14455         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
14456         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
14457         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14458         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14459         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14460         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14461         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14462         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14463         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14464         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
14465         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
14466         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
14467         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
14468         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
14469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14470         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
14472         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
14473         * nptl/pthreadP.h: Likewise.
14474         * nptl_db/structs.def: Likewise.
14475         * sysdeps/arm/sysdep.h: Likewise.
14476         * sysdeps/nptl/bits/libc-lock.h: Likewise.
14477         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
14478         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
14479         * sysdeps/unix/alpha/sysdep.h: Likewise.
14480         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
14481         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14482         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
14483         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
14484         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
14485         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
14486         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14487         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
14488         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14489         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
14490         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14491         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
14492         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
14493         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
14494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
14495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
14496         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
14497         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
14498         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
14499         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
14500         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
14501         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
14502         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14503         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
14504         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14505         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
14507         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
14508         * nptl/pthreadP.h: Likewise.
14509         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
14510         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
14511         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
14512         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
14513         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
14514         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
14515         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14516         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
14517         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14518         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
14519         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
14520         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
14521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14522         Likewise.
14523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14524         Likewise.
14525         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
14526         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
14527         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
14528         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
14529         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
14530         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
14531         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
14532         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
14534         * dlfcn/dladdr.c: Use IS_IN.
14535         * dlfcn/dladdr1.c: Likewise.
14536         * dlfcn/dlclose.c: Likewise.
14537         * dlfcn/dlerror.c: Likewise.
14538         * dlfcn/dlinfo.c: Likewise.
14539         * dlfcn/dlmopen.c: Likewise.
14540         * dlfcn/dlopen.c: Likewise.
14541         * dlfcn/dlsym.c: Likewise.
14542         * dlfcn/dlvsym.c: Likewise.
14544         * include/ifaddrs.h: Use IS_IN.
14545         * inet/check_pf.c: Likewise.
14546         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14547         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
14549         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
14550         IS_IN_ldconfig.
14551         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
14552         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
14554         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
14555         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
14556         IS_IN (libc).
14558         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
14560         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
14561         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14562         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
14563         * include/libc-symbols.h (IS_IN_LIB): New macro.
14564         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
14565         * include/netdb.h: Likewise.
14566         * include/stap-probe.h: Remove all uses of IN_LIB.
14568         * Makeconfig (module-cppflags-real): Define MODULE_NAME
14569         instead of IN_MODULE.
14570         * include/libc-symbols.h (IN_MODULE): Define using
14571         MODULE_NAME.
14572         (PASTE_NAME, PASTE_NAME1): New macros.
14573         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
14574         of IN_LIB.
14575         (STAP_PROBE_ASM): Likewise.
14577 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14579         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
14580         __mach_init in dlopened libc.
14582 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
14584         * sysdeps/arm/preconfigure.ac: Delete EABI check.
14585         * sysdeps/arm/preconfigure: Regenerate.
14587 2014-11-21  Roland McGrath  <roland@hack.frob.com>
14589         * nptl/pthread_create.c (__pthread_create_2_1): Set
14590         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
14591         when copying values from IATTR into PD.
14593 2014-11-21  Will Newton  <will.newton@linaro.org>
14594             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
14596         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
14597         Refactor inline-asm.  Also add comment.
14599         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
14600         ElfW macro instead of hardcoded Elf64 types.
14601         (la_aarch64_gnu_pltenter): Likewise.
14602         * sysdeps/aarch64/dl-machine.h
14603         (elf_machine_runtime_setup): Use ElfW(Addr).
14605         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
14606         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
14607         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
14608         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
14609         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
14610         (R_AARCH64_TLS_DTPMOD64): Rename to ..
14611         (R_AARCH64_TLS_DTPMOD): This.
14612         (R_AARCH64_TLS_DTPREL64): Rename to ...
14613         (R_AARCH64_TLS_DTPREL): This.
14614         (R_AARCH64_TLS_TPREL64): Rename to ...
14615         (R_AARCH64_TLS_TPREL): This.
14616         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
14617         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
14618         R_AARCH64_TLS_TPREL64.
14619         (elf_machine_rela): Likewise.
14621 2014-11-21  Torvald Riegel  <triegel@redhat.com>
14623         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
14624         by setting it to 0.  64b atomics are not supported currently.
14626 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14628         [BZ #16469]
14629         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
14630         search domain names.
14632 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14634         [BZ #16469]
14635         * NEWS: Update.
14636         * resolv/res_query.c (__libc_res_nquerydomain): Retain
14637         trailing dot.
14638         * posix/tst-getaddrinfo5.c: New.
14639         * posix/Makefile (tests): Add it.
14641 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14643         [BZ #14498]
14644         * NEWS: Fixed.
14645         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
14646         after parsing line but before break_if_match.
14647         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
14648         if there is a protocol mismatch.
14650 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
14652         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
14653         because the potential race is on the user-supplied stream.
14655 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14657         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
14658         string literal if not passed a buffer.
14659         * manual/job.texi (ctermid): Update reasoning, note deviation
14660         from posix, suggest mtasurace when not passed a buffer, for
14661         future non-preliminary safety notes.
14663 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14665         * manual/users.texi (cuserid): Fix MT-Safety note for the case
14666         of not passing it a buffer.
14667         Reported by Peng Haitao.
14669 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14671         * manual/Makefile ($(objpfx)stamp-summary): Require
14672         check-safety.sh to pass.
14673         * manual/check-safety.sh: Wish for verification that every
14674         @deftypefn and @deftypefun is followed by a @safety remark.
14676 2014-11-20  Roland McGrath  <roland@hack.frob.com>
14678         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
14680         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
14681         PTHREAD_CANCEL_ASYNCHRONOUS.
14682         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
14683         send SIGCANCEL.
14685         * nptl/default-sched.h: New file.
14686         * sysdeps/unix/sysv/linux/default-sched.h: New file.
14687         * nptl/pthread_create.c: Include it.
14688         (__pthread_create_2_1): Use collect_default_sched instead of making
14689         Linux syscalls here directly.
14691 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14693         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
14694         __pthread_once): Use C11 atomics.
14696 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14698         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
14700 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14702         * include/atomic.h (__atomic_link_error, __atomic_check_size,
14703         atomic_thread_fence_acquire, atomic_thread_fence_release,
14704         atomic_thread_fence_seq_cst, atomic_load_relaxed,
14705         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
14706         atomic_compare_exchange_weak_relaxed,
14707         atomic_compare_exchange_weak_acquire,
14708         atomic_compare_exchange_weak_release,
14709         atomic_exchange_acquire, atomic_exchange_release,
14710         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
14711         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
14712         atomic_fetch_and_acquire,
14713         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
14715 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14717         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
14718         USE_ATOMIC_COMPILER_BUILTINS): Define.
14719         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
14720         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14721         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
14722         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14723         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
14724         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14725         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
14726         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14727         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
14728         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14729         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
14730         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14731         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
14732         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14733         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
14734         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14735         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14736         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14737         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14738         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14739         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
14740         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14741         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14742         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14743         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
14744         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14745         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14746         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14747         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
14748         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14749         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
14750         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14751         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
14752         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14753         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14754         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14755         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
14756         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14757         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
14758         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14760 2014-11-19  Roland McGrath  <roland@hack.frob.com>
14762         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
14763         the sched_priority value here.  It was already checked when the user
14764         called pthread_attr_setschedparam.
14766         * nptl/tst-bad-schedattr.c: New file.
14767         * nptl/Makefile (tests): Add it.
14769 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
14770             Florian Weimer  <fweimer@redhat.com>
14771             Joseph Myers  <joseph@codesourcery.com>
14772             Adam Conrad  <adconrad@0c3.net>
14773             Andreas Schwab  <schwab@suse.de>
14774             Brooks  <bmoses@google.com>
14776         [BZ #17625]
14777         * wordexp-test.c (__dso_handle): Add prototype.
14778         (__register_atfork): Likewise.
14779         (__app_register_atfork): New function.
14780         (registered_forks): New global.
14781         (register_fork): New function.
14782         (test_case): Add 3 new tests for WRDE_CMDSUB.
14783         (main): Call __app_register_atfork.
14784         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
14785         fork count is non-zero fail the test.
14786         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
14787         is set.
14788         (parse_dollars): Remove check for WRDE_NOCMD.
14789         (parse_dquote): Likewise.
14791 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14793         * Makeconfig (built-modules): List non-library modules to be
14794         built.
14795         (module-cppflags): Include libc-modules.h for
14796         everything except shlib-versions.v.i.
14797         (CPPFLAGS): Use it.
14798         (before-compile): Add libc-modules.h.
14799         ($(common-objpfx)libc-modules.h,
14800         $(common-objpfx)libc-modules.stmp): New targets.
14801         (common-generated): Add libc-modules.h and libc-modules.stmp.
14802         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
14803         * include/libc-symbols.h: Don't include libc-modules.h.
14804         * include/libc-modules.h: Remove file.
14805         * scripts/gen-libc-modules.awk: New script to generate
14806         libc-modules.h.
14807         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
14808         Depend on libc-modules.stmp.
14810         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
14812         * Makeconfig (in-module): Get value of libof set for the
14813         translation unit.
14814         (CPPFLAGS): Use $(in-module).
14815         * Makerules: Don't suffix routine names for nonlib.
14816         * include/libc-modules.h: New file.
14817         * include/libc-symbols.h: Include libc-modules.h
14818         (IS_IN): New macro to replace IS_IN_* macros.
14819         * elf/Makefile: Set libof-* for each routine.
14820         * elf/rtld-Rules: Likewise.
14821         * extra-modules.mk: Likewise.
14822         * iconv/Makefile: Likewise.
14823         * iconvdata/Makefile: Likewise.
14824         * locale/Makefile: Likewise.
14825         * malloc/Makefile: Likewise.
14826         * nss/Makefile: Likewise.
14827         * sysdeps/gnu/Makefile: Likewise.
14828         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
14829         * sysdeps/unix/sysv/linux/Makefile: Likewise.
14830         * sysdeps/s390/s390-64/Makefile: Likewise.
14831         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
14832         CPPFLAGS for nscd instead of nonlib.
14834 2014-11-18  Roland McGrath  <roland@hack.frob.com>
14836         * nptl/createthread.c: New file.
14838         * nptl/createthread.c: Moved ...
14839         * sysdeps/unix/sysv/linux/createthread.c: ... here.
14841         * nptl/createthread.c: Add proper top-line comment.
14842         (do_clone): Folded into ...
14843         (create_thread): ... here.  Take new arguments STOPPED_START and
14844         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
14845         increment __nptl_threads, do event-reporting logic, do
14846         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
14847         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
14848         resource cleanup if sched_setaffinity or sched_setscheduler fails,
14849         just send SIGCANCEL.
14850         * nptl/pthread_create.c: Forward-declare create_thread before
14851         including createthread.c.
14852         (start_thread): Use new macro START_THREAD_DEFN to replace defining
14853         declaration, and new macro START_THREAD_SELF to replace argument.
14854         Remove return statement.
14855         (report_thread_creation): New function.
14856         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
14857         synchronization logic, and __nptl_nthreads increment here, around
14858         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
14859         PD->parent_cancelhandling here, before create_thread.  When
14860         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
14861         __deallocate_stack, and ENOMEM translation here.
14863 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
14865         [BZ #17616]
14866         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
14867         (mptwo): Rename to __mptwo.
14868         (__inv): Use __mptwo instead of mptwo.
14869         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
14870         (mptwo): Rename to __mptwo.
14871         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
14872         of mpone and __mptwo instead of mptwo.
14873         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
14874         instead of mpone.
14875         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14876         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
14877         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
14878         of mpone and __mptwo instead of mptwo.
14879         (__mpranred): Use __mpone instead of mpone.
14880         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
14881         variable.
14882         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14883         (test-xfail-ISO99/math.h/linknamespace): Likewise.
14884         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14885         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14886         (test-xfail-ISO11/math.h/linknamespace): Likewise.
14887         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14888         (test-xfail-XPG3/math.h/linknamespace): Likewise.
14889         (test-xfail-XPG4/math.h/linknamespace): Likewise.
14890         (test-xfail-POSIX/math.h/linknamespace): Likewise.
14891         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14892         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14893         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14894         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14895         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14896         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14897         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14898         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14899         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14900         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14902 2014-11-18  Tom de Vries  <tom@codesoucery.com>
14904         * manual/signal.texi (Primitives Interrupted by Signals): In section,
14905         replace BSD Handler xref with BSD Signal Handling.
14907 2014-11-17  Richard Henderson  <rth@redhat.com>
14909         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
14910         (_FP_PACK_RAW_2): Remove.
14911         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
14912         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
14913         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
14914         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14915         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
14916         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
14917         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
14918         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
14919         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
14920         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
14921         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
14922         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
14923         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
14924         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
14925         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
14926         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
14928 2014-11-14  Roland McGrath  <roland@hack.frob.com>
14930         * signal/signal.h [__USE_MISC]
14931         (struct sigvec): Remove type.
14932         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
14933         (sigvec): Remove declaration.
14934         * sysdeps/posix/sigvec.c: Moved ...
14935         * signal/sigvec.c: ... here, replacing old file.
14936         (struct sigvec): New type, copied from old signal.h definition.
14937         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
14938         (__sigvec): Convert definition to prototype.
14939         (sigvec): Replace weak_alias with compat_symbol.
14940         * signal/Versions (libc: GLIBC_2.21): New version set.
14941         * include/signal.h: Remove __sigvec declaration.
14942         * sysdeps/unix/bsd/sigvec.c: Remove file.
14943         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
14944         * manual/signal.texi (BSD Handler): Remove subsection.
14945         Move siginterrupt up to ...
14946         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
14947         (Blocking in BSD): Fold subsection into its parent.
14948         * NEWS: Mention sigvec removal.
14950 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14952         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14953         (DLA_FMS): Make definition conditional only on [__FMA4__].
14954         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14955         definition.
14957         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14958         Make definition conditional only on [PROF].
14959         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14960         definition.
14961         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14962         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14964         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14965         !__GNUC__].
14966         * include/signal.h (__sigpause): Move declaration above call to
14967         libc_hidden_proto.
14968         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14969         variable.
14970         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14971         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14973 2014-11-14  David S. Miller  <davem@davemloft.net>
14975         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14976         Define before including <string/memcpy.c> and <string/mempcpy.c>.
14978 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14980         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14981         * configure: Regenerated.
14982         * manual/install.texi (Tools for Compilation): Document a
14983         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14984         compiler verified to work.
14985         * INSTALL: Regenerated.
14987         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14988         redeclare with asm name.
14989         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14990         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14991         including <string.h>.
14992         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14993         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14994         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14995         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14996         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14997         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14998         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
15000 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
15002         * stdlib/strtol.c (__strtol): Use prototype definition.
15004         [BZ #17594]
15005         * stdlib/strtol.c (SYM__): New macro.
15006         (SYM__1): Likewise.
15007         (__strtol): Likewise.
15008         (strtol): Rename to __strtol and define as weak alias of
15009         __strtol.  Use libc_hidden_weak.
15011 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15013         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
15014         Use numbered labels in inline assembly.
15016 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15018         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
15019         Add setjmp LIBC_PROBE.
15020         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
15021         Likewise.
15022         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
15023         Add longjmp, longjmp_target LIBC_PROBE.
15024         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
15025         Likewise.
15027 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15029         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15030         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
15031         to get rid of unused variable warning.
15033 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15035         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
15036         Check for unwind_backtrace ==  NULL only in SHARED case.
15037         (__backchain_backtrace): Compile only in SHARED case.
15038         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
15039         Likewise.
15040         (__backchain_backtrace): Declare as static.
15042 2014-11-12  Roland McGrath  <roland@hack.frob.com>
15044         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
15045         (__libc_multiple_threads_ptr): Variable moved ...
15046         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
15048 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
15050         * conform/GlibcConform.pm: New file.
15051         * conform/conformtest.pl: Use GlibcConform module.
15052         * conform/linknamespace.pl: New file.
15053         * conform/list-header-symbols.pl: Likewise.
15054         * conform/Makefile (linknamespace-symlists-base): New variable.
15055         (linknamespace-symlists-tests): Likewise.
15056         (linknamespace-header-base): Likewise.
15057         (linknamespace-header-tests): Likewise.
15058         (tests-special): Add new tests.
15059         ($(linknamespace-symlists-tests)): New rule.
15060         (linknamespace-libs): New variable.
15061         ($(objpfx)symlist-stdlibs): New rule.
15062         ($(linknamespace-header-tests)): Likewise.
15063         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
15064         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
15065         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
15066         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
15067         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
15068         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
15069         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
15070         (test-xfail-ISO/math.h/linknamespace): Likewise.
15071         (test-xfail-ISO/signal.h/linknamespace): Likewise.
15072         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
15073         (test-xfail-ISO/time.h/linknamespace): Likewise.
15074         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
15075         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
15076         (test-xfail-ISO99/math.h/linknamespace): Likewise.
15077         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
15078         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
15079         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
15080         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
15081         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
15082         (test-xfail-ISO11/math.h/linknamespace): Likewise.
15083         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
15084         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
15085         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
15086         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
15087         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
15088         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
15089         (test-xfail-XPG3/math.h/linknamespace): Likewise.
15090         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
15091         (test-xfail-XPG3/search.h/linknamespace): Likewise.
15092         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
15093         (test-xfail-XPG3/time.h/linknamespace): Likewise.
15094         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
15095         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15096         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
15097         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
15098         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15099         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15100         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
15101         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
15102         (test-xfail-XPG4/math.h/linknamespace): Likewise.
15103         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
15104         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
15105         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
15106         (test-xfail-XPG4/search.h/linknamespace): Likewise.
15107         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15108         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
15109         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
15110         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
15111         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
15112         (test-xfail-XPG4/time.h/linknamespace): Likewise.
15113         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
15114         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15115         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
15116         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15117         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15118         (test-xfail-POSIX/math.h/linknamespace): Likewise.
15119         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
15120         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
15121         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
15122         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
15123         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
15124         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
15125         (test-xfail-POSIX/time.h/linknamespace): Likewise.
15126         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
15127         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15128         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
15129         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
15130         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
15131         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15132         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15133         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
15134         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
15135         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
15136         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
15137         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15138         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
15139         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
15140         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
15141         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
15142         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15143         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
15144         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
15145         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15146         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
15147         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
15148         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15149         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
15150         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
15151         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
15152         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15153         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
15154         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
15155         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
15156         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
15157         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15158         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15159         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
15160         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
15161         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
15162         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
15163         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
15164         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
15165         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
15166         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
15167         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
15168         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15169         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
15170         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
15171         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
15172         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15173         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
15174         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
15175         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15176         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15177         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
15178         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
15179         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15180         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
15181         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15182         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
15183         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
15184         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
15185         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
15186         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
15187         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15188         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
15189         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
15190         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
15191         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15192         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
15193         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
15194         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15195         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15196         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
15197         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
15198         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
15199         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
15200         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
15201         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
15202         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
15203         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15204         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
15205         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
15206         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
15207         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
15208         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
15209         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
15210         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
15211         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15212         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
15213         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15214         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
15215         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15216         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
15217         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15218         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
15219         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
15220         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
15221         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
15222         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
15223         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15225         [BZ #17589]
15226         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
15227         of fgets_unlocked.
15229         [BZ #17585]
15230         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
15231         (memmem): Rename to __memmem and define as weak alias of
15232         __memmem.  Use libc_hidden_weak.
15233         (__memmem): Use libc_hidden_def.
15234         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
15235         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
15236         memmem.
15238         [BZ #17582]
15239         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
15240         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
15241         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
15242         and define as weak alias of __fgets_unlocked.  Use
15243         libc_hidden_weak.
15244         (__fgets_unlocked): Use libc_hidden_def.
15245         * include/stdio.h (__fgets_unlocked): Declare.  Use
15246         libc_hidden_proto.
15247         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
15248         __fgets_unlocked instead of fgets_unlocked.
15249         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
15250         (GET_NPROCS_CONF_PARSER): Likewise.
15251         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
15252         (GET_NPROCS_CONF_PARSER): Likewise.
15254         [BZ #17574]
15255         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
15256         weak alias of __wmemset.  Use libc_hidden_weak.
15257         (__wmemset): Use libc_hidden_def.
15258         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
15259         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
15260         of wmemset.
15262         [BZ #17573]
15263         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
15264         with asm name __mempcpy.
15265         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
15267         [BZ #17572]
15268         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
15269         and define as weak alias of __rawmemchr.
15270         (__rawmemchr): Do not define as strong alias of rawmemchr.
15272         [BZ #17571]
15273         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
15274         alias of __qsort_r.
15275         (qsort): Call __qsort_r instead of qsort_r.
15276         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
15277         (__qsort_r): Declare.  Call libc_hidden_proto.
15278         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
15279         instead of qsort_r.
15280         * nscd/gai.c (__qsort_r): Define to qsort_r.
15281         * posix/tst-rfc3484.c (__qsort_r): Likewise.
15282         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
15283         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
15285         [BZ #17570]
15286         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
15287         define as weak alias of __malloc_info.
15289         [BZ #17584]
15290         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
15291         as weak alias of __rewinddir.  Don't use libc_hidden_def.
15292         (__rewinddir): Use libc_hidden_def.
15293         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
15294         as weak alias of __rewinddir.  Don't use libc_hidden_def.
15295         (__rewinddir): Use libc_hidden_def.
15296         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
15297         weak alias of __rewinddir.  Don't use libc_hidden_def.
15298         (__rewinddir): Use libc_hidden_def.
15299         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
15300         (__rewinddir): Use libc_hidden_proto.
15301         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
15302         rewinddir.
15303         (__getcwd): Use __rewinddir instead of rewinddir.
15305         [BZ #17583]
15306         * libio/fileno.c (fileno): Rename to __fileno and define as weak
15307         alias of __fileno.  Use libc_hidden_weak.
15308         (__fileno): Use libc_hidden_def.
15309         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
15310         * libio/ftello.c (ftello): Rename to __ftello and define as weak
15311         alias of __ftello.
15312         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
15313         __ftello.
15314         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
15315         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
15316         libc_hidden_def.
15317         (fread_unlocked): Don't use libc_hidden_ver.
15318         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
15319         and define as weak alias of __fread_unlocked.  Don't use
15320         libc_hidden_def.
15321         (__fread_unlocked): Use libc_hidden_def.
15322         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
15323         (ftello): Don't use libc_hidden_proto.
15324         (__ftello): Declare.  Use libc_hidden_proto.
15325         (fread_unlocked): Don't use libc_hidden_proto.
15326         (__fread_unlocked): Declare.  Use libc_hidden_proto.
15327         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
15328         and __ftello instead of fileno, fread_unlocked and ftello.
15330 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15332         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
15333         GOT12.
15334         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
15335         Likewise.
15336         (_dl_start_user): Likewise.
15337         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
15339 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
15340             Siddhesh Poyarekar  <siddhesh@redhat.com>
15342         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
15343         Move argv and envp down instead of moving argc up.
15344         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
15346 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
15348         [BZ #17506]
15349         * test-skeleton.c (main): Return successful if one of
15350         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
15351         * string/tst-strcoll-overflow.c: Define expected status.
15353 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
15355         [BZ #17475]
15356         * locale/iso-639.def: Define Bhili and Tulu language codes.
15358 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
15360         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
15362 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
15364         [BZ #17555]
15365         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
15367 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15369         * configure.ac: Updated check of minimal required version to
15370         2.22.
15371         * manual/install.texi (Tools for Compilation): Updated version
15372         number.
15373         * configure: Regenerated.
15374         * INSTALL: Likewise.
15376 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
15378         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
15379         __tls_get_addr.
15381 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
15383         * include/sys/wait.h (__libc_waitpid): Remove declaration.
15384         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
15385         (__waitpid): Don't define as alias.  Use libc_hidden_def not
15386         libc_hidden_weak.
15387         (waitpid): Define as alias of __waitpid.
15388         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
15389         __waitpid.
15390         (__waitpid): Don't define as alias.  Use libc_hidden_def not
15391         libc_hidden_weak.
15392         (waitpid): Define as alias of __waitpid.
15393         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
15394         __libc_waitpid alias.
15395         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
15396         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
15397         Likewise.
15398         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
15399         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
15400         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
15401         alias.
15402         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
15403         __waitpid.
15404         (__waitpid): Don't define as alias.  Use libc_hidden_def not
15405         libc_hidden_weak.
15406         (waitpid): Define as alias of __waitpid.
15408 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
15410         * manual/llio.texi: Add comment that write safety has been
15411         fixed in Linux.
15413         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
15414         (localplt-build-dso): Add elf/ld.so.
15415         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
15416         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
15417         and free for ld.so.
15418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
15419         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
15420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
15421         Likewise.
15422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15423         Likewise.
15424         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
15425         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
15426         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
15427         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
15428         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15429         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
15430         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
15431         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
15432         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15433         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
15434         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15436 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
15438         [BZ #14132]
15439         * include/libc-symbols.h (INTUSE): Remove macro.
15440         (INTDEF): Likewise.
15441         (INTVARDEF): Likewise.
15442         (_INTVARDEF): Likewise.
15443         (INTDEF2): Likewise.
15444         (INTVARDEF2): Likewise.
15445         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
15446         rtld_hidden_def instead of INTVARDEF.
15447         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
15448         (_dl_starting_up_internal): Remove declaration.
15449         (_dl_starting_up): Use rtld_hidden_proto.
15450         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
15451         declaration.
15452         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
15453         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
15454         _dl_starting_up.
15455         * elf/dl-writev.h (_dl_writev): Likewise.
15456         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
15457         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
15458         _dl_starting_up_internal.
15460 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15462         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15463         test-skeleton.c.
15465 2014-11-05  Will Newton  <will.newton@linaro.org>
15467         * benchtests/Makefile: (bench-malloc): Add malloc thread
15468         scalability benchmark.
15469         * benchtests/bench-malloc-threads.c: New file.
15471 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
15473         * sysdeps/aarch64/strchrnul.S: New file.
15475 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15477         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
15478         definition.
15479         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15480         Likwise.
15481         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15482         Likewise.
15483         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15484         Likewise.
15485         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15486         Likewise.
15487         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15488         Likewise.
15490 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
15492         * catgets/test-gencat.c: Use test-skeleton.c.
15493         * catgets/tst-catgets.c: Likewise.
15494         * csu/tst-empty.c: Likewise.
15495         * elf/tst-audit2.c: Likewise.
15496         * elf/tst-global1.c: Likewise.
15497         * elf/tst-pathopt.c: Likewise.
15498         * elf/tst-piemod1.c: Likewise.
15499         * elf/tst-tls10.c: Likewise.
15500         * elf/tst-tls11.c: Likewise.
15501         * elf/tst-tls12.c: Likewise.
15502         * gnulib/tst-gcc.c: Likewise.
15503         * iconvdata/tst-e2big.c: Likewise.
15504         * iconvdata/tst-loading.c: Likewise.
15505         * iconv/tst-iconv1.c: Likewise.
15506         * iconv/tst-iconv2.c: Likewise.
15507         * inet/test-inet6_opt.c: Likewise.
15508         * inet/tst-gethnm.c: Likewise.
15509         * inet/tst-network.c: Likewise.
15510         * inet/tst-ntoa.c: Likewise.
15511         * intl/tst-codeset.c: Likewise.
15512         * intl/tst-gettext2.c: Likewise.
15513         * intl/tst-gettext3.c: Likewise.
15514         * intl/tst-ngettext.c: Likewise.
15515         * intl/tst-translit.c: Likewise.
15516         * io/test-stat.c: Likewise.
15517         * libio/test-fmemopen.c: Likewise.
15518         * libio/tst-freopen.c: Likewise.
15519         * libio/tst-sscanf.c: Likewise.
15520         * libio/tst-ungetwc1.c: Likewise.
15521         * libio/tst-ungetwc2.c: Likewise.
15522         * libio/tst-widetext.c: Likewise.
15523         * localedata/tst-ctype.c: Likewise.
15524         * localedata/tst-digits.c: Likewise.
15525         * localedata/tst-leaks.c: Likewise.
15526         * localedata/tst-mbswcs1.c: Likewise.
15527         * localedata/tst-mbswcs2.c: Likewise.
15528         * localedata/tst-mbswcs3.c: Likewise.
15529         * localedata/tst-mbswcs4.c: Likewise.
15530         * localedata/tst-mbswcs5.c: Likewise.
15531         * localedata/tst-setlocale.c: Likewise.
15532         * localedata/tst-trans.c: Likewise.
15533         * localedata/tst-wctype.c: Likewise.
15534         * localedata/tst-xlocale1.c: Likewise.
15535         * login/tst-grantpt.c: Likewise.
15536         * malloc/tst-calloc.c: Likewise.
15537         * malloc/tst-malloc.c: Likewise.
15538         * malloc/tst-mallocstate.c: Likewise.
15539         * malloc/tst-mcheck.c: Likewise.
15540         * malloc/tst-mtrace.c: Likewise.
15541         * malloc/tst-obstack.c: Likewise.
15542         * math/atest-exp2.c: Likewise.
15543         * math/atest-exp.c: Likewise.
15544         * math/atest-sincos.c: Likewise.
15545         * math/test-matherr.c: Likewise.
15546         * math/test-misc.c: Likewise.
15547         * math/test-powl.c: Likewise.
15548         * math/tst-definitions.c: Likewise.
15549         * misc/tst-dirname.c: Likewise.
15550         * misc/tst-efgcvt.c: Likewise.
15551         * misc/tst-fdset.c: Likewise.
15552         * misc/tst-hsearch.c: Likewise.
15553         * misc/tst-mntent2.c: Likewise.
15554         * nptl/tst-sem7.c: Likewise.
15555         * nptl/tst-sem8.c: Likewise.
15556         * nptl/tst-sem9.c: Likewise.
15557         * nss/test-netdb.c: Likewise.
15558         * posix/tst-fnmatch.c: Likewise.
15559         * posix/tst-getlogin.c: Likewise.
15560         * posix/tst-gnuglob.c: Likewise.
15561         * posix/tst-mmap.c: Likewise.
15562         * pwd/tst-getpw.c: Likewise.
15563         * resolv/tst-inet_ntop.c: Likewise.
15564         * rt/tst-timer.c: Likewise.
15565         * stdio-common/test-fseek.c: Likewise.
15566         * stdio-common/test-popen.c: Likewise.
15567         * stdio-common/test-vfprintf.c: Likewise.
15568         * stdio-common/tst-cookie.c: Likewise.
15569         * stdio-common/tst-fileno.c: Likewise.
15570         * stdio-common/tst-gets.c: Likewise.
15571         * stdio-common/tst-obprintf.c: Likewise.
15572         * stdio-common/tst-perror.c: Likewise.
15573         * stdio-common/tst-sprintf2.c: Likewise.
15574         * stdio-common/tst-sprintf3.c: Likewise.
15575         * stdio-common/tst-sprintf.c: Likewise.
15576         * stdio-common/tst-swprintf.c: Likewise.
15577         * stdio-common/tst-tmpnam.c: Likewise.
15578         * stdio-common/tst-unbputc.c: Likewise.
15579         * stdio-common/tst-wc-printf.c: Likewise.
15580         * stdlib/tst-environ.c: Likewise.
15581         * stdlib/tst-fmtmsg.c: Likewise.
15582         * stdlib/tst-limits.c: Likewise.
15583         * stdlib/tst-rand48-2.c: Likewise.
15584         * stdlib/tst-rand48.c: Likewise.
15585         * stdlib/tst-random2.c: Likewise.
15586         * stdlib/tst-random.c: Likewise.
15587         * stdlib/tst-strtol.c: Likewise.
15588         * stdlib/tst-strtoll.c: Likewise.
15589         * stdlib/tst-tls-atexit.c: Likewise.
15590         * stdlib/tst-xpg-basename.c: Likewise.
15591         * string/test-ffs.c: Likewise.
15592         * string/tst-bswap.c: Likewise.
15593         * string/tst-inlcall.c: Likewise.
15594         * string/tst-strtok.c: Likewise.
15595         * string/tst-strxfrm.c: Likewise.
15596         * sysdeps/x86_64/tst-audit10.c: Likewise.
15597         * sysdeps/x86_64/tst-audit3.c: Likewise.
15598         * sysdeps/x86_64/tst-audit4.c: Likewise.
15599         * sysdeps/x86_64/tst-audit5.c: Likewise.
15600         * time/tst-ftime_l.c: Likewise.
15601         * time/tst-getdate.c: Likewise.
15602         * time/tst-mktime3.c: Likewise.
15603         * time/tst-mktime.c: Likewise.
15604         * time/tst-posixtz.c: Likewise.
15605         * time/tst-strptime2.c: Likewise.
15606         * time/tst-strptime3.c: Likewise.
15607         * wcsmbs/tst-btowc.c: Likewise.
15608         * wcsmbs/tst-mbrtowc.c: Likewise.
15609         * wcsmbs/tst-mbsrtowcs.c: Likewise.
15610         * wcsmbs/tst-wchar-h.c: Likewise.
15611         * wcsmbs/tst-wcpncpy.c: Likewise.
15612         * wcsmbs/tst-wcrtomb.c: Likewise.
15613         * wcsmbs/tst-wcsnlen.c: Likewise.
15614         * wcsmbs/tst-wcstof.c: Likewise.
15616 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
15618         [BZ #14132]
15619         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
15620         INTDEF.
15621         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
15622         declaration.
15623         (_dl_mcount): Use rtld_hidden_proto.
15624         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
15625         _dl_mcount.
15626         * elf/rtld.c (_rtld_global_ro): Likewise.
15628         [BZ #14132]
15629         * elf/dl-init.c (_dl_init): Don't use INTDEF.
15630         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
15631         of _dl_init_internal.
15632         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
15633         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
15634         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
15635         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
15636         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
15637         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
15638         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
15639         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
15640         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
15641         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
15642         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
15643         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
15644         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15645         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15646         * sysdeps/tile/dl-start.S (_start): Likewise.
15647         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
15648         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
15650         [BZ #14132]
15651         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
15652         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
15653         (rtld_progname): Make macro definition unconditional.
15654         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
15655         INTDEF.
15656         (dlmopen_doit): Do not use INTUSE with _dl_argv.
15657         (dl_main): Likewise.
15658         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15659         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
15660         instead of _dl_argv_internal.
15661         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15662         __GI__dl_argv instead of INTUSE(_dl_argv).
15663         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
15664         __GI__dl_argv instead of _dl_argv_internal.
15666         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
15667         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
15668         macro.
15669         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
15670         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
15671         New macro.
15672         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
15673         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
15674         macro.
15675         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
15676         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
15678 2014-11-04  Andreas Schwab  <schwab@suse.de>
15680         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
15682 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15684         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
15685         mtvsrd instruction in binary form.
15687 2014-11-03  Andreas Schwab  <schwab@suse.de>
15689         [BZ #17522]
15690         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
15691         for less than MB_LEN_MAX use a local buffer of that size.
15692         * libio/tst-fputws.c: New file.
15693         * libio/Makefile (tests): Add tst-fputws.
15695 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
15697         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
15698         the size of the fpu_fr.fpu_dregs[] array.
15700 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
15702         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
15703         (__nanosleep): Do not define as alias.
15704         (nanosleep): Define as alias of __nanosleep.
15705         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
15706         __libc_nanosleep name.
15708 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15710         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
15711         install.texi in comment.
15713 2014-10-31  Torvald Riegel  <triegel@redhat.com>
15715         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
15716         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
15717         ... add here and use lwsync or sync ...
15718         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
15719         ... and add here using lwsync.
15721 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15723         * elf/dl-machine-reject-phdr.h: New file.
15724         * elf/dl-load.c: #include that.
15725         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
15726         if that returned true.
15728 2014-10-31  Roland McGrath  <roland@hack.frob.com>
15730         [BZ #17496]
15731         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
15732         gen-as-const-headers chunk.  Add a big scare comment after the last
15733         safe place to touch before-compile.
15735 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15737         * manual/install.texi (Tools for Compilation): Update autoconf
15738         version requirements.
15739         * INSTALL: Regenerated.
15741         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
15742         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
15743         (__libc_pselect): Likewise.
15745         [BZ #14138]
15746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
15747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15751 2014-10-31  Torvald Riegel  <triegel@redhat.com>
15753         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
15754         correct barrier instruction.
15755         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
15756         Likewise.
15757         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
15758         Likewise.
15760 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15762         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
15763         after defining inlines.  Instead, just use parens to defeat macro
15764         expansion of __isctype in its declaration.
15766 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15768         * include/sys/uio.h (__libc_readv): Remove declaration.
15769         (__libc_writev): Likewise.
15770         * misc/readv.c (__libc_readv): Rename to __readv.
15771         (__readv): Do not define as alias.
15772         (readv): Define as alias of __readv.
15773         * misc/writev.c (__libc_writev): Rename to __writev.
15774         (__writev): Do not define as alias.
15775         (writev): Define as alias of __writev.
15776         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
15777         (__readv): Do not define as alias.
15778         (readv): Define unconditionally as alias of __readv.
15779         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
15780         (__writev): Do not define as alias.
15781         (writev): Define unconditionally as alias of __writev.
15782         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
15783         name.
15784         (writev): Do not define __libc_writev name.
15786 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15788         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
15789         (convert_charseq): New function, broken out of ...
15790         (use_from_charmap): ... here.  Call it.
15791         (use_to_charmap): Use convert_charseq and free instead of duplicating
15792         its code with a variable-length stack struct.
15794 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15796         * include/fcntl.h (__libc_creat): Remove declaration.
15797         * io/creat.c (__libc_creat): Rename to creat.
15798         (creat): Do not define as alias.
15799         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
15800         of creat instead of __libc_creat.
15801         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
15802         to creat.
15803         (creat): Do not define as alias.
15804         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
15805         __libc_creat.
15806         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
15807         __libc_creat name.
15808         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
15809         Likewise.
15811 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
15813         * manual/llio.texi: Add comments discussing why write() may be
15814         considered MT-unsafe on Linux.
15816 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
15818         * dl-load.c (local_strdup): Remove.
15819         (expand_dynamic_string_token): Use __strdup.
15820         (decompose_rpath): Likewise.
15821         (_dl_map_object): Likewise.
15823 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
15825         [BZ #14132]
15826         * sysdeps/generic/unwind-dw2-fde.c
15827         (__register_frame_info_bases_internal): Do not declare.
15828         (__register_frame_info_table_bases_internal): Likewise.
15829         (__deregister_frame_info_bases_internal): Likewise.
15830         (__register_frame_info_bases): Declare and use hidden_proto before
15831         definition.  Use hidden_def instead of INTDEF.
15832         (__register_frame_info_table_bases): Likewise.
15833         (__deregister_frame_info_bases): Likewise.
15834         (__register_frame_info): Do not use INTUSE.
15835         (__register_frame): Likewise.
15836         (__register_frame_info_table): Likewise.
15837         (__register_frame_table): Likewise.
15838         (__deregister_frame_info): Likewise.
15839         (__deregister_frame): Likewise.
15841 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
15843         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15844         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
15845         not undefine.
15846         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
15847         Likewise.
15848         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
15849         Likewise.
15851 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
15853         [BZ #14138]
15854         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
15855         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
15856         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
15857         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
15858         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
15859         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
15860         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
15861         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
15862         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
15863         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
15864         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
15865         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
15866         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
15867         syscall.
15868         (setfsuid): Likewise.
15869         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
15870         (setfsuid): Likewise.
15871         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
15872         (setfsuid): Likewise.
15873         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
15874         Likewise.
15875         (setfsuid): Likewise.
15876         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
15877         (setfsuid): Likewise.
15878         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
15879         Likewise.
15880         (setfsuid): Likewise.
15882 2014-10-27  Andreas Schwab  <schwab@suse.de>
15884         [BZ #17501]
15885         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
15886         check for Slow_SSE4_2 feature bit.
15887         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
15888         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15889         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
15890         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
15892 2014-10-24  Roland McGrath  <roland@hack.frob.com>
15894         * configure.ac: Validate compiler version with a empirical test of
15895         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
15896         $CC -v output.
15897         * configure: Regenerated.
15899         * inet/htons.c (htons): Prototypify.
15900         * inet/htonl.c (htonl): Likewise.
15902 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15904         * string/strncat.c (strncat): Improve performance by using strlen.
15906 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15908         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
15910 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15912         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
15913         Call libc_fetestexcept_aarch64.
15915 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15917         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
15918         Call libc_feholdexcept_aarch64.
15920 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15922         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
15923         Call get_rounding_mode.
15925 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15927         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15928         Simplify logic.
15930 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15932         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
15933         Simplify logic.
15935 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
15937         [BZ #14138]
15938         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15939         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
15940         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
15941         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
15942         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
15943         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
15944         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15945         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15946         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15947         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15948         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15949         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15950         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15951         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15952         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15953         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15954         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15955         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15956         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15957         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15958         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15959         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15960         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15961         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15962         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15963         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15964         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15965         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15966         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15967         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15968         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15969         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15970         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15971         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15972         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15973         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15974         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15975         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15976         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15977         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15978         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15979         syscall.
15980         (geteuid): Likewise.
15981         (getgid): Likewise.
15982         (getuid): Likewise.
15983         (getresgid): Likewise.
15984         (getresuid): Likewise.
15985         (getgroups): Likewise.
15986         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15987         (geteuid): Likewise.
15988         (getgid): Likewise.
15989         (getuid): Likewise.
15990         (getresgid): Likewise.
15991         (getresuid): Likewise.
15992         (getgroups): Likewise.
15993         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15994         (geteuid): Likewise.
15995         (getgid): Likewise.
15996         (getuid): Likewise.
15997         (getresgid): Likewise.
15998         (getresuid): Likewise.
15999         (getgroups): Likewise.
16000         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
16001         Likewise.
16002         (geteuid): Likewise.
16003         (getgid): Likewise.
16004         (getuid): Likewise.
16005         (getresgid): Likewise.
16006         (getresuid): Likewise.
16007         (getgroups): Likewise.
16008         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
16009         (geteuid): Likewise.
16010         (getgid): Likewise.
16011         (getuid): Likewise.
16012         (getresgid): Likewise.
16013         (getresuid): Likewise.
16014         (getgroups): Likewise.
16015         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
16016         Likewise.
16017         (geteuid): Likewise.
16018         (getgid): Likewise.
16019         (getuid): Likewise.
16020         (getgroups): Likewise.
16022         [BZ #14138]
16023         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
16024         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
16025         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
16026         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16027         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
16028         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
16029         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
16030         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
16031         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
16032         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
16033         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
16034         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
16035         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
16036         __chown.
16037         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
16038         (lchown): Likewise.
16039         (fchown): Likewise.
16040         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
16041         Likewise.
16042         (lchown): Likewise.
16043         (fchown): Likewise.
16044         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
16045         (lchown): Likewise.
16046         (fchown): Likewise.
16047         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
16048         Likewise.
16049         (lchown): Likewise.
16050         (fchown): Likewise.
16052 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
16054         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
16055         Simplify logic.
16057 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
16059         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
16060         Cleanup logic.
16062 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
16064         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
16065         Remove unused include.
16067 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
16069         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
16070         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
16071         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
16072         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
16074 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
16075             Helge Deller <deller@gmx.de>
16077         [BZ #17508]
16078         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
16079         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
16080         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
16082 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
16084         [BZ #14132]
16085         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
16086         Remove macro definition.
16087         (__ashrdi3_v_glibc20): Likewise.
16088         (__lshrdi3_v_glibc20): Likewise.
16089         (__cmpdi2_v_glibc20): Likewise.
16090         (__ucmpdi2_v_glibc20): Likewise.
16091         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
16092         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16093         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16094         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16095         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16096         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
16098 2014-10-22  Roland McGrath  <roland@hack.frob.com>
16100         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
16101         old GNU extension [0] syntax.
16102         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
16103         alloca rather than an array member with variable length.
16104         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
16105         * nscd/nscd.c (invalidate_db): New function, broken out of ...
16106         (parse_opt): ... here.  Likewise use alloca there.
16107         Validate the -i argument before checking for rootness.
16108         (send_shutdown): New function, broken out of ...
16109         (parse_opt): ... here.
16111 2014-10-22  Roland McGrath  <roland@hack.frob.com>
16113         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
16114         macro to get at the _rt_local_ro field.
16115         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
16116         ([PIC] case) or _dl_hwcap ([!PIC] case).
16117         * sysdeps/arm/setjmp.S: Likewise.
16119         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
16120         * sysdeps/arm/configure.ac: New check to define it.
16121         * sysdeps/arm/configure: Regenerated.
16122         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
16123         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
16124         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
16125         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
16126         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
16127         Use move/movt pair instead of a load.
16128         (LDST_GLOBAL): Macro removed.
16129         (LDR_GLOBAL): New macro replaces it.
16130         (LDR_HIDDEN): New macro.
16131         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
16132         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
16134         * setjmp/tst-setjmp-static.c: New file.
16135         * setjmp/Makefile (tests): Add it.
16136         (tests-static): New variable.
16138 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
16140         [BZ #17485]
16141         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
16143 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
16145         [BZ #14132]
16146         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
16148 2014-10-21  Roland McGrath  <roland@hack.frob.com>
16150         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
16152 2014-10-20  Roland McGrath  <roland@hack.frob.com>
16154         * io/fts.c (dirent_not_directory): New function.
16155         (fts_build): Call it.
16157 2014-10-20  Roland McGrath  <roland@hack.frob.com>
16159         * nptl/version.c (__nptl_main): Use normal __write rather than
16160         INTERNAL_SYSCALL.
16161         (banner): Update copyright years.
16163         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
16164         gettimeofday.
16165         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16166         * nptl/pthread_cond_timedwait.c: Likewise.
16167         * nptl/pthread_mutex_timedlock.c: Likewise.
16168         * nptl/sem_timedwait.c: Likewise.
16170         * sysdeps/nptl/bits/libc-lock.h
16171         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16172         (__libc_lock_init_recursive): Return void, not 0.
16173         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
16174         (__libc_rwlock_init): Likewise.
16175         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
16177 2014-10-20  Torvald Riegel  <triegel@redhat.com>
16179         [BZ #15215]
16180         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
16181         (__pthread_once_slow): ... here.
16182         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
16183         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
16185 2014-10-20  Torvald Riegel  <triegel@redhat.com>
16187         [BZ #15215]
16188         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
16189         __PTHREAD_ONCE_FORK_GEN_INCR): New.
16190         * sysdeps/nptl/fork.c (__libc_fork): Use them.
16191         * nptl/pthread_once.c (__pthread_once): Likewise.
16192         Update comments.
16194 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
16196         [BZ #14138]
16197         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
16198         name.
16199         (writev): Use __libc_writev as strong name.
16200         * sysdeps/unix/sysv/linux/readv.c: Remove file.
16201         * sysdeps/unix/sysv/linux/writev.c: Likewise.
16203 2014-10-17  Roland McGrath  <roland@hack.frob.com>
16205         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
16207         * sysdeps/i386/nptl/tls.h
16208         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
16209         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
16210         New macros.
16211         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
16212         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
16213         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
16214         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
16215         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
16216         Call CHECK_THREAD_SYSINFO instead of doing an assert.
16218         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16219         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
16220         on [__NR_futex].
16221         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
16222         broken out of ...
16223         (__pthread_mutex_init): ... here.  Call it.
16224         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
16225         Conditionalize PI cases on [__NR_futex].
16226         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
16227         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
16228         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16230         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
16231         conditional on [SIGSETXID].
16232         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
16233         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
16234         is defined.  Likewise for SIGSETXID.
16235         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
16236         Conditionalize definitions on [SIGSETXID].
16237         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
16238         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
16239         unblocking on [SIGCANCEL].
16241         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
16242         [__NR_set_robust_list].
16244 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16246         * string/strcoll_l.c (get_next_seq): Fix up formatting.
16247         (do_compare): Likewise.
16249 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
16251         [BZ #15884]
16252         * string/strcoll_l.c: Don't include stdio.h.
16253         (coll_seq): Remove members idxarr and rulearr.
16254         (get_next_seq_cached): Remove function.
16255         (get_next_seq): Likewise.
16256         (get_next_seq_nocache): Rename to get_next_seq.
16257         (do_compare): Remove function.
16258         (do_compare_nocache): Rename to do_compare.
16259         (STRCOLL): Remove weight and rules cache.
16261 2014-10-16  Roland McGrath  <roland@hack.frob.com>
16263         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
16264         * sysdeps/arm/sfp-machine.h: ... to here.
16265         * sysdeps/arm/Implies: Remove arm/soft-fp.
16267 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
16269         * conform/data/sys/utsname.h-data (*_t): Allow.
16270         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
16271         [POSIX] (WEXITED): Do not expect constant.
16272         [POSIX] (WSTOPPED): Likewise.
16273         [POSIX] (WNOHANG): Likewise.
16274         [POSIX] (WNOWAIT): Likewise.
16275         [POSIX] (siginfo_t): Do not expect type or elements.
16276         [POSIX] (pid_t): Do not expect type.
16277         [POSIX] (signal.h): Do not allow header.
16278         [POSIX] (sys/resource.h): Likewise.
16279         [POSIX] (si_*): Do not allow pattern.
16280         [POSIX] (W*): Likewise.
16281         [POSIX] (P_*): Likewise.
16282         [POSIX] (BUS_*): Likewise.
16283         [POSIX] (CLD_*): Likewise.
16284         [POSIX] (FPE_*): Likewise.
16285         [POSIX] (ILL_*): Likewise.
16286         [POSIX] (POLL_*): Likewise.
16287         [POSIX] (SEGV_*): Likewise.
16288         [POSIX] (SI_*): Likewise.
16289         [POSIX] (TRAP_*): Likewise.
16290         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
16291         variable.
16293 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16295         [BZ #12926]
16296         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
16297         infinite loop when __recvmsg returns 0.
16299 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
16301         * CANCEL-FCT-WAIVE: Remove file.
16302         * CANCEL-FILE-WAIVE: Likewise.
16304         [BZ #14132]
16305         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
16306         instead of INTVARDEF.
16307         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
16308         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
16309         rtld_hidden_data_def instead of INTVARDEF.
16310         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
16311         * elf/dl-deps.c (expand_dst): Likewise.
16312         * elf/dl-load.c (_dl_dst_count): Likewise.
16313         (_dl_dst_substitute): Likewise.
16314         (decompose_rpath): Likewise.
16315         (_dl_init_paths): Likewise.
16316         (open_path): Likewise.
16317         (_dl_map_object): Likewise.
16318         * elf/rtld.c (dl_main): Likewise.
16319         (process_dl_audit): Likewise.
16320         (process_envvars): Likewise.
16321         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
16322         Remove declaration.
16323         (__libc_enable_secure): Use rtld_hidden_proto.
16325 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16327         * elf/dl-load.c
16328         (add_path): New function broken out of _dl_rtld_di_serinfo.
16329         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
16331 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
16333         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
16334         parentheses around macro arguments.
16335         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
16336         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
16337         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
16338         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
16339         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
16340         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
16341         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
16342         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
16343         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
16344         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
16345         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
16346         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
16347         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
16348         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
16349         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
16350         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
16351         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
16352         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
16353         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
16354         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
16355         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
16356         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
16357         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
16358         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
16359         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
16360         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
16361         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
16362         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
16363         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
16364         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
16365         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
16366         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
16367         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
16368         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
16369         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
16370         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
16371         Likewise.
16372         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
16373         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
16374         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
16375         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
16376         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
16377         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
16378         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
16379         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
16380         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
16381         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
16382         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
16383         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
16384         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
16385         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
16386         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
16387         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
16388         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
16389         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
16390         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
16391         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
16392         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
16393         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
16394         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
16395         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
16396         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
16397         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
16398         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
16399         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
16400         (_FP_FRAC_SRS_1): Likewise.
16401         (_FP_FRAC_CLZ_1): Likewise.
16402         (_FP_MUL_MEAT_1_imm): Likewise.
16403         (_FP_MUL_MEAT_1_wide): Likewise.
16404         (_FP_MUL_MEAT_1_hard): Likewise.
16405         (_FP_SQRT_MEAT_1): Likewise.
16406         (_FP_FRAC_ASSEMBLE_1): Likewise.
16407         (_FP_FRAC_DISASSEMBLE_1): Likewise.
16408         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
16409         (__FP_CLZ_2): Likewise.
16410         (_FP_MUL_MEAT_2_wide): Likewise.
16411         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16412         (_FP_MUL_MEAT_2_gmp): Likewise.
16413         (_FP_MUL_MEAT_2_120_240_double): Likewise.
16414         (_FP_SQRT_MEAT_2): Likewise.
16415         (_FP_FRAC_ASSEMBLE_2): Likewise.
16416         (_FP_FRAC_DISASSEMBLE_2): Likewise.
16417         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
16418         (_FP_FRAC_CLZ_4): Likewise.
16419         (_FP_MUL_MEAT_4_wide): Likewise.
16420         (_FP_MUL_MEAT_4_gmp): Likewise.
16421         (_FP_SQRT_MEAT_4): Likewise.
16422         (_FP_FRAC_ASSEMBLE_4): Likewise.
16423         (_FP_FRAC_DISASSEMBLE_4): Likewise.
16424         * soft-fp/op-common.h (_FP_CMP): Likewise.
16425         (_FP_CMP_EQ): Likewise.
16426         (_FP_CMP_UNORD): Likewise.
16427         (_FP_TO_INT): Likewise.
16428         (_FP_FROM_INT): Likewise.
16429         [!__FP_CLZ] (__FP_CLZ): Likewise.
16430         (_FP_DIV_HELP_imm): Likewise.
16431         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
16432         Likewise.
16433         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
16434         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
16435         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
16436         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
16437         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
16438         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
16439         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
16440         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
16441         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
16442         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
16443         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
16444         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
16445         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
16446         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
16447         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
16448         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
16449         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
16450         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
16451         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
16452         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
16453         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
16454         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
16455         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
16456         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
16457         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
16458         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
16459         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
16460         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
16461         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
16462         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
16463         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
16464         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
16465         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
16466         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
16467         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
16468         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
16469         (FP_UNPACK_RAW_SP): Likewise.
16470         (FP_PACK_RAW_S): Likewise.
16471         (FP_PACK_RAW_SP): Likewise.
16472         (FP_UNPACK_S): Likewise.
16473         (FP_UNPACK_SP): Likewise.
16474         (FP_UNPACK_SEMIRAW_S): Likewise.
16475         (FP_UNPACK_SEMIRAW_SP): Likewise.
16476         (FP_PACK_S): Likewise.
16477         (FP_PACK_SP): Likewise.
16478         (FP_PACK_SEMIRAW_S): Likewise.
16479         (FP_PACK_SEMIRAW_SP): Likewise.
16480         (_FP_SQRT_MEAT_S): Likewise.
16481         (FP_CMP_S): Likewise.
16482         (FP_CMP_EQ_S): Likewise.
16483         (FP_CMP_UNORD_S): Likewise.
16484         (FP_TO_INT_S): Likewise.
16485         (FP_FROM_INT_S): Likewise.
16487         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
16489         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
16490         (FP_EX_INVALID_IMZ): Likewise.
16491         (FP_EX_INVALID_IMZ_FMA): Likewise.
16492         (FP_EX_INVALID_ISI): Likewise.
16493         (FP_EX_INVALID_ZDZ): Likewise.
16494         (FP_EX_INVALID_IDI): Likewise.
16495         (FP_EX_INVALID_SQRT): Likewise.
16496         (FP_EX_INVALID_CVI): Likewise.
16497         (FP_EX_INVALID_VC): Likewise.
16498         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
16499         "invalid" exceptions.
16500         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
16501         (_FP_ADD_INTERNAL): Likewise.
16502         (_FP_MUL): Likewise.
16503         (_FP_FMA): Likewise.
16504         (_FP_DIV): Likewise.
16505         (_FP_CMP_CHECK_NAN): Likewise.
16506         (_FP_SQRT): Likewise.
16507         (_FP_TO_INT): Likewise.
16508         (FP_EXTEND): Likewise.
16510 2014-10-09  Allan McRae  <allan@archlinux.org>
16512         * po/fr.po: Update French translation from translation project.
16514 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
16516         [BZ #14132]
16517         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
16518         of INTDEF.
16519         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
16520         (__cxa_atexit): Use libc_hidden_proto.
16521         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
16523         [BZ #14132]
16524         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
16525         declaration.
16526         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
16527         [!_ISOMAC] (__iswspace_l_internal): Likewise.
16528         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
16529         [!_ISOMAC] (__iswctype_internal): Likewise.
16530         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
16531         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
16532         alias.
16533         (fcntl): Remove __fcntl_internal alias.
16534         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
16535         __connect_internal alias.
16536         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
16537         Likewise.
16539         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
16540         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
16541         FP_DENORM_ZERO.
16542         (_FP_CHECK_FLUSH_ZERO): New macro.
16543         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
16544         (_FP_CMP): Likewise.
16545         (_FP_CMP_EQ): Likewise.
16546         (_FP_TO_INT): Do not set inexact for subnormal arguments if
16547         FP_DENORM_ZERO.
16548         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
16549         (FP_TRUNC): Likewise.
16551         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
16552         treated as invalid conversion, not as normal exponent.
16554         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
16555         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
16556         (_FP_CMP_EQ): Likewise.
16557         (_FP_CMP_UNORD): Likewise.
16558         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
16559         (FP_CMP_EQ_D): Likewise.
16560         (FP_CMP_UNORD_D): Likewise.
16561         * soft-fp/extended.h (FP_CMP_E): Likewise.
16562         (FP_CMP_EQ_E): Likewise.
16563         (FP_CMP_UNORD_E): Likewise.
16564         * soft-fp/quad.h (FP_CMP_Q): Likewise.
16565         (FP_CMP_EQ_Q): Likewise.
16566         (FP_CMP_UNORD_Q): Likewise.
16567         * soft-fp/single.h (FP_CMP_S): Likewise.
16568         (FP_CMP_EQ_S): Likewise.
16569         (FP_CMP_UNORD_S): Likewise.
16570         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
16571         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
16572         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
16573         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
16574         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
16575         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
16576         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
16577         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
16578         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
16579         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
16580         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
16581         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
16582         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
16583         to FP_CMP_Q.
16584         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
16585         FP_CMP_Q.
16586         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
16587         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
16588         FP_CMP_EQ_Q.
16589         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
16590         FP_CMP_Q.
16591         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
16592         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
16593         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
16594         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
16595         FP_CMP_EQ_Q.
16596         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
16597         FP_CMP_Q.
16598         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
16599         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
16600         FP_CMP_EQ_Q.
16601         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
16602         FP_CMP_Q.
16603         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
16604         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
16605         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
16606         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
16607         FP_CMP_EQ_Q.
16609         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
16610         a subnormal result, set the underflow exception if trapping on
16611         underflow is enabled.
16612         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
16613         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
16614         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
16615         redefine to 0.
16616         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
16617         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16618         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16619         * soft-fp/extendxftf2.c (__extendxftf2): Use
16620         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
16622         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
16623         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
16624         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16625         FP_HANDLE_EXCEPTIONS.
16626         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
16627         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16628         FP_HANDLE_EXCEPTIONS.
16629         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
16630         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16631         FP_HANDLE_EXCEPTIONS.
16632         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
16633         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16634         FP_HANDLE_EXCEPTIONS.
16636 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
16638         [BZ #14132]
16639         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
16640         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
16641         use INTUSE.
16642         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
16643         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
16644         Remove alias.
16645         (__adjtimex): Define using libc_hidden_ver.
16646         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
16647         Remove declaration.
16648         (ntp_gettime): Call __adjtimex directly.
16649         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
16650         Remove declaration.
16651         (ntp_gettimex): Call __adjtimex directly.
16652         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
16653         __adjtimex_internal alias.
16655 2014-10-08  Roland McGrath  <roland@hack.frob.com>
16657         [BZ #17460]
16658         * nscd/nscd.c (more_help): Rewrite list of tables collection
16659         using xstrdup and asprintf.
16661         * nscd/nscd_conf.c: Remove local xstrdup declaration.
16663 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16664             Roland McGrath  <roland@hack.frob.com>
16666         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
16667         (do_lookup_unique): ... local function 'enter' here; update callers.
16669 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
16671         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
16672         compat_symbol calls on [SHARED].
16673         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
16674         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
16675         Remove.
16676         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16677         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
16678         (oldsetrlimit): Remove.
16679         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16681         (lchown): New syscall entry.
16682         (oldsetrlimit): Remove.
16683         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16684         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
16685         (oldsetrlimit): Remove.
16686         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16688         [BZ #14138]
16689         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
16690         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
16691         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
16692         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
16693         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16694         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
16695         (fchown): Likewise.
16696         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
16697         (fchown): Likewise.
16698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
16699         Likewise.
16701 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16703         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
16704         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
16705         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
16706         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
16707         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
16708         Likewise.
16709         (__old_sem_post): Likewise.
16711 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
16713         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
16714         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
16715         HAVE_CLOCK_GETTIME_VSYSCALL macros.
16716         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
16717         Use INLINE_VSYSCALL macro.
16718         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
16719         __vdso_clock_gettime.
16720         * sysdeps/unix/sysv/linux/tile/init-first.c
16721         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
16722         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
16723         __vdso_clock_gettime.
16725         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
16726         to set up frame more cleanly.
16728         * sysdeps/tile/memcmp.c: New file.
16730         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
16732         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
16733         * sysdeps/tile/tilegx/strcasestr.c: New file.
16734         * sysdeps/tile/tilegx/strnlen.c: New file.
16735         * sysdeps/tile/tilegx/strstr.c: New file.
16737         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
16739 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
16741         * nptl/tst-setuid3.c: Write errors to stdout.
16743 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16745         * elf/dl-deps.c
16746         (preload): New functions broken out of _dl_map_object_deps.
16747         (_dl_map_object_deps):  Remove a nested function. Update call sites.
16749 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
16751         [BZ #14138]
16752         * sysdeps/unix/sysv/linux/execve.c: Remove file.
16753         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
16755 2014-10-01  Steve Ellcey  <sellcey@mips.com>
16757         * sysdeps/mips/strcmp.S: New.
16759 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
16761         [BZ #14138]
16762         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
16763         (linkat): Likewise.
16764         (mkdirat): Likewise.
16765         (readlinkat): Likewise.
16766         (renameat): Likewise.
16767         (symlinkat): Likewise.
16768         (unlinkat): Likewise.
16769         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
16770         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
16771         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
16772         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
16773         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
16774         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
16775         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
16777 2014-09-30  Will Newton  <will.newton@linaro.org>
16779         * math/math.h: Define long double math functions if
16780         _LIBC_TEST is defined.
16781         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
16783         * localedata/Makefile: Move assignment to tests-special
16784         into an ifdef testing run-built-tests.
16785         * timezone/Makefile: Likewise.
16787 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
16789         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
16790         with $(BASH) not $(SHELL).
16792 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
16793             Matthew LeGendre  <legendre1@llnl.gov>
16795         [BZ #17411]
16796         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
16797         l_reloc_result.
16799 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16801         * stdio-common/printf_fp.c
16802         (hack_digit): New function, broken out of ...
16803         (__printf_fp): ... local function here.  Update call sites.
16804         hack_digit now takes an additional parameter that is a pointer
16805         to a struct of the referenced locals.  Those locals moved inside
16806         the struct and references updated.
16808 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
16810         * aclocal.m4: Require autoconf 2.69.
16811         * configure: Regenerated.
16812         * sysdeps/aarch64/configure: Likewise.
16813         * sysdeps/alpha/configure: Likewise.
16814         * sysdeps/arm/armv7/configure: Likewise.
16815         * sysdeps/arm/configure: Likewise.
16816         * sysdeps/ia64/configure: Likewise.
16817         * sysdeps/mach/configure: Likewise.
16818         * sysdeps/mips/configure: Likewise.
16819         * sysdeps/s390/configure: Likewise.
16820         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
16821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
16823         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
16824         file.
16825         * sysdeps/ia64/configure.ac: Likewise.
16827 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
16829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
16830         specify symbol version for ld.so.  Do not include entry for
16831         libpthread.
16832         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16833         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16834         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16836         [BZ #14171]
16837         * Makeconfig [$(build-shared) = yes]
16838         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
16839         makefiles.
16840         [$(build-shared) = yes && $(soversions.mk-done) = t]
16841         ($(common-objpfx)gnu/lib-names.h): Remove rule.
16842         [$(build-shared) = yes && $(soversions.mk-done) = t]
16843         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
16844         to Makerules.
16845         [$(build-shared) = yes && $(soversions.mk-done) = t]
16846         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
16847         here.
16848         [$(build-shared) = yes && $(soversions.mk-done) = t]
16849         (common-generated): Don't append gnu/lib-names.h and
16850         gnu/lib-names.stmp here.
16851         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
16852         (lib-names-h-abi): New variable.
16853         [$(build-shared) = yes && $(soversions.mk-done) = t]
16854         (lib-names-stmp-abi): Likewise.
16855         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16856         abi-variants] (before-compile): Append
16857         $(common-objpfx)$(lib-names-h-abi).
16858         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16859         abi-variants] (common-generated): Append gnu/lib-names.h.
16860         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16861         abi-variants] (install-others-nosubdir): Depend on
16862         $(inst_includedir)/$(lib-names-h-abi).
16863         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16864         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
16865         [$(build-shared) = yes && $(soversions.mk-done) = t]
16866         ($(common-objpfx)$(lib-names-h-abi)): New rule.
16867         [$(build-shared) = yes && $(soversions.mk-done) = t]
16868         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
16869         [$(build-shared) = yes && $(soversions.mk-done) = t]
16870         (common-generated): Append $(lib-names-h-abi) and
16871         $(lib-names-stmp-abi).
16872         * scripts/lib-names.awk: Do not handle multi being set.
16873         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
16874         Remove variable.
16875         (abi-lp64_be-ld-soname): Likewise.
16876         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
16877         Likewise.
16878         (abi-hard-ld-soname): Likewise.
16879         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
16880         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
16881         Remove variable.
16882         (abi-o32_hard-ld-soname): Likewise.
16883         (abi-o32_soft_2008-ld-soname): Likewise.
16884         (abi-o32_hard_2008-ld-soname): Likewise.
16885         (abi-n32_soft-ld-soname): Likewise.
16886         (abi-n32_hard-ld-soname): Likewise.
16887         (abi-n32_soft_2008-ld-soname): Likewise.
16888         (abi-n32_hard_2008-ld-soname): Likewise.
16889         (abi-n64_soft-ld-soname): Likewise.
16890         (abi-n64_hard-ld-soname): Likewise.
16891         (abi-n64_soft_2008-ld-soname): Likewise.
16892         (abi-n64_hard_2008-ld-soname): Likewise.
16893         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
16894         Likewise.
16895         (abi-64-v2-ld-soname): Likewise.
16896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
16897         ld.so entries.
16898         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
16899         variable.
16900         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
16901         entry.
16902         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
16903         variable.
16904         (abi-64-ld-soname): Likewise.
16905         (abi-x32-ld-soname): Likewise.
16906         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
16907         entry.
16908         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16910 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
16912         [BZ #14138]
16913         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
16914         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
16915         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
16916         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
16917         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
16918         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
16919         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
16920         syscall entry for GLIBC_2.2 symbol version.
16921         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
16922         Likewise.
16923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16924         (setrlimit): Likewise.
16925         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
16926         Likewise.
16928 2014-09-23  Will Newton  <will.newton@linaro.org>
16930         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
16931         _LINUX_ARM_SYSDEP_H include guard too.
16932         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
16933         define.
16935 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16937         * sysdeps/unix/sysv/linux/eventfd.c:
16938         Make first argument unsigned.
16939         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
16940         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
16942 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
16944         * socket/recvmmsg.c (recvmmsg): Drop const argument.
16945         * socket/sys/socket.h: Likewise
16946         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16948 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16950         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16952 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
16954         * time/tst-ftime.c: New test.
16955         * time/Makefile (tests): Add tst-ftime.
16957 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
16959         * soft-fp/extended.h: Fix comment formatting.
16960         * soft-fp/op-1.h: Likewise.
16961         * soft-fp/op-2.h: Likewise.
16962         * soft-fp/op-4.h: Likewise.
16963         * soft-fp/op-8.h: Likewise.
16964         * soft-fp/op-common.h: Likewise.
16965         * soft-fp/soft-fp.h: Likewise.
16967         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16969 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
16971         [BZ #6652]
16972         * Makeconfig (soversions-default-setname): Remove variable.
16973         ($(common-objpfx)soversions.i): Don't pass default_setname to
16974         soversions.awk.
16975         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16976         oldest_abi to abi-versions.awk.
16977         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16978         * config.make.in (oldest-abi): Remove variable.
16979         * configure.ac (--enable-oldest-abi): Remove configure option.
16980         * configure: Regenerated.
16981         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16982         text.
16983         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16984         * scripts/soversions.awk: Do not handle default_setname variable.
16985         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16986         variable.
16987         * sysdeps/mach/hurd/configure: Regenerated.
16988         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16989         variable.
16990         * sysdeps/unix/sysv/linux/configure: Regenerated.
16992 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16994         * elf/Makefile (CFLAGS-interp.c): Remove.
16995         ($(elf-objpfx)runtime-linker.h): Generate header with linker
16996         path string.
16997         * elf/interp.c: Include generated runtime-linker.h
16999         * Makerules (lib%.so): Don't include $(+interp) in
17000         prerequisites.
17001         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
17002         * dlfcn/eval.c: Remove file.
17004         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
17005         macros.
17007         [BZ #17266]
17008         * misc/sys/cdefs.h: Define __extern_always_inline for clang
17009         4.2 and newer.
17011         [BZ #17370]
17012         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
17014 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17015             Jakub Jelinek  <jakub@redhat.com>
17017         [BZ #17266]
17018         * libio/stdio.h: Check definition of __fortify_function
17019         instead of __extern_always_inline to include bits/stdio2.h.
17020         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
17021         check if __extern_always_inline is defined.
17022         [__USE_MISC || __USE_XOPEN]: Likewise.
17023         [__USE_ISOC99] Likewise.
17024         * misc/sys/cdefs.h (__fortify_function): Define only if
17025         __extern_always_inline is defined.
17026         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
17027         __extern_always_inline and __extern_inline only for g++-4.3
17028         and newer or a compatible gcc.
17030 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
17032         [BZ #17371]
17033         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17034         last change to handle zero prefix length.
17036 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17038         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
17039         _SC_REGEX_VERSION.
17041         * posix/getconf.c (vars): Add _POSIX_IPV6 and
17042         _POSIX_RAW_SOCKETS.
17044 2014-09-13  Allan McRae  <allan@archlinux.org>
17046         * po/ru.po: Update Russian translation from translation project.
17048 2014-09-12  Roland McGrath  <roland@hack.frob.com>
17050         * locale/programs/locale.c (show_locale_vars): Inline local function
17051         into its sole call site.  Clean up some style nits.
17052         (print_item): New function, broken out of ...
17053         (show_info): ... local function here.  Clean up style nits.
17055         * locale/programs/ld-ctype.c (set_one_default): New function, broken
17056         out of ...
17057         (set_class_defaults): ... local function set_default here.
17058         Define set_default as a macro locally to pass constant parameters.
17059         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
17060         rather than a shared local.
17062         * stdlib/rpmatch.c (try): New function, broken out of ...
17063         (rpmatch): ... local function here.  Also, prototypify definition.
17065 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
17067         * scripts/soversions.awk: Do not handle configuration names.
17068         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
17069         vendor and os variables to soversions.awk.
17070         * configure.ac: Do not modify gnu-* host_os.
17071         * configure: Regenerated
17072         * shlib-versions: Remove first column with configuration names.
17073         * nptl/shlib-versions: Likewise.
17074         * nptl_db/shlib-versions: Likewise.
17075         * sysdeps/hppa/shlib-versions: Likewise.
17076         * sysdeps/m68k/shlib-versions: Likewise.
17077         * sysdeps/mach/hurd/shlib-versions: Likewise.
17078         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
17079         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
17080         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
17081         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
17082         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
17083         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
17084         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
17085         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
17086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
17087         Likewise.
17088         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
17089         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
17090         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
17091         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
17092         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
17093         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
17094         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
17095         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
17097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17098         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
17099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17100         Regenerated.
17101         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
17102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
17103         Condition symbol version definitions on [HAVE_ELFV2_ABI].
17105         * shlib-versions: Remove OS-specific entries.  Moved to files in
17106         sysdeps.
17107         * sysdeps/mach/hurd/shlib-versions: New file.
17108         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
17110         * nptl/shlib-versions: Remove architecture-specific entries.
17111         Moved to files in sysdeps.
17112         * shlib-versions: Likewise.
17113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
17114         file.
17115         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
17116         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
17117         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
17118         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
17120         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
17121         (UDP_NO_CHECK6_RX): Likewise.
17123 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17125         * sysdeps/posix/sysconf.c (__sysconf): Spell
17126         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
17128 2014-08-12  Florian Weimer  <fweimer@redhat.com>
17130         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
17131         loading.
17132         * iconv/Versions (__gconv_transliterate): Export for use from
17133         gconv modules.
17134         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
17135         (struct __gconv_trans_data, __gconv_trans_fct,
17136         __gconv_trans_context_fct, __gconv_trans_query_fct,
17137         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
17138         definitions.
17139         (struct __gconv_step_data): Remove __trans member.
17140         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
17141         longer hidden.  Remove unused trans_data argument.
17142         * iconv/gconv_int.h (struct trans_struct): Remove definition.
17143         (__gconv_translit_find): Remove declaration.
17144         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
17145         prototype.
17146         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
17147         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
17148         trans_data argument.  Add hidden definition.
17149         (__gconv_translit_find): Remove.
17150         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
17151         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
17152         * iconv/skeleton.c: Remove transliteration initialization.
17153         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
17154         __gconv_step_data initialization.
17155         * libio/iofwide.c (__libio_translit_): Remove.
17156         (_IO_fwide): Adjust struct __gconv_step_data initialization.
17157         * wcsmbs/btowc.c (__btowc): Likewise.
17158         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17159         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17160         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17161         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17162         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
17163         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17164         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17165         * wcsmbs/wctob.c (wctob): Likewise.
17167 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17169         [BZ #16194]
17170         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
17171         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
17172         register usage.
17173         * sysdeps/x86/Makefile: Adjust.
17175 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17176             Roland McGrath  <roland@hack.frob.com>
17178         * locale/weight.h: Add include guard.
17179         (findidx): Make static rather than auto; take new parameters
17180         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
17181         * locale/weightwc.h: Likewise.
17182         * posix/fnmatch_loop.c
17183         (FCT): Change type of EXTRA from int32_t to wint_t.
17184         Don't include either header inside the function.
17185         Call FINDIDX rather than findidx, and pass new arguments.
17186         #undef FINDIDX at the end of the file.
17187         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
17188         FINDIDX before including fnmatch_loop.c for the non-wide version.
17189         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
17190         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
17191         for the wide version.
17192         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
17193         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
17194         Pass new arguments to findidx.
17195         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
17196         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
17197         Don't #include it inside the function.  Pass new arguments to findidx.
17198         * posix/regex_internal.h
17199         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
17200         (re_string_elem_size_at): Don't #include it inside the function.
17201         Pass new arguments to findidx.
17202         * string/strcoll_l.c: #include WEIGHT_H at top level.
17203         (get_next_seq): Don't #include it inside the function.
17204         Pass new arguments to findidx.
17205         (get_next_seq_nocache): Likewise.
17206         * string/strxfrm_l.c: #include WEIGHT_H at top level.
17207         (STRXFRM): Don't #include it inside the function.
17208         Pass new arguments to findidx.
17210 2014-09-11  Florian Weimer  <fweimer@redhat.com>
17212         [BZ #17344]
17213         * malloc/malloc.c (unlink): Turn asserts into a call to
17214         malloc_printerr.
17216 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
17218         [BZ #17370]
17219         * libio/wfileops (do_ftell_wide): Free OUT.
17221 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
17223         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
17225 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17227         [BZ #17363]
17228         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
17229         group if the current group is empty.
17231 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17233         * benchtests/bench-memset.c (test_main): Add more test from size
17234         from 32 to 512 bytes.
17235         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17236         Add POWER8 memset object.
17237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17238         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
17239         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
17240         implementation.
17241         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
17242         Likewise.
17243         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
17244         multiarch POWER8 memset optimization.
17245         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
17246         POWER8 memset optimization.
17248         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17249         Remove bzero multiarch objects.
17250         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
17251         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
17252         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
17253         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
17254         Remove define.
17255         [__bzero]: Redefine to specific name.
17256         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
17257         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
17258         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
17259         define.
17260         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17261         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17263 2014-09-10  Florian Weimer  <fweimer@redhat.com>
17265         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
17266         warnings into errors.
17268         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
17269         __cxa_thread_atexit_impl prototype.
17271 2014-09-09  Steve Ellcey  <sellcey@mips.com>
17273         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
17274         Fix capitalization of error message.
17276 2014-09-09  Steve Ellcey  <sellcey@mips.com>
17278         * sysdeps/mips/preconfigure: Modify ABI tests.
17280 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
17282         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
17284 2014-09-07  Roland McGrath  <roland@hack.frob.com>
17285             Carlos O'Donell  <carlos@systemhalted.org>
17287         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
17288         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
17289         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
17290         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
17291         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
17292         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
17293         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
17294         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
17295         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
17296         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
17297         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
17298         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
17299         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
17300         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
17301         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
17302         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
17303         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
17304         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
17305         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
17306         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
17307         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
17308         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
17309         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
17310         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
17311         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
17312         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
17313         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
17314         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
17315         Deconditionalize the code that was previously under [RESET_PID].
17316         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
17317         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
17318         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
17319         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
17320         include sysdep.h.
17322 2014-09-08  Allan McRae  <allan@archlinux.org>
17324         * version.h (RELEASE): Set to "development".
17325         (VERSION): Set to "2.20.90"
17327 2014-09-07  Allan McRae  <allan@archlinux.org
17329         * version.h (RELEASE): Set to "stable".
17330         (VERSION): Set to "2.20"
17331         * include/features.h (__GLIBC_MINOR__): Set to 20.
17333         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
17334         Liebler.
17336         * po/ko.po: Update Korean translation from translation project.
17338 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
17340         [BZ #17354]
17341         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
17342         macro for handling signed relocations.
17344 2014-09-03  Florian Weimer  <fweimer@redhat.com>
17346         [BZ #17325]
17347         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
17348         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
17349         assert.
17350         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
17351         * iconvdata/ibm935.c (BODY): Likewise.
17352         * iconvdata/ibm937.c (BODY): Likewise.
17353         * iconvdata/ibm939.c (BODY): Likewise.
17354         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
17355         assert.
17356         * iconvdata/Makefile (iconv-test.out): Pass module list to test
17357         script.
17358         * iconvdata/run-iconv-test.sh: New test loop for checking for
17359         decoder crashers.
17361 2014-09-02  Khem Raj  <raj.khem@gmail.com>
17363         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
17364         libm_hidden_ver.
17366 2014-09-01  Allan McRae  <allan@archlinux.org>
17368         * po/eo.po: Update Esperanto translation from translation project.
17370         * po/ca.po: Update Catalan translation from translation project.
17372 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17374         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
17375         __proc_dostop call.
17377 2014-08-27  Mark Wielaard  <mjw@redhat.com>
17379         [BZ #17319]
17380         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
17381         to call set_thread_area instead of hand written asm.
17382         (__NR_set_thread_area): Removed define.
17383         (TLS_FLAG_WRITABLE): Likewise.
17384         (__ASSUME_SET_THREAD_AREA): Remove check.
17385         (TLS_EBX_ARG): Remove define.
17386         (TLS_LOAD_EBX): Likewise.
17388 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17390         Simplify atomicity of socket creation in bind.
17392         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
17393         looking up the name after linking the file.
17395 2014-08-27  Allan McRae  <allan@archlinux.org>
17397         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17399 2014-08-26  Florian Weimer  <fweimer@redhat.com>
17401         [BZ #17187]
17402         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
17403         trans_compare, open_translit, __gconv_translit_find):
17404         Remove module loading code.
17406 2014-08-26  Allan McRae  <allan@archlinux.org>
17408         * po/vi.po: Update Vietnamese translation from translation project.
17410         * po/uk.po: Update Ukrainian translation from translation project.
17412         * po/fr.po: Update French translation from translation project.
17414         * po/ru.po: Update Russian translation from translation project.
17416         * po/pl.po: Update Polish translation from translation project.
17418         * po/cs.po: Update Czech translation from translation project.
17420         * po/de.po: Update German translation from translation project.
17422         * po/bg.po: Update Bulgarian translation from translation project.
17424         * po/sv.po: Update Sweedish translation from translation project.
17426         * po/nl.po: Update Dutch translation from translation project.
17428         * po/es.po: Update Spanish translation from translation project.
17430 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17432         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
17434         * catgets/Makefile (CPPFLAGS-gencat): Remove.
17435         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
17436         (CPPFLAGS-iconvconfig): Likewise.
17437         * timezone/Makefile (CPPFLAGS-zic): Likewise.
17439         * include/libc-symbols.h: Remove unnecessary check for
17440         NOT_IN_libc.
17441         * nptl/pthreadP.h: Likewise.
17442         * sysdeps/aarch64/setjmp.S: Likewise.
17443         * sysdeps/alpha/setjmp.S: Likewise.
17444         * sysdeps/arm/sysdep.h: Likewise.
17445         * sysdeps/i386/setjmp.S: Likewise.
17446         * sysdeps/m68k/setjmp.c: Likewise.
17447         * sysdeps/posix/getcwd.c: Likewise.
17448         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17449         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17450         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17451         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17452         * sysdeps/sh/sh3/setjmp.S: Likewise.
17453         * sysdeps/sh/sh4/setjmp.S: Likewise.
17454         * sysdeps/unix/alpha/sysdep.h: Likewise.
17455         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17456         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17457         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17458         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17461         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17463         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17464         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17465         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17466         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17468         * sysdeps/x86_64/setjmp.S: Likewise.
17470 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
17472         [BZ #17263]
17473         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
17474         <stdint.h>.
17475         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
17476         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
17478 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17480         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
17482         [BZ #17262]
17483         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
17484         and __x86_64__ when disabling x87 inline functions.
17486 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
17488         [BZ #17259]
17489         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
17490         asm statement with __cpuid_count.
17492 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
17494         * configure.ac: Change __ehdr_start code to dereference the struct.
17495         Run readelf on the output to look for relocations.
17496         * configure: Regenerated.
17498 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
17500         [BZ #17261]
17501         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
17502         value to 0.
17503         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
17505 2014-08-12  Roland McGrath  <roland@hack.frob.com>
17507         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
17509 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
17511         [BZ #16892]
17512         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
17513         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
17515 2014-08-12  Sean Anderson  <seanga2@gmail.com>
17517         * malloc/malloc.c: Fix typo in comment.
17519 2014-08-09  Allan McRae  <allan@archlinux.org>
17521         * Regenerate libc.po.
17523 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
17525         * intl/tst-gettext2.sh: Check every lang file for creation.
17527 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
17529         * sysdeps/aarch64/fpu/math_private.h
17530         (libc_feholdsetround_noex_aarch64_ctx): New function.
17532 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
17534         * sysdeps/arm/armv6/strcpy.S (strcpy):
17535         Fix performance issue in misaligned cases.
17537 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17539         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
17540         Move definition from termios.h.
17541         (struct termio): Likewise.
17542         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17543         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
17544         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
17545         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
17546         Likewise.
17547         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
17548         Move definition to ioctl-types.h
17549         (struct termio): Likewise.
17550         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17551         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
17552         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
17553         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
17554         Likewise.
17556 2014-08-05  Richard Henderson  <rth@redhat.com>
17558         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
17559         exceptions.
17560         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
17561         Add fraiseexcpt.
17562         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
17563         Use __feraiseexcept.
17564         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
17565         Protect libm symbols with IS_IN_libm.
17567         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
17569 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
17571         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
17573 2014-08-04  Will Newton  <will.newton@linaro.org>
17575         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
17576         file.
17578 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
17580         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
17581         variants for each function.
17583 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17585         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
17586         appended ...
17587         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
17588         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
17589         appended ...
17590         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
17591         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
17592         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
17593         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
17594         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
17595         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
17596         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
17597         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
17598         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
17599         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
17600         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
17601         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
17602         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
17603         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
17604         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
17605         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
17606         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
17607         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
17608         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
17609         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
17610         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
17611         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
17612         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
17613         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
17614         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
17615         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
17616         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
17617         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
17618         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
17619         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
17620         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
17621         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
17622         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
17623         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
17624         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
17625         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
17626         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
17627         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
17628         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
17629         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
17630         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
17631         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
17632         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
17633         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
17634         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
17635         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
17636         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
17637         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
17638         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
17639         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
17640         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
17641         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
17642         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
17643         Update #include.
17644         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
17645         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
17647 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17649         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
17650         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
17651         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
17652         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
17653         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
17654         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
17656 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17658         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
17659         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
17660         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17661         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
17663 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17665         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
17666         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
17667         (__libc_vfork): Define function under this name.
17668         (__vfork): Define as an alias.
17669         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
17670         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
17672 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17674         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
17675         that was previously under [RESET_PID].
17676         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
17678 2014-08-04  Andreas Schwab  <schwab@suse.de>
17680         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
17682 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
17684         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
17685         (main): Likewise.
17687 2014-08-01  Roland McGrath  <roland@hack.frob.com>
17689         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
17691 2014-08-01  Richard Henderon  <rth@redhat.com>
17693         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
17694         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
17695         typo in exact zero test.
17696         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17697         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17698         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17700 2014-08-01  Roland McGrath  <roland@hack.frob.com>
17702         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
17703         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
17704         * sysdeps/arm/sysdep.h: ... here.
17705         [!__ASSEMBLER__]: Include <stdint.h>.
17707 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17709         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
17710         (HAVE_WCTYPE_H): Likewise.
17711         (HAVE_ISWCTYPE): Likewise.
17712         (ENABLE_NLS): Likewise.
17713         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
17714         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
17716         * posix/regex_internal.c: Check if DEBUG is defined and is
17717         set.
17719         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
17720         (HAVE_MBSRTOWCS): Likewise.
17721         * posix/fnmatch.c: Include string.h unconditionally.
17723 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17725         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
17726         reversal.
17728 2014-07-31  Roland McGrath  <roland@hack.frob.com>
17730         * sysdeps/generic/safe-fatal.h: New file.
17731         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
17732         * nptl/forward.c: Include it.
17733         (__pthread_unwind): Use __safe_fatal as default action, rather
17734         than a bogus use of INTERNAL_SYSCALL that could never work.
17736         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
17737         * configure.ac (libc_cv_builtin_trap): New test.
17738         * configure: Regenerated.
17739         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
17740         (ABORT_INSTRUCTION): Define using __builtin_trap.
17742         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
17743         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
17744         * sysdeps/nptl/nptl-signals.h: New file.
17745         * nptl/pthreadP.h: Include <nptl-signals.h>.
17747 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17749         * sysdeps/s390/s390-64/utf16-utf32-z9.c
17750         (ONE_DIRECTION): Define.
17751         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17752         (ONE_DIRECTION): Define.
17753         * sysdeps/s390/s390-64/utf8-utf32-z9.c
17754         (ONE_DIRECTION): Define.
17756 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17758         * sysdeps/s390/Makefile: Delete file.
17759         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
17760         * sysdeps/s390/__longjmp.c: Delete file.
17761         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
17762         Remove fields __flags and __reserved.
17763         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
17764         and add versioning.
17765         * sysdeps/s390/rtld-__longjmp.c: Delete file.
17766         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
17767         * sysdeps/s390/rtld-setjmp.S: Likewise.
17768         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
17769         * sysdeps/s390/s390-32/__longjmp.c: ... here.
17770         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
17771         * sysdeps/s390/s390-32/setjmp.S: ... here.
17772         Add versioning.
17773         (__sigsetjmp): Remove setting __flags field.
17774         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
17775         * sysdeps/s390/s390-64/__longjmp.c: ... here.
17776         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
17777         * sysdeps/s390/s390-64/setjmp.S: ... here.
17778         Add versioning.
17779         (__sigsetjmp): Remove setting __flags field.
17780         * sysdeps/s390/setjmp.S: Delete file.
17781         * sysdeps/s390/sigjmp.c: Likewise.
17782         * sysdeps/s390/v1-longjmp.c: Likewise.
17783         * sysdeps/s390/v1-setjmp.h: Likewise.
17784         * sysdeps/s390/v1-sigjmp.c: Likewise.
17785         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
17786         Remove v1-longjmp_chk.
17787         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
17788         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
17789         Include debug/longjmp_chk.c and add versioning.
17790         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
17791         Include nptl/pt-longjmp.c and add versioning.
17792         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
17793         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
17794         Include __longjmp.c.
17795         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17796         Move to ...
17797         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
17798         (__getcontext): Remove setting __flags field.
17799         Add versioning.
17800         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17801         Don't restore upper high grps.
17802         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
17803         Likewise.
17804         (__swapcontext): Remove setting uc_flags field.
17805         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
17806         Delete file.
17807         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17808         Include __longjmp.c.
17809         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17810         Move to ...
17811         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
17812         (__getcontext): Remove setting __flags field.
17813         Add versioning.
17814         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
17815         (__swapcontext): Remove setting uc_flags field.
17816         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
17817         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
17818         Remove fields uc_high_gprs and __reserved.
17819         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
17820         New file with reverted content.
17821         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
17822         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
17823         Regenerated.
17824         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
17825         Regenerated.
17827 2014-07-31  Andreas Schwab  <schwab@suse.de>
17829         * config.h.in (HAVE_IFUNC): Define to 0.
17830         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
17831         definedness.
17833 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
17835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17836         memmove-avx-unaligned, memcpy-avx-unaligned and
17837         mempcpy-avx-unaligned.
17838         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17839         Add tests for AVX memcpy functions.
17840         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
17841         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
17842         memcpy_chk.
17843         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
17844         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
17845         memmove_chk.
17846         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
17847         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
17848         mempcpy_chk.
17849         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
17850         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
17851         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
17853 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17855         [BZ #17213]
17856         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
17857         powerpc64le.
17859 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
17861         [BZ #16839]
17862         * manual/llio.texi: Add section about open file description locks.
17863         * manual/examples/ofdlocks.c: Example of open file description
17864         lock usage.
17865         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
17866         F_OFD_SETLK, and F_OFD_SETLKW.
17868 2014-07-23  Allan McRae  <allan@archlinux.org>
17870         * po/es.po: Update Spanish translation from translation project.
17872 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
17874         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17876 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
17878         [BZ #17078]
17879         * sysdeps/arm/dl-machine.h (elf_machine_rela)
17880         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
17881         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
17883 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
17885         [BZ #17088]
17886         * math/fesetenv.c (__fesetenv)
17887         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17888         * math/feupdateenv.c (__feupdateenv)
17889         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
17891         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17892         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17893         (__ASSUME_SOCKETCALL): Do not define.
17895         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
17896         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
17897         (__ASSUME_SOCKETCALL): Do not define.
17898         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
17899         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17900         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17901         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17902         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17903         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
17904         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17905         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17907         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
17908         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
17909         (__ASSUME_SOCKETCALL): Do not define.
17910         (__ASSUME_IPC64): Define unconditionally.
17911         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17912         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17913         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17914         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17915         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
17916         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17917         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
17918         Likewise.
17920         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
17921         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
17922         (__ASSUME_SOCKETCALL): Do not define.
17923         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
17924         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17925         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17926         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17927         (__ASSUME_REQUEUE_PI): Define unconditionally.
17928         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
17929         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17930         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17931         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
17932         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17933         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17935         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
17936         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
17937         (__ASSUME_SOCKETCALL): Do not define.
17938         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
17939         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17940         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17941         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
17942         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17943         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17945         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17946         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17947         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17948         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17949         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17950         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17951         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17952         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17953         (__ASSUME_GETCPU_SYSCALL): Likewise.
17955         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17956         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
17957         cases for individual architectures.
17958         * sysdeps/gnu/configure: Regenerated.
17959         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17960         LIBC_SLIBDIR_RTLDDIR.
17961         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17962         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17963         LIBC_SLIBDIR_RTLDDIR.
17964         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17966         LIBC_SLIBDIR_RTLDDIR.
17967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17968         Regenerated.
17969         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17970         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17971         file.
17972         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17973         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17974         file.
17975         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17976         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17977         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17978         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17980         * sysdeps/aarch64/shlib-versions: Move to ...
17981         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17982         * sysdeps/alpha/shlib-versions: Move to ...
17983         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17984         * sysdeps/arm/shlib-versions: Move to ...
17985         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17986         * sysdeps/hppa/shlib-versions: Move all contents except for
17987         libgcc_s entry to ...
17988         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
17989         entry from ...
17990         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
17991         * sysdeps/ia64/shlib-versions: Move to ...
17992         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
17993         entry from ...
17994         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
17995         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17996         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17997         * sysdeps/microblaze/shlib-versions: Move to ...
17998         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17999         * sysdeps/mips/shlib-versions: Move to ...
18000         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
18001         entry from ...
18002         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
18003         * sysdeps/tile/shlib-versions: Move to ...
18004         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
18005         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
18006         from ...
18007         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
18008         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
18009         entry from ...
18010         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
18012 2014-07-17  Will Newton  <will.newton@linaro.org>
18014         * sysdeps/arm/bits/atomic.h
18015         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
18016         (__arch_compare_and_exchange_bool_16_int): Likewise.
18017         (__arch_compare_and_exchange_bool_64_int): Likewise.
18019         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
18020         into an #else block.
18022 2014-07-16  Roland McGrath  <roland@hack.frob.com>
18024         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
18025         just Linux configurations.  Test empirically that the compiler sets
18026         __ARM_EABI__, rather than using the tuple to decide.
18027         * sysdeps/arm/preconfigure: Regenerated.
18028         * sysdeps/unix/sysv/linux/arm/configure: File removed.
18029         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
18030         contents appended ...
18031         * sysdeps/arm/configure.ac: ... here.
18032         * sysdeps/arm/configure: Regenerated.
18034 2014-07-15  Roland McGrath  <roland@hack.frob.com>
18036         * nptl/pthread_kill.c: New file.
18037         * nptl/pthread_sigmask.c: New file.
18038         * nptl/pthread_sigqueue.c: New file.
18040         * sysdeps/nptl/lowlevellock.h: New file.
18041         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
18042         * sysdeps/nptl/lowlevellock-futex.h: New file.
18044         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
18045         Remove dead declarations.
18047 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
18049         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
18050         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
18051         config-cflags-avx2.
18052         * sysdeps/x86_64/configure.ac: Likewise.
18053         * sysdeps/i386/configure: Regenerated.
18054         * sysdeps/x86_64/configure: Likewise.
18055         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18056         memset-avx2 only if config-cflags-avx2 is yes.
18057         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18058         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
18059         defined.
18060         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
18061         only if HAVE_AVX2_SUPPORT is defined.
18062         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18064 2014-07-14  Alan Modra  <amodra@gmail.com>
18066         [BZ #17153]
18067         * elf/elf.h (DT_PPC64_NUM): Correct value.
18068         * NEWS: Add to fixed bug list.
18070 2014-07-13  Jim Meyering  <meyering@fb.com>
18072         [BZ 17150]
18073         regex: don't deref NULL upon heap allocation failure
18074         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
18075         failure in one more place.
18076         To trigger the segfault, configure grep -with-included-regex,
18077         build it, and run these commands:
18078         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
18080 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
18082         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18084 2014-07-11  Richard Henderson  <rth@redhat.com>
18086         * sysdeps/aarch64/libm-test-ulps: Update.
18088 2014-07-10  Florian Weimer  <fweimer@redhat.com>
18090         [BZ #17135]
18091         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
18092         * nptl/allocatestack.c (__nptl_setxid_error): New function.
18093         (__nptl_setxid): Initialize error member.  Call
18094         __nptl_setxid_error.
18095         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
18096         * nptl/descr.h (struct xid_command): Add error member.
18097         * nptl/tst-setuid3.c: New file.
18098         * nptl/Makefile (tests): Add it.
18100 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18102         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
18103         New define.
18104         (__lll_trylock): Use __lll_base_trylock.
18105         (__lll_cond_trylock): Likewise.
18107 2014-07-10  Roland McGrath  <roland@hack.frob.com>
18109         * nptl/pthread_create.c (start_thread): Use atomic_or and
18110         lll_futex_wake directly rather than lll_robust_dead.
18111         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
18112         (lll_robust_dead): Macro removed.
18113         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
18114         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
18115         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
18116         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18117         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18118         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
18119         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
18120         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18121         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
18122         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18123         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18124         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18125         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18126         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18127         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18129         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
18130         Use atomic_compare_and_exchange_val_acq directly rather than
18131         lll_robust_trylock.
18132         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
18133         (__lll_robust_trylock, lll_robust_trylock): Removed.
18134         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
18135         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
18136         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18137         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18138         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
18139         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
18140         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18141         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
18142         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18143         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18144         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18145         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18146         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18147         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18149 2014-07-02  Florian Weimer  <fweimer@redhat.com>
18151         * manual/locale.texi (Locale Names): New section documenting
18152         locale name syntax.  Adjust menu and node chaining accordingly.
18153         (Choosing Locale): Reference Locale Names, Locale Categories.
18154         Mention setting LC_ALL=C.  Reflect that name syntax is now
18155         documented.
18156         (Locale Categories): New section title.  Reference Locale Names.
18157         LC_ALL is an environment variable, but not a category.
18158         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
18159         description, now in Locale Name.  Reference that section.  Locale
18160         name syntax is now documented.
18162 2014-07-02  Florian Weimer  <fweimer@redhat.com>
18164         [BZ #17137]
18165         * locale/findlocale.c (name_present, valid_locale_name): New
18166         functions.
18167         (_nl_find_locale): Use the loc_name variable to store name
18168         candidates.  Call name_present and valid_locale_name to check and
18169         validate locale names.  Return an error if the locale is invalid.
18171 2014-07-02  Florian Weimer  <fweimer@redhat.com>
18173         * locale/setlocale.c (setlocale): Use strdup for allocating
18174         composite name copy.
18176 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18178         Sync up with gnulib.
18179         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
18180         [!_LIBC && ENABLE_NLS]: Include gettext.h.
18181         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
18182         and _GL_ARG_NONNULL.
18183         [USE_UNLOCKED_IO]: Include unlocked-io.h.
18184         [!_LIBC]: Include code for Windows and Cygwin.
18185         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
18186         Include prototype for int strerror_r.
18187         [!_LIBC] (is_open): New function.
18188         (flush_stdout): New function.
18189         (print_errno_message): Use it.
18190         (error): Likewise.
18191         (error_at_line): Likewise.
18192         (error_tail) Add function attribute macros.  Use
18193         __builtin_expect.
18195         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
18197         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
18199         * io/ftw.c: Include sys/param.h unconditionally.
18201         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
18203         [BZ #17125]
18204         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
18205         libc_freeres_ptr.
18206         (freecache): New function to free CACHE on exit.
18208         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
18209         initialization.
18211 2014-07-09  David S. Miller  <davem@davemloft.net>
18213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18215         * sysdeps/sparc/nptl/internaltypes.h: Delete.
18216         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
18217         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
18218         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
18219         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
18220         * sysdeps/sparc/nptl/sem_init.c: Likewise.
18221         * sysdeps/sparc/nptl/sem_post.c: Likewise.
18222         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
18223         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
18224         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
18225         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
18226         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
18227         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
18229 2014-07-09  Andreas Schwab  <schwab@suse.de>
18231         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
18232         output.
18233         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
18234         (do_test): Likewise.
18236         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18238 2014-07-09  Will Newton  <will.newton@linaro.org>
18240         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
18241         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
18242         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
18243         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
18244         * sysdeps/hppa/start.S (_start): Likewise.
18246 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
18248         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
18250         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
18251         defined.
18253 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18255         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
18256         after checking that it is non-NULL.
18258         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
18260 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18262         * sysdeps/powerpc/memmove.c: Remove file.
18263         * sysdeps/powerpc/powerpc32/power4/memcopy.h
18264         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
18265         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
18266         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
18267         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
18268         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
18269         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
18270         string memmove instead of removed powerpc one.
18272         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18273         [weak_alias]: Fix compiler warning due trailing data.
18274         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
18275         [weak_alias]: Likewise.
18276         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
18277         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
18279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18280         (__libc_ifunc_impl_list): Add memmove functions.
18282 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18284         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
18285         Remove code.
18286         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
18287         Likewise
18288         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
18289         Likewise
18290         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
18291         Likewise
18292         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
18293         Likewise
18294         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
18295         Likewise
18296         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
18297         Likewise
18298         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
18299         Likewise
18300         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
18301         Likewise
18302         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
18303         Likewise
18304         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
18305         Likewise
18306         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
18307         Likewise
18308         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
18309         Likewise
18310         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
18311         Likewise
18312         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
18313         Likewise
18314         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
18315         Likewise
18316         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
18317         Likewise
18319 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18321         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
18322         to avoid alignment traps in non-cacheable memory.
18323         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
18326         multiarch objects.
18327         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
18328         file: multiarch power7 memmove.
18329         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
18330         multiarch default memmove.
18331         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
18332         multiarch memove for powerpc32/power4.
18334         * string/bcopy.c: Use full path to include memmove.c.
18335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
18336         multiarch objects.
18337         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
18338         bcopy for powerpc64.
18339         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
18340         bcopy for powerpc64.
18341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
18342         and memmove implementations.
18343         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
18344         optimized multiarch memmove for POWER7/powerpc64.
18345         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
18346         default multiarch memmove for powerpc64.
18347         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
18348         multiarch for powerpc64.
18349         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
18350         for POWER7/powerpc64.
18351         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
18352         memmove for POWER7/powerpc64.
18354         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
18355         glibc default one.
18357         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
18358         __ELF_NATIVE_CLASS equal to 64.
18360 2014-07-07  Roland McGrath  <roland@hack.frob.com>
18362         * sysdeps/nptl/lowlevellock.h: File removed.
18364         * NEWS: NPTL is no longer an add-on!
18365         * nptl/internaltypes.h: Moved ...
18366         * sysdeps/nptl/internaltypes.h: ... here.
18367         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
18368         * sysdeps/nptl/fork.c: Likewise.
18369         * sysdeps/nptl/gai_misc.h: Likewise.
18370         * sysdeps/nptl/librt-cancellation.c: Likewise.
18371         * sysdeps/nptl/jmp-unwind.c: Likewise.
18372         * sysdeps/nptl/setxid.h: Likewise.
18373         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
18374         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
18375         * sysdeps/unix/sysv/linux/arm/Implies: New file.
18376         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
18377         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
18378         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
18379         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
18380         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
18381         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
18382         * sysdeps/unix/sysv/linux/mips/Implies: New file.
18383         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
18384         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
18385         * sysdeps/unix/sysv/linux/sh/Implies: New file.
18386         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
18387         * sysdeps/unix/sysv/linux/tile/Implies: New file.
18388         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
18389         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
18390         * nptl/Makeconfig: Moved ...
18391         * sysdeps/nptl/Makeconfig: ... here.
18392         * nptl/configure: File removed.
18393         * nptl/ANNOUNCE: File removed.
18394         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
18395         * sysdeps/unix/sysv/linux/configure: Regenerated.
18397         * nptl/Makefile (routines): Add libc_pthread_init,
18398         libc_multiple_threads, register-atfork and unregister-atfork.
18399         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
18400         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
18401         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
18402         pthread-pi-defines.sym, structsem.sym.
18403         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
18404         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
18405         [$(subdir) = nptl] (tests): Add tst-setgetname.
18406         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
18407         * sysdeps/unix/sysv/linux/sigaction.c: Just include
18408         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
18409         [!LIBC_SIGACTION]: Remove aliases.
18410         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18411         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18412         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18413         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
18414         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18415         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18416         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18417         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18418         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18419         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
18420         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
18421         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
18422         __libc_allocate_rtsig_private.
18423         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
18424         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
18425         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
18426         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
18427         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
18428         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
18429         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
18430         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
18431         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
18432         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
18433         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
18434         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
18435         * nptl/internaltypes.h: ... here.
18436         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
18437         * sysdeps/nptl/jmp-unwind.c: ... here.
18438         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
18439         * nptl/libc-lowlevellock.c: ... here.
18440         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
18441         * nptl/libc_multiple_threads.c: ... here.
18442         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
18443         * nptl/libc_pthread_init.c: ... here.
18444         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
18445         * nptl/lowlevelbarrier.sym: ... here.
18446         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
18447         * nptl/lowlevelcond.sym: ... here.
18448         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
18449         * nptl/lowlevellock.c: ... here.
18450         * nptl/lowlevellock.h: Moved ...
18451         * sysdeps/nptl/lowlevellock.h: ... here.
18452         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
18453         * nptl/lowlevelrobustlock.c: ... here.
18454         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
18455         * nptl/lowlevelrobustlock.sym: ... here.
18456         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
18457         * nptl/lowlevelrwlock.sym: ... here.
18458         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
18459         * nptl/pt-fork.c: ... here.
18460         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
18461         * nptl/pthread-pi-defines.sym: ... here.
18462         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
18463         * nptl/pthread_attr_getaffinity.c: ... here.
18464         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
18465         * nptl/pthread_attr_setaffinity.c: ... here.
18466         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
18467         * nptl/pthread_mutex_cond_lock.c: ... here.
18468         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18469         Update #include.
18470         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
18471         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
18472         * nptl/pthread_once.c: ... here, replacing old file.
18473         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
18474         * nptl/pthread_yield.c: ... here.
18475         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
18476         * nptl/register-atfork.c: ... here.
18477         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
18478         * nptl/sem_post.c: ... here.
18479         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
18480         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
18481         * nptl/sem_timedwait.c: ... here.
18482         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
18483         * nptl/sem_trywait.c: ... here.
18484         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
18485         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
18486         * nptl/sem_wait.c: ... here.
18487         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
18488         * nptl/structsem.sym: ... here.
18489         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
18490         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
18491         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
18492         * nptl/unregister-atfork.c: ... here.
18493         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
18494         * nptl/unwindbuf.sym: ... here.
18495         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
18496         * sysdeps/nptl/fork.c: ... here.
18497         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
18498         * sysdeps/nptl/fork.h: ... here.
18499         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
18500         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
18501         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
18502         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
18503         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
18504         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
18505         * sysdeps/unix/sysv/linux/getpid.c: ... here.
18506         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
18507         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
18508         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
18509         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
18510         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
18511         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
18512         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
18513         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
18514         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
18515         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
18516         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
18517         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
18518         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
18519         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
18520         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
18521         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
18522         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
18523         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
18524         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
18525         * sysdeps/unix/sysv/linux/raise.c: ... here.
18526         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
18527         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
18528         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
18529         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
18530         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
18531         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
18532         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
18533         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
18534         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
18535         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
18536         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
18537         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
18538         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
18539         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
18540         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
18542 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18544         * sysdeps/generic/memcopy.h: Add comment for
18545         MEMCPY_OK_FOR_FWD_MEMMOVE.
18547 2014-07-04  Will Newton  <will.newton@linaro.org>
18549         * string/memchr.c: Merge from gnulib.
18550         [_LIBC]: Remove conditionals.
18551         (__ptr_t): Remove define.
18552         (LONG_MAX_32_BITS): Likewise.
18553         (LONG_MAX): Likewise.
18554         (MEMCHR): Use ANSI prototype and optimize algorithm.
18556         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
18558 2014-07-03  Roland McGrath  <roland@hack.frob.com>
18560         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
18561         (lll_futex_timed_wait_bitset): Fix syscall argument count.
18563         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
18564         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
18565         in a bare environment with no <stdlib.h> installed.
18566         * sysdeps/nptl/configure: Regenerated.
18568         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
18570         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
18571         AC_EGREP_CPP for kernel header checks, so they only succeed if
18572         including <linux/version.h> actually works right.
18573         * sysdeps/unix/sysv/linux/configure: Regenerated.
18575         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
18576         value so it's not diagnosed as unused.
18578         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
18579         thing) with "ifeq ($(subdir),rt)".
18581 2014-07-03  Richard Henderson  <rth@redhat.com>
18583         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
18584         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
18585         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
18587         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
18588         (math_force_eval): New.
18590         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
18591         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
18593         * sysdeps/alpha/fpu/s_round.c: Remove file.
18594         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
18596         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
18597         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
18598         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
18599         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
18600         (_dl_start, print_statistics): Likewise.
18601         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
18602         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
18604         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18605         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18606         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18607         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18608         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18609         (HP_SMALL_TIMING_AVAIL): Define.
18610         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18611         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18612         (HP_SMALL_TIMING_AVAIL): Define.
18613         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18614         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18616         * sysdeps/aarch64/hp-timing.h: New file.
18618         * sysdeps/generic/hp-timing.h: Remove dead comment.
18619         * sysdeps/generic/hp-timing-common.h: New file.
18620         * sysdeps/alpha/hp-timing.h: Include it.
18621         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
18622         * sysdeps/i386/i686/hp-timing.h: Likewise.
18623         * sysdeps/ia64/hp-timing.h: Likewise.
18624         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18625         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18626         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18627         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18628         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
18629         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
18630         (hp_timing_t): New.
18632         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
18633         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
18634         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
18635         * elf/rtld.c (_dl_start_final): Likewise.
18636         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
18637         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18638         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18639         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18640         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18641         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18642         (HP_TIMING_DIFF_INIT): Remove.
18643         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18644         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18645         (HP_TIMING_DIFF_INIT): Remove.
18646         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18647         * sysdeps/i386/i686/hp-timing.c: Remove file.
18648         * sysdeps/x86_64/hp-timing.c: Remove file.
18649         * sysdeps/ia64/hp-timing.c: Remove file.
18650         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
18651         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
18652         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
18653         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
18655         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
18656         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
18657         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
18658         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18659         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18660         (HP_TIMING_ACCUM): Remove.
18661         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18662         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
18663         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18665         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
18666         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
18667         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
18668         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
18669         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
18670         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18671         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
18672         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18674         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
18676 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
18678         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
18680 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18682         Sync up with gettext.
18683         * intl/loadmsgcat.c: Define O_BINARY if not defined.
18684         [_MSC_VER]: Include malloc.h
18685         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
18686         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
18687         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
18688         TEMP_FAILURE_RETRY.  Cast return of alloca.
18689         [!_LIBC] Call gl_rwlock_init.
18690         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
18692 2014-07-02  Roland McGrath  <roland@hack.frob.com>
18694         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
18695         before checking its value.
18697 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18699         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
18701         * debug/memcpy_chk.c: Don't include pagecopy.h.
18702         * debug/mempcpy_chk.c: Likewise.
18703         * string/memcpy.c: Likewise.
18704         * string/memmove.c: Likewise.
18705         * sysdeps/powerpc/memmove.c: Likewise.
18706         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
18707         definition of PAGE_COPY_FWD_MAYBE here...
18708         * sysdeps/generic/pagecopy.h: ... from here.
18709         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
18711 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18712             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18714         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
18715         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
18716         optimizations.
18717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18718         (__libc_ifunc_impl_list): Likewise.
18719         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
18720         multiarch strcat for PPC64.
18721         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
18722         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
18724 2014-07-02  Roland McGrath  <roland@hack.frob.com>
18726         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
18728 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18730         * intl/loadmsgcat.c: Remove declaration of
18731         get_sysdep_segment_value.
18732         (get_sysdep_segment_value): Use ISO C style.
18733         (_nl_load_domain): Use ISO C style.  Get rid of redundant
18734         semicolon.  Fix typo and formatting in comment.
18735         (_nl_unload_domain): Use ISO C style.
18737         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
18739 2014-07-02  Will Newton  <will.newton@linaro.org>
18741         * malloc/obstack.c: Merge from gnulib master.
18742         [HAVE_CONFIG_H]: Remove conditional code.
18743         [!_LIBC]: Include config.h.
18744         [!ELIDE_CODE]: Don't include inttypes.h, include
18745         stdint.h unconditionally.
18746         (print_and_abort): Mark as _Noreturn.
18747         (_obstack_allocated_p): Mark as __attribute_pure__.
18748         (obstack_free): Rename to __obstack_free.
18749         [!__attribute__]: Remove conditional code.
18750         * malloc/obstack.h: Merge from gnulib master.
18751         [__cplusplus]: Move conditional down.
18752         [!__attribute_pure__]: Define __attribute_pure__ here
18753         if it is not already defined.
18754         (_obstack_memory_used): Mark as __attribute_pure__.
18755         [!__obstack_free]: Define as obstack_free.
18756         [__GNUC__]: Remove check for ancient NeXT gcc.
18758 2014-07-02  Will Newton  <will.newton@linaro.org>
18759             Paul Eggert  <eggert@cs.ucla.edu>
18761         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
18763 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18765         * resolv/gethnamaddr.c: Add comment warning that the file is
18766         not maintained.
18768 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
18770         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
18771         entries.
18773         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
18774         entry for aio_cancel and aio_cancel64.
18775         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
18776         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
18777         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
18778         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
18779         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
18780         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
18781         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
18782         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
18783         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
18784         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
18785         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
18786         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
18787         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
18789 2014-07-01  Roland McGrath  <roland@hack.frob.com>
18791         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
18792         * nptl/pthread_mutex_lock.c: Likewise.
18793         * nptl/pthread_mutex_timedlock.c: Likewise.
18794         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
18796 2014-07-01  Richard henderson  <rth@redhat.com>
18798         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
18799         (__isnan, __isnanl): Remove.
18800         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
18802         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18804 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18806         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18808 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18810         * resolv/nss_dns/dns-host.c (getanswer_r)
18811         [MULTI_PTRS_ARE_ALIASES]: Remove code.
18813 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
18815         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18816         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
18817         undefine.
18818         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
18819         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
18821 2014-07-01  Roland McGrath <roland@hack.frob.com>
18823         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
18824         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
18826         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
18827         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
18829         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18830         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
18831         ... here.
18832         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
18833         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
18835         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
18836         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
18837         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18838         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
18840         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
18841         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
18842         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
18843         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
18844         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
18845         Moved ...
18846         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
18847         ... here.
18848         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
18849         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
18850         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
18851         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
18852         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
18853         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
18854         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
18855         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
18856         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
18857         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
18858         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
18859         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
18860         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
18861         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
18862         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
18863         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
18864         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
18865         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
18866         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
18867         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
18868         ... here.
18869         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
18870         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
18871         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
18872         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
18873         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
18874         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
18875         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
18876         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
18878 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
18880         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
18881         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
18882         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
18883         Add sysdep.
18885 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18889 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18891         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18892         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18894         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18896         * sysdeps/arm/libm-test-ulps: Regenerated.
18898 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18899             Roland McGrath <roland@hack.frob.com>
18901         * test-skeleton.c (signal_handler): Kill the whole process group
18902         before killing the child individually.
18903         (main): Report any failure on `setpgid'.
18905 2014-06-30  Roland McGrath  <roland@hack.frob.com>
18907         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
18908         from _TLS_H to _ARM_NPTL_TLS_H.
18909         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
18910         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
18912 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18914         [BZ #16539]
18915         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
18916         (__expm1l): Return argument unchanged when small but not
18917         subnormal.
18919         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
18920         include macro name.
18921         (_FP_UNPACK_RAW_1_P): Likewise.
18922         (_FP_PACK_RAW_1): Likewise.
18923         (_FP_PACK_RAW_1_P): Likewise.
18924         (_FP_MUL_MEAT_1_wide): Likewise.
18925         (_FP_MUL_MEAT_DW_1_hard): Likewise.
18926         (_FP_MUL_MEAT_1_hard): Likewise.
18927         (_FP_DIV_MEAT_1_imm): Likewise.
18928         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18929         (_FP_DIV_MEAT_1_udiv): Likewise.
18930         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
18931         (_FP_UNPACK_RAW_2): Likewise.
18932         (_FP_UNPACK_RAW_2_P): Likewise.
18933         (_FP_PACK_RAW_2): Likewise.
18934         (_FP_PACK_RAW_2_P): Likewise.
18935         (_FP_MUL_MEAT_DW_2_wide): Likewise.
18936         (_FP_MUL_MEAT_2_wide): Likewise.
18937         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
18938         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18939         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
18940         (_FP_MUL_MEAT_2_gmp): Likewise.
18941         (_FP_DIV_MEAT_2_udiv): Likewise.
18942         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
18943         (_FP_FRAC_SRL_4): Likewise.
18944         (_FP_FRAC_SRST_4): Likewise.
18945         (_FP_FRAC_SRS_4): Likewise.
18946         (_FP_UNPACK_RAW_4): Likewise.
18947         (_FP_UNPACK_RAW_4_P): Likewise.
18948         (_FP_PACK_RAW_4): Likewise.
18949         (_FP_PACK_RAW_4_P): Likewise.
18950         (_FP_MUL_MEAT_DW_4_wide): Likewise.
18951         (_FP_MUL_MEAT_4_wide): Likewise.
18952         (_FP_MUL_MEAT_4_gmp): Likewise.
18953         (umul_ppppmnnn): Likewise.
18954         (_FP_DIV_MEAT_4_udiv): Likewise.
18955         (__FP_FRAC_ADD_4): Likewise.
18956         (__FP_FRAC_SUB_3): Likewise.
18957         (__FP_FRAC_SUB_4): Likewise.
18958         (__FP_FRAC_DEC_3): Likewise.
18959         (__FP_FRAC_DEC_4): Likewise.
18960         (__FP_FRAC_ADDI_4): Likewise.
18961         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18962         (_FP_FRAC_SRL_8): Likewise.
18963         (_FP_FRAC_SRS_8): Likewise.
18965         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18966         include macro name.
18967         (FP_UNPACK_RAW_EP): Likewise.
18968         (FP_PACK_RAW_E): Likewise.
18969         (FP_PACK_RAW_EP): Likewise.
18970         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18971         (_FP_ISSIGNAN): Likewise.
18972         (_FP_ADD_INTERNAL): Likewise.
18973         (_FP_FMA): Likewise.
18974         (_FP_CMP): Likewise.
18975         (_FP_SQRT): Likewise.
18976         (_FP_TO_INT): Likewise.
18977         (_FP_FROM_INT): Likewise.
18978         (FP_EXTEND): Likewise.
18979         (_FP_DIV_MEAT_N_loop): Likewise.
18981 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18983         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18984         throughout.
18986 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
18988         [BZ #17097]
18989         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18990         result with correct sign in case of exponents that produce
18991         overflow except for X very close to 1.
18993 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
18995         mktime: merge #if/#ifdef usage from glibc
18996         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18997         as that works with both Glibc's and Gnulib's style.
18998         See thread starting at Siddhesh Poyarekar's bug report at:
18999         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
19001 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19003         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
19004         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
19005         * sysdeps/tile/tilegx/memmove.c: Remove file.
19007 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
19009         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
19010         abi-name definition.
19011         * scripts/soversions.awk: Do not handle or generate ABI lines.
19012         * shlib-versions: Remove ABI entries.
19013         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
19014         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
19016 2014-06-27  Roland McGrath  <roland@hack.frob.com>
19018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
19019         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
19020         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
19021         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
19022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
19023         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
19024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
19025         Moved ...
19026         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
19027         ... here.
19028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
19029         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
19030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
19031         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
19032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
19033         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
19034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
19035         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
19036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
19037         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
19038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
19039         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
19040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
19041         Moved ...
19042         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
19043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
19044         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
19045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
19046         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
19047         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
19048         Moved ...
19049         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
19050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
19051         Moved ...
19052         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
19053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
19054         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
19055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
19056         Moved ...
19057         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
19058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
19059         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
19060         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
19061         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
19062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
19063         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
19064         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
19065         Moved ...
19066         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
19067         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
19068         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
19069         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
19070         Moved ...
19071         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
19072         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
19073         Moved ...
19074         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
19075         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
19076         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
19077         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
19078         Moved ...
19079         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
19080         ... here.
19081         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
19082         Identical file removed.
19083         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
19084         Moved ...
19085         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
19086         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
19087         Identical file removed.
19088         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
19089         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
19090         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
19091         Moved ...
19092         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
19093         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
19094         Identical file removed.
19095         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
19096         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
19097         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
19098         Identical file removed.
19099         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
19100         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
19101         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
19102         Identical file removed.
19103         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
19104         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
19105         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
19106         Identical file removed.
19107         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
19108         Moved ...
19109         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
19110         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
19111         Identical file removed.
19112         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
19113         Moved ...
19114         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
19115         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
19116         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
19117         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
19118         Identical file removed.
19119         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
19120         Moved ...
19121         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
19122         ... here.
19123         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
19124         Identical file removed.
19125         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
19126         Moved ...
19127         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
19128         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
19129         Identical file removed.
19130         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
19131         Moved ...
19132         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
19133         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
19134         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
19135         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
19136         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
19137         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
19138         Moved ...
19139         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
19140         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
19141         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
19143         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
19144         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
19145         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
19146         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
19147         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
19149 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
19151         [BZ #17092]
19152         * nscd/nscd.c (monitor_child): Return exit status of child
19153         instead of return value from wait syscall.
19155 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
19157         * configure.ac (libc_commonpagesize): Remove variable.
19158         (libc_relro_required): Likewise.
19159         (libc_cv_z_relro): Remove configure test.
19160         * configure: Regenerated.
19161         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
19162         variable.
19163         (libc_relro_required): Likewise.
19164         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
19165         (libc_relro_required): Likewise.
19166         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
19167         (libc_relro_required): Likewise.
19168         * sysdeps/arm/preconfigure: Regenerated.
19169         * sysdeps/ia64/preconfigure: Remove file.
19170         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
19171         variable.
19172         (libc_relro_required): Likewise.
19174         [BZ #16561]
19175         [BZ #16562]
19176         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
19177         (__ieee754_yn): Set FE_TONEAREST mode internally and then
19178         recompute overflowing results in original rounding mode.
19179         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
19180         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
19181         recompute overflowing results in original rounding mode.
19182         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
19183         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
19184         recompute overflowing results in original rounding mode.
19185         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
19186         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
19187         recompute overflowing results in original rounding mode.
19188         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
19189         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
19190         recompute overflowing results in original rounding mode.
19191         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
19192         (libc_feholdsetround_ctx): New macro.
19193         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
19194         * sysdeps/i386/fpu/libm-test-ulps: Update.
19195         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
19197 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
19199         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
19200         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
19201         corresponding .cpsetup call.
19203 2014-06-26  Roland McGrath  <roland@hack.frob.com>
19205         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
19206         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
19207         * sysdeps/arm/Makefile [$(subdir) = csu]
19208         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
19209         (static-only-routines): Add aeabi_read_tp here.
19210         (shared-only-routines): Add libc-aeabi_read_tp here.
19211         (CFLAGS-libc-start.c): Add -fexceptions here.
19212         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
19213         (sysdep_routines, static-only-routines, shared-only-routines):
19214         Don't add to these here.
19215         (CFLAGS-libc-start.c): Likewise.
19217         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
19218         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19219         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
19220         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19221         * sysdeps/arm/Makefile [$(subdir) = rt]
19222         (librt-sysdep_routines, librt-shared-only-routines):
19223         Append rt-aeabi_unwind_cpp_pr1 here.
19224         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
19225         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
19226         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
19227         (libpthread-sysdep_routines, libpthread-shared-only-routines):
19228         Append nptl-aeabi_unwind_cpp_pr1 here.
19229         (tests): Filter out tst-cleanupx4 here.
19230         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
19231         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
19232         Don't do those here.
19234 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
19236         * scripts/list-sources.sh: Do not handle ports specially.
19238 2014-06-26  Roland McGrath  <roland@hack.frob.com>
19240         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
19241         * sysdeps/arm/feupdateenv.c: Likewise.
19243         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
19245 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
19247         * manual/texinfo.tex: Update to version 2014-05-05.10 with
19248         trailing whitespace removed.
19249         * scripts/config.guess: Update to version 2014-03-23.
19250         * scripts/config.sub: Update to version 2014-05-01
19251         * scripts/install-sh: Update to version 2013-12-25.23.
19252         * scripts/move-if-change: Update from gnulib.
19254 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19256         * debug/memmove_chk.c: Remove pagecopy.h include.
19258 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
19260         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
19261         identical to gnulib mktime.
19263 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
19265         * configure.ac: Do not test for machine being rs6000.  Do not test
19266         for powerpc*-*soft.
19267         * configure: Regenerated.
19269         [BZ #11505]
19270         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
19271         test.
19272         * configure: Regenerated.
19273         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
19274         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
19275         Remove configure test.
19276         * sysdeps/arm/configure: Regenerated.
19277         * sysdeps/nptl/configure.ac: Do not check
19278         libc_cv_asm_cfi_directives.
19279         * sysdeps/nptl/configure: Regenerated.
19280         * sysdeps/x86_64/nptl/configure.ac: Remove file.
19281         * sysdeps/x86_64/nptl/configure: Remove generated file.
19282         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
19283         unconditional.
19284         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
19286 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19288         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
19289         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
19290         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
19291         it is defined.
19293         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
19294         instead of whether it is defined.
19295         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
19296         * sysdeps/hppa/dl-machine.h: Likewise.
19297         * sysdeps/ia64/dl-machine.h: Likewise.
19298         * sysdeps/m68k/dl-machine.h: Likewise.
19299         * sysdeps/microblaze/dl-machine.h: Likewise.
19300         * sysdeps/mips/dl-machine.: Likewise.
19301         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19302         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19303         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19304         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19305         * sysdeps/sh/dl-machine.h: Likewise.
19306         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19307         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19308         * sysdeps/tile/dl-machine.h: Likewise.
19309         * sysdeps/x86_64/dl-machine.h: Likewise.
19311         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
19312         code.
19313         (verify_persistent_db): Likewise.
19315 2014-06-26  Roland McGrath  <roland@hack.frob.com>
19317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
19318         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
19319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
19320         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
19321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19322         Moved ...
19323         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
19324         ... here.
19325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
19326         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
19327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
19328         Identical file removed.
19329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
19330         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
19331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
19332         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
19333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
19334         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
19335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
19336         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
19337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
19338         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
19339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19340         Moved ...
19341         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
19342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
19343         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
19344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
19345         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
19346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19347         Moved ...
19348         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
19349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
19350         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
19351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
19352         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
19353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19354         Identical file removed.
19355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
19356         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
19357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
19358         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
19359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19360         Moved ...
19361         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
19362         ... here.
19363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
19364         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
19365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
19366         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
19367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
19368         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
19369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
19370         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
19371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
19372         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
19373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19374         Moved ...
19375         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
19376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
19377         Moved ...
19378         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
19379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
19380         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
19381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19382         Moved ...
19383         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
19384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
19385         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
19387         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
19388         folded into ...
19389         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
19390         * sysdeps/unix/sysv/linux/s390/Versions
19391         (libpthread: GLIBC_2.19): New version set.
19392         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
19393         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
19394         (librt: GLIBC_2.3.3): New version set.
19395         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
19396         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
19397         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
19398         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
19399         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
19400         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
19401         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
19402         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
19403         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
19404         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
19405         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
19406         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
19407         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
19408         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
19409         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
19410         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
19411         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
19412         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
19413         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
19414         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
19415         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
19416         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
19417         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
19418         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
19419         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
19420         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
19421         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
19422         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
19423         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
19424         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
19425         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
19426         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
19427         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
19428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
19429         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
19430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
19431         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
19432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
19433         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
19434         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
19435         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
19436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
19437         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
19438         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
19439         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
19441         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
19442         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
19443         (__libc_vfork): Define the function under this name.
19444         [!NOT_IN_libc] (__vfork): Make this an alias.
19445         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
19446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
19447         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
19448         (__libc_vfork): Define the function under this name.
19449         [!NOT_IN_libc] (__vfork): Make this an alias.
19450         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
19451         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
19452         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
19453         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
19454         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
19455         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19457         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
19458         code that was previously under [RESET_PID].
19459         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
19460         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
19461         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
19463         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
19464         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
19465         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
19466         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
19467         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
19468         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
19469         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
19470         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
19471         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
19472         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
19473         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
19474         Moved ...
19475         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
19476         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
19477         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
19478         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
19479         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
19480         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
19481         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
19482         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
19483         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
19484         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
19485         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
19486         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
19487         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
19488         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
19489         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
19490         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
19491         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
19492         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
19493         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
19494         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
19495         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
19496         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
19497         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
19498         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
19499         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
19500         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
19501         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
19502         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
19503         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
19505 2014-06-25  Roland McGrath  <roland@hack.frob.com>
19507         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
19508         that was previously under [RESET_PID].
19509         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
19511 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19513         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
19514         not undefine and redefine.
19515         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
19516         [O_CLOEXEC]: Make code unconditional.
19517         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
19518         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
19519         <kernel-features.h>.
19520         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
19521         conditional variable definition.
19522         (shm_open) [O_CLOEXEC]: Make code unconditional.
19523         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
19524         code.
19526         * configure.ac (USE_REGPARMS): Don't define here.
19527         * configure: Regenerated.
19528         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
19529         * sysdeps/i386/configure: Regenerated.
19531         * nptl/createthread.c: Don't include kernel-features.h.
19532         * nptl/pthread_cancel.c: Likewise.
19533         * nptl/pthread_condattr_setclock.c: Likewise.
19534         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
19535         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
19536         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
19537         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
19538         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
19539         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
19540         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19541         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
19542         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19543         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
19544         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
19545         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
19546         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
19547         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
19548         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
19549         * nscd/gai.c: Likewise.
19550         * nss/nss_db/db-open.c: Likewise.
19551         * sysdeps/generic/ldsodefs.h: Likewise.
19552         * sysdeps/sh/nptl/tls.h: Likewise.
19553         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
19554         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
19555         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
19556         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
19557         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
19558         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19559         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
19560         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19561         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19562         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19563         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19564         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19565         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
19566         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
19567         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
19568         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
19569         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19570         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
19571         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
19572         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
19573         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19574         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19575         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
19576         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
19577         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19578         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19579         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
19580         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
19581         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19582         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
19583         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
19584         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
19585         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
19586         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19587         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19588         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19589         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19590         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
19591         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
19592         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
19593         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19594         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
19595         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
19596         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19597         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
19598         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
19599         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
19600         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
19601         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
19602         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19603         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19604         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19605         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19606         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19607         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
19608         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19609         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19610         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
19611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
19613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
19614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
19615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
19616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
19622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
19623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
19624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
19625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
19631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
19632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
19633         * sysdeps/unix/sysv/linux/pread.c: Likewise.
19634         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
19635         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
19636         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
19637         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
19638         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
19639         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
19640         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
19641         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
19642         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19643         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
19644         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19645         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
19646         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
19647         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
19648         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
19649         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19650         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
19651         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
19652         * sysdeps/unix/sysv/linux/system.c: Likewise.
19653         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
19654         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19655         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19656         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19657         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19658         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19659         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19661         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
19662         * configure: Regenerated.
19663         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
19665         * configure.ac (base_machine): Do not set specially for particular
19666         machines here.
19667         * configure: Regenerated.
19668         * sysdeps/powerpc/preconfigure: Move machine and base_machine
19669         settings from configure.ac.
19670         * sysdeps/i386/preconfigure: New file.
19671         * sysdeps/s390/preconfigure: Likewise.
19672         * sysdeps/sh/preconfigure: Likewise.
19673         * sysdeps/sparc/preconfigure: Likewise.
19675 2014-06-25  Roland McGrath  <roland@hack.frob.com>
19677         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
19678         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
19679         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
19680         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
19681         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
19682         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
19683         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
19684         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
19685         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
19686         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
19687         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
19688         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
19689         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
19690         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
19691         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
19692         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
19693         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
19694         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
19695         * sysdeps/sparc/sparc64/Makefile: ... appended here.
19697         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
19698         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
19699         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
19700         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
19701         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
19702         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
19703         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
19704         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
19705         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
19706         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
19707         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
19708         * sysdeps/sparc/sparc32/sem_post.c: ... here.
19709         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
19710         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
19711         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
19712         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
19713         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
19714         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
19715         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
19716         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
19717         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
19718         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
19719         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
19720         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
19721         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
19722         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
19723         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
19724         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
19725         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
19726         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
19727         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
19728         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
19729         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
19730         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
19731         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
19732         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
19733         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
19734         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
19736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
19737         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
19738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
19739         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
19740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19741         Moved ...
19742         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
19743         ... here.
19744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
19745         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
19746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
19747         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
19748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
19749         Moved ...
19750         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
19751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
19752         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
19753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
19754         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
19755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
19756         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
19757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19758         Moved ...
19759         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
19760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19761         Moved ...
19762         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
19763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
19764         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
19765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19766         Moved ...
19767         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
19768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
19769         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
19770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
19771         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
19772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
19773         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
19774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
19775         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
19776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19777         Moved ...
19778         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
19779         ... here.
19780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
19781         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
19782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
19783         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
19784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
19785         Moved ...
19786         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
19787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
19788         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
19789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
19790         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
19791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
19792         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
19793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19794         Moved ...
19795         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
19796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19797         Moved ...
19798         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
19799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
19800         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
19801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19802         Moved ...
19803         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
19804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
19805         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
19806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
19807         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
19809 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19811         * timezone/checktab.awk: Update from tzcode 2014e.
19812         * timezone/private.h: Likewise.
19813         * timezone/tzfile.h: Likewise.
19814         * timezone/zdump.c: Likewise.
19815         * timezone/zic.c: Likewise.
19817         * sysdeps/unix/sysv/linux/kernel-features.h
19818         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
19819         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
19820         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
19821         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19822         Remove conditional code.
19824 2014-06-25  Will Newton  <will.newton@linaro.org>
19826         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
19827         (_dl_arm_cap_flags): Add HWCAP2 values.
19828         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
19829         (_DL_HWCAP_COUNT): Increase to 37.
19830         (_DL_HWCAP_LAST): New define.
19831         (_DL_HWCAP2_LAST): New define.
19832         (_dl_procinfo): Add support for printing
19833         AT_HWCAP2 entries.
19834         (_dl_string_hwcap): Use _dl_hwcap_string.
19836 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19840 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19842         * README: Do not mention ports directory.
19844         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
19845         Remove macro.
19846         * sysdeps/unix/sysv/linux/futimes.c: Do not include
19847         <kernel-features.h>.
19848         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
19849         conditional variable definition.
19850         (__futimes): Update comment.
19851         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
19852         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
19854         [BZ #16560]
19855         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
19856         arguments close to 0.
19857         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
19858         Likewise.
19859         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
19860         Likewise.
19861         * math/auto-libm-test-in: Add more tests of exp10.
19862         * math/auto-libm-test-out: Regenerated.
19863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19865         * sysdeps/unix/sysv/linux/kernel-features.h
19866         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
19867         * sysdeps/unix/sysv/linux/readv.c: Do not include
19868         <kernel-features.h>.
19869         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19870         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19871         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19872         unconditional.
19873         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19874         conditional code.
19875         * sysdeps/unix/sysv/linux/writev.c: Do not include
19876         <kernel-features.h>.
19877         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19878         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19879         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19880         unconditional.
19881         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19882         conditional code.
19884 2014-06-25  Will Newton  <will.newton@linaro.org>
19886         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
19887         comment changes throughout the file.  Remove checks
19888         for HAVE_*_H definitions that are not required.
19889         (__gen_tempname): Call abort if an unknown kind value is
19890         passed.
19892 2014-06-25  Andreas Schwab  <schwab@suse.de>
19894         [BZ #17086]
19895         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
19896         scalbln, scalblnf, scalblnl in libc.
19898 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19900         [BZ #17086]
19901         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19902         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19903         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19905 2014-06-24  Roland McGrath  <roland@hack.frob.com>
19907         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
19908         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
19909         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
19910         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
19911         Update #include.
19912         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
19913         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
19914         Update #include.
19915         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
19916         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
19917         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
19918         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
19919         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
19920         * sysdeps/x86/bits/pthreadtypes.h: ... here.
19921         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
19922         * sysdeps/x86/bits/semaphore.h: ... here.
19923         * sysdeps/x86/nptl/elide.h: Moved ...
19924         * sysdeps/x86/elide.h: ... here.
19925         * sysdeps/x86_64/nptl/Implies: File removed.
19926         * sysdeps/i386/nptl/Implies: File removed.
19928 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
19930         [BZ #16539]
19931         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
19932         return the argument for normal arguments with exponent below -64.
19933         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19934         Likewise.
19935         * math/auto-libm-test-in: Add another test of expm1.
19936         * math/auto-libm-test-out: Regenerated.
19938         [BZ #16287]
19939         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
19940         calling __erfcl for arguments at least 16.
19941         * math/auto-libm-test-in: Add more tests of erf.
19942         * math/auto-libm-test-out: Regenerated.
19944         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19945         individual architectures.
19946         * sysdeps/unix/sysv/linux/configure: Regenerated.
19947         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19948         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19949         * sysdeps/unix/sysv/linux/powerpc/configure.ac
19950         (ldd_rewrite_script): Define variable.
19951         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19953         file.
19954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19955         generated file.
19956         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19957         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19958         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19959         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19960         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19961         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19962         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19963         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19965 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19967         [BZ #17084]
19968         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19969         Rename member __data.d to __data.__elision_data.
19971 2014-06-24  Wilco  <wdijkstr@arm.com>
19973         * NEWS: Add 16918 to fixed bug list.
19975 2014-06-24  Wilco  <wdijkstr@arm.com>
19977         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19979 2014-06-24  Wilco  <wdijkstr@arm.com>
19981         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19982         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19983         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19984         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19985         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19986         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19987         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19988         Use _FPU_MASK_RM.
19990 2014-06-24  Wilco  <wdijkstr@arm.com>
19992         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19994 2014-06-24  Wilco  <wdijkstr@arm.com>
19996         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19997         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19998         * sysdeps/arm/fesetround.c (fesetround): Remove space.
19999         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
20001 2014-06-24  Wilco  <wdijkstr@arm.com>
20003         [BZ #16918]
20004         * sysdeps/arm/feupdateenv.c (feupdateenv):
20005         Rewrite to reduce FPSCR accesses and fix return value.
20007 2014-06-24  Wilco  <wdijkstr@arm.com>
20009         * sysdeps/arm/fclrexcpt.c (feclearexcept):
20010         Optimize to avoid unnecessary FPSCR writes.
20011         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
20012         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
20013         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
20014         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
20016 2014-06-24  Wilco  <wdijkstr@arm.com>
20018         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
20019         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
20020         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
20021         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
20022         Call libc_fetestexcept_vfp.
20023         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
20024         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
20025         __SOFTFP__ ifdef so that they can be built for softfp.
20027 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20029         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
20030         argument type signed char.
20032         * Makerules (check-abi): Dump diff of symlist if the test
20033         fails.
20035 2014-06-23  Roland McGrath  <roland@hack.frob.com>
20037         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
20038         using abort.
20040         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20041         Remove unused variable ST.
20043 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
20045         [BZ #16354]
20046         [BZ #17061]
20047         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
20048         small arguments before calling __expm1.
20049         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
20050         small arguments before calling __expm1f.
20051         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
20052         small arguments before calling __expm1l.
20053         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20054         Likewise.
20055         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
20056         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
20057         spurious underflow for some cosh tests.
20058         * math/auto-libm-test-out: Regenerated.
20059         * sysdeps/i386/fpu/libm-test-ulps: Update.
20061         [BZ #17050]
20062         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
20063         (__ieee754_y1): Set errno if return value overflows.
20064         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
20065         (__ieee754_y1f): Set errno if return value overflows.
20066         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
20067         (__ieee754_y1l): Set errno if return value overflows.
20068         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
20069         (__ieee754_y1l): Set errno if return value overflows.
20070         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
20071         * math/auto-libm-test-out: Regenerated.
20073         * math/gen-auto-libm-tests.c: Document use of
20074         ignore-zero-inf-sign.
20075         (input_flag_type): Add value flag_ignore_zero_inf_sign.
20076         (input_flags): Add ignore-zero-inf-sign.
20077         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
20078         * math/gen-libm-test.pl (generate_testfile): Handle
20079         ignore-zero-inf-sign.
20080         * math/auto-libm-test-in: Mark some cpow tests with
20081         ignore-zero-inf-sign and some with xfail-rounding.
20082         * math/auto-libm-test-out: Regenerated.
20083         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
20084         * sysdeps/i386/fpu/libm-test-ulps: Update.
20085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20087         [BZ #16315]
20088         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
20089         overflowing or underflowing operations take place with sign of
20090         result.
20091         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20092         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20093         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
20094         (__ieee754_pow): Recompute overflowing and underflowing results in
20095         original rounding mode.
20096         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
20097         (__powl_helper): Allow negative argument X and scale negated value
20098         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
20099         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
20100         overflowing or underflowing operations take place with sign of
20101         result.
20102         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
20103         Include <math.h>.
20104         * math/auto-libm-test-in: Add more tests of pow.
20105         * math/auto-libm-test-out: Regenerated.
20106         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
20107         (pow_tonearest_test_data): Remove.
20108         (pow_test_tonearest): Likewise.
20109         (pow_towardzero_test_data): Likewise.
20110         (pow_test_towardzero): Likewise.
20111         (pow_downward_test_data): Likewise.
20112         (pow_test_downward): Likewise.
20113         (pow_upward_test_data): Likewise.
20114         (pow_test_upward): Likewise.
20115         (main): Don't call removed functions.
20116         * sysdeps/i386/fpu/libm-test-ulps: Update.
20117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20119 2014-06-23  Roland McGrath  <roland@hack.frob.com>
20121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
20122         Moved ...
20123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
20124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20125         Moved ...
20126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
20127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20128         Moved ...
20129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
20130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20131         Moved ...
20132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
20133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20134         File removed.
20135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20136         File removed.
20137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
20138         File removed.
20139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
20140         File removed.
20141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
20142         File removed.
20143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
20144         File removed.
20145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
20146         File removed.
20147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20148         File removed.
20149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
20150         File removed.
20151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20152         File removed.
20153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
20154         File removed.
20155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
20156         File removed.
20157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
20158         Moved ...
20159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
20160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
20161         Moved ...
20162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
20163         ... here.
20164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
20165         Moved ...
20166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
20167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
20168         Moved ...
20169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
20170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
20171         Moved ...
20172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
20173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
20174         Moved ...
20175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
20176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
20177         Moved ...
20178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
20179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
20180         Moved ...
20181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
20182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
20183         Moved ...
20184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
20185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
20186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
20187         ... here.
20188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
20189         Moved ...
20190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
20191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20192         Moved ...
20193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20194         ... here.
20195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
20196         Moved ...
20197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20198         ... here.
20199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20200         Moved ...
20201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20202         ... here.
20203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20204         Moved ...
20205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
20206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
20207         Moved ...
20208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
20209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
20210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
20211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20212         Moved ...
20213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
20214         ... here.
20215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20216         Moved ...
20217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
20218         ... here.
20219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
20220         Moved ...
20221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
20222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20223         Moved ...
20224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
20225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
20226         Moved ...
20227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
20228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20229         Moved ...
20230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
20231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
20232         Moved ...
20233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
20234         ... here.
20235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20236         Moved ...
20237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
20238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20239         Moved ...
20240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
20241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20242         Moved ...
20243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
20244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20245         Moved ...
20246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
20247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
20248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
20249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20250         Moved ...
20251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
20252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20253         Moved ...
20254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
20255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20256         Moved ...
20257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
20258         ... here.
20259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20260         Moved ...
20261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
20262         ... here.
20263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20264         Moved ...
20265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
20266         ... here.
20267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20268         Moved ...
20269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
20270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20271         Moved ...
20272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
20273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20274         Moved ...
20275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
20276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20277         Moved ...
20278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
20279         ... here.
20280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20281         Moved ...
20282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
20283         ... here.
20284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20285         Moved ...
20286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
20287         ... here.
20288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20289         Moved ...
20290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
20291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20292         Moved ...
20293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
20295 2014-06-23  Will Newton  <will.newton@linaro.org>
20296             Wilco  <wdijkstr@arm.com>
20298         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
20299         implementation.  Include get-rounding-mode.h.
20300         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
20301         [!libc_feholdsetround_noex_ctx]: Define
20302         libc_feholdsetround_noex_ctx.
20303         [!libc_feholdsetround_noexf_ctx]: Define
20304         libc_feholdsetround_noexf_ctx.
20305         [!libc_feholdsetround_noexl_ctx]: Define
20306         libc_feholdsetround_noexl_ctx.
20307         (libc_feholdsetround_ctx): New function.
20308         (libc_feresetround_ctx): New function.
20309         (libc_feholdsetround_noex_ctx): New function.
20310         (libc_feresetround_noex_ctx): New function.
20312 2014-06-23  Roland McGrath  <roland@hack.frob.com>
20314         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
20315         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
20316         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
20317         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
20318         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
20319         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
20321         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
20322         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
20323         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
20324         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
20325         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
20326         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
20327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
20328         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
20329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
20330         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
20331         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
20332         Moved ...
20333         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
20334         ... here.
20335         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
20336         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
20337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
20338         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
20339         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
20340         Moved ...
20341         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
20342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
20343         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
20344         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
20345         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
20346         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
20347         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
20348         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
20349         Moved ...
20350         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
20351         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
20352         Moved ...
20353         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
20354         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
20355         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
20356         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
20357         Moved ...
20358         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
20359         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
20360         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
20361         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
20362         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
20363         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
20364         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
20365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
20366         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
20367         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
20368         Moved ...
20369         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
20370         ... here.
20371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
20372         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
20373         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
20374         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
20375         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
20376         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
20377         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
20378         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
20379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
20380         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
20381         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
20382         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
20383         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
20384         Moved ...
20385         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
20386         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
20387         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
20388         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
20389         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
20390         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
20391         Moved ...
20392         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
20393         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
20394         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
20395         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
20396         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
20398         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
20399         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
20400         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
20401         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
20402         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
20403         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
20404         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
20405         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
20406         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
20407         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
20408         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
20409         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
20410         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
20411         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
20412         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
20413         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
20414         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
20415         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
20416         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
20417         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
20418         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
20419         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
20420         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
20421         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
20422         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
20423         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
20424         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
20425         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
20427 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
20429         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
20430         (FALLOC_FL_COLLAPSE_RANGE): New macro.
20431         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
20432         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
20433         (IPV6_PMTUDISC_INTERFACE): Likewise.
20434         (IPV6_PMTUDISC_OMIT): Likewise.
20436 2014-06-23  Andreas Schwab  <schwab@suse.de>
20438         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
20439         Remove unused errout label.
20441 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20443         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
20444         macro: hardware supports Vector Crypto instructions.
20446 2014-06-23  Will Newton  <will.newton@linaro.org>
20448         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
20449         rather than __builtin_expect.
20451         * elf/dl-lookup.c (undefined_msg): Remove variable.
20452         (_dl_lookup_symbol_x): Replace undefined_msg with string
20453         literal.
20455         * elf/dl-lookup.c (do_lookup_unique): New function.
20456         (do_lookup_x): Move STB_GNU_UNIQUE handling code
20457         to a separate function.
20459 2014-06-23  Andreas Schwab  <schwab@suse.de>
20461         [BZ #17079]
20462         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
20463         before reading the next line.
20465 2014-06-23  Will Newton  <will.newton@linaro.org>
20467         * test-skeleton.c (signal_handler): Use printf and %m
20468         rather than perror.  Use printf rather than fprintf to
20469         stderr.  Use puts rather than fputs to stderr.
20470         (main): Likewise.
20472 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
20474         * nscd/nscd.c (thread_info_t): Remove typedef.
20475         (thread_info): Remove variable.
20477 2014-06-21  Allan McRae  <allan@archlinux.org>
20479         * NEWS: Mention CVE-2014-4043.
20481 2014-06-20  Roland McGrath  <roland@hack.frob.com>
20483         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
20484         * nptl/smp.h: ... here.
20486         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
20488         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
20489         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
20490         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
20491         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
20493         * nptl/allocatestack.c: Include <stack-aliasing.h>.
20494         * nptl/stack-aliasing.h: New file.
20495         * sysdeps/i386/i686/stack-aliasing.h: New file.
20496         * sysdeps/i386/i686/nptl/Makefile: File removed.
20497         * sysdeps/x86_64/stack-aliasing.h: New file.
20498         * sysdeps/x86_64/nptl/Makefile
20499         (CFLAGS-pthread_create.c): Variable removed.
20501         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
20502         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
20503         old file.
20504         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
20505         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
20506         old file.
20508 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
20510         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20511         (__ASSUME_SIGFRAME_V2): Remove macro.
20512         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
20513         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
20514         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
20515         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
20516         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
20517         Declare as function.  Remove conditional macro definitions.
20518         (__default_rt_sa_restorer): Likewise.
20519         (__default_sa_restorer_v1): Remove declaration.
20520         (__default_sa_restorer_v2): Likewise.
20521         (__default_rt_sa_restorer_v1): Likewise.
20522         (__default_rt_sa_restorer_v2): Likewise.
20523         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
20524         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
20525         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
20527 2014-06-20  Roland McGrath  <roland@hack.frob.com>
20529         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
20530         (libpthread-routines): Add sysdep.
20531         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
20532         * sysdeps/unix/sysv/linux/sparc/Versions
20533         (libpthread: GLIBC_2.3.3): New version set.
20534         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
20535         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
20536         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
20537         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
20538         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
20539         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
20540         Moved ...
20541         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
20542         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
20543         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
20544         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
20545         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
20546         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
20547         * sysdeps/sparc/nptl/sem_init.c: ... here.
20548         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
20549         * sysdeps/sparc/nptl/sem_post.c: ... here.
20550         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
20551         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
20552         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
20553         * sysdeps/sparc/nptl/sem_wait.c: ... here.
20554         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
20555         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
20556         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
20557         (libpthread-routines): Add cpu_relax.
20558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
20559         File removed.
20560         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
20561         (librt: GLIBC_2.3.3): New version set.
20562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
20563         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
20564         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
20565         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
20566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
20567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
20568         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
20569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
20570         Moved ...
20571         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
20572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
20573         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
20574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
20575         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
20576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
20577         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
20578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
20579         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
20580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
20581         Moved ...
20582         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
20583         Update #include.
20584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
20585         Moved ...
20586         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
20587         Update #include.
20588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
20589         Moved ...
20590         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
20591         Update #include.
20592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
20593         Moved ...
20594         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
20595         Update #include.
20596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
20597         Moved ...
20598         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
20599         Update #include.
20600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
20601         Moved ...
20602         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
20603         Update #include.
20604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
20605         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
20606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
20607         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
20608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
20609         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
20610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
20611         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
20612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
20613         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
20614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20615         Moved ...
20616         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
20617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
20618         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
20619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
20620         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
20622 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20624         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
20625         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
20626         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20627         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
20628         * nscd/nscd.c: Likewise.
20629         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
20630         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
20631         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
20632         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
20634         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
20635         <kernel-features.h>.
20636         (init_mq_netlink): Remove conditional have_sock_cloexec
20637         definitions.  Remove code conditional on have_sock_cloexec < 0.
20638         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
20639         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
20640         * sysdeps/unix/sysv/linux/opensock.c: Do not include
20641         <kernel-features.h>.
20642         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
20643         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
20645 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
20647         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20648         Add tests for memset_chk and memset.
20650         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
20651         with AVX2_Usable.
20653 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
20655         [BZ #16046]
20656         * elf/tst-dl-iter-static.c: New file.
20657         * elf/Makefile (tests-static): Add tst-dl-iter-static.
20659         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
20660         error.
20662 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20664         * sysdeps/unix/sysv/linux/kernel-features.h
20665         (__ASSUME_F_GETOWN_EX): Remove macro.
20666         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
20667         <kernel-features.h>.
20668         (miss_F_GETOWN_EX): Remove variable or macro.
20669         (do_fcntl): Do not check miss_F_GETOWN_EX.
20670         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
20672         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
20673         Remove macro.
20674         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
20675         [!__ASSUME_AT_RANDOM]: Remove conditional code.
20676         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
20678         * sysdeps/unix/sysv/linux/kernel-features.h
20679         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
20680         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
20681         [ADJ_OFFSET_SS_READ]: Make code unconditional.
20682         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
20684 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
20686         [BZ #17075]
20687         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
20688         Fix calculation of the symbol's value.
20689         * sysdeps/arm/tst-armtlsdescloc.c: New file.
20690         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
20691         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
20692         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
20693         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
20694         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
20695         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
20696         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
20697         (modules-names): Add `tst-armtlsdescmod',
20698         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
20699         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
20700         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20701         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
20702         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
20703         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20704         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
20705         ($(objpfx)tst-armtlsdescloc): New dependency.
20706         ($(objpfx)tst-armtlsdescextnow): Likewise.
20707         ($(objpfx)tst-armtlsdescextlazy): Likewise.
20708         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
20709         TLS scheme support.
20710         * sysdeps/arm/configure: Regenerate.
20712 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20714         * include/fcntl.h (__atfct_seterrno): Remove prototype.
20715         (__atfct_seterrno_2): Likewise.
20716         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
20717         <kernel-features.h>.
20718         (__ASSUME_ATFCTS): Do not undefine and redefine.
20719         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
20720         (__have_atfcts): Remove conditional definition.
20721         (__fxstatat([__NR_fstatat64]: Make code unconditional.
20722         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
20723         unreachable if [__ASSUME_ATFCTS].
20724         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
20725         not undefine and redefine.
20726         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
20727         <kernel-features.h>.
20728         (faccessat) [__NR_faccessat]: Make code unconditional.
20729         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
20730         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
20731         <kernel-features.h>.
20732         (fchmodat) [__NR_fchmodat]: Make code unconditional.
20733         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20734         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
20735         <kernel-features.h>.
20736         (fchownat) [__NR_fchownat]: Make code unconditional.
20737         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
20738         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
20739         <kernel-features.h>.
20740         (futimesat) [__NR_futimesat]: Make code unconditional.
20741         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
20742         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20743         <kernel-features.h>.
20744         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20745         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20746         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20747         <kernel-features.h>.
20748         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
20749         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20750         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
20751         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20752         <kernel-features.h>.
20753         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
20754         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20755         * sysdeps/unix/sysv/linux/linkat.c: Do not include
20756         <kernel-features.h>.
20757         (linkat) [__NR_linkat]: Make code unconditional.
20758         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20759         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
20760         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
20761         <kernel-features.h>.
20762         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
20763         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20764         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
20765         <kernel-features.h>.
20766         (mkdirat) [__NR_mkdirat]: Make code unconditional.
20767         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
20768         * sysdeps/unix/sysv/linux/openat.c: Do not include
20769         <kernel-features.h>.
20770         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
20771         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
20772         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
20773         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
20774         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
20775         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
20776         <kernel-features.h>.
20777         (readlinkat) [__NR_readlinkat]: Make code unconditional.
20778         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
20779         result of INLINE_SYSCALL directly, not via int variable.
20780         * sysdeps/unix/sysv/linux/renameat.c: Do not include
20781         <kernel-features.h>.
20782         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
20783         (renameat) [__NR_renameat]: Make code unconditional.
20784         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
20785         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
20786         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
20787         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
20788         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
20789         (__ASSUME_ATFCTS): Do not undefine and redefine.
20790         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
20791         <kernel-features.h>.
20792         (symlinkat) [__NR_symlinkat]: Make code unconditional.
20793         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20794         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
20795         <kernel-features.h>.
20796         (unlinkat) [__NR_unlinkat]: Make code unconditional.
20797         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20798         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
20799         (__ASSUME_ATFCTS): Do not undefine and redefine.
20800         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20801         <kernel-features.h>.
20802         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20803         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20804         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20805         <kernel-features.h>.
20806         (__xmknodat) [__NR_mknodat]: Make code unconditional.
20807         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20809 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
20811         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
20813 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
20815         [BZ #17069]
20816         * posix/regcomp.c (parse_reg_exp): Deallocate partially
20817         constructed tree before returning error.
20818         * posix/bug-regexp36.c: Expand test case.
20820 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20822         [BZ #6803]
20823         * math/libm-test.inc (scalbln_test_date):
20824         Add errno expectations.
20825         * math/w_scalblnf.c: New File.
20826         Add wrapper which checks for setting errno to ERANGE.
20827         Add weak_alias for corresponding scalbln function.
20828         * math/w_scalbln.c: Likewise.
20829         * math/w_scalblnl.c: Likewise.
20830         * math/Makefile (libm-calls): Add w_scalbln.
20831         * sysdeps/ieee754/flt-32/s_scalblnf.c:
20832         Remove weak_alias for corresponding scalbln function.
20833         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20834         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20835         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20836         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20837         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20838         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20839         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
20840         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20841         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
20842         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
20843         Remove long_double_symbol for scalblnl function in libm, libc.
20844         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
20845         Add wrapper which checks for setting errno to ERANGE.
20846         Add long_double_symbol for scalblnl function in libm, libc.
20847         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
20848         Remove long_double_symbol for scalblnl in libm.
20849         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
20850         Add wrapper which checks for setting errno to ERANGE.
20851         Add long_double_symbol for scalblnl function in libm.
20852         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
20853         Do not use wrapper because of own implementation.
20855 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
20857         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
20858         3 bytes for __pad1 for x32.
20859         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
20861 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
20862             H.J. Lu  <hongjiu.lu@intel.com>
20864         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
20865         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
20866         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20867         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20868         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20870 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
20872         [BZ #17069]
20873         * posix/regcomp.c (parse_expression): Deallocate partially
20874         constructed tree before returning error.
20875         * posix/Makefile.c (tests): Add bug-regex36.
20876         (generated): Add bug-regex36.mtrace.
20877         (tests-special): Add $(objpfx)bug-regex36-mem.out
20878         (bug-regex36-ENV): New variable.
20879         ($(objpfx)bug-regex36-mem.out): New rule.
20880         * posix/bug-regex36.c: New file.
20882 2014-06-19  Will Newton  <will.newton@linaro.org>
20884         * malloc/malloc.c (systrim): If extra is zero then return
20885         early.
20887 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20889         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
20891 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
20893         * sysdeps/aarch64/strchr.S: New file.
20895 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20897         [BZ #17022]
20898         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
20899         from arguments -2 or below.
20900         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20901         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20903 2014-06-18  Andreas Schwab  <schwab@suse.de>
20905         [BZ #17062]
20906         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
20907         of a bracket expr not to run off the end of the string.
20908         * posix/Makefile (tests): Add tst-fnmatch3.
20909         * posix/tst-fnmatch3.c: New file.
20911 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20913         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20914         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20915         [$(cross-compiling) = no]: Likewise.
20916         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20917         [$(cross-compiling) = no]: Likewise.
20919 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20921         [BZ #17031]
20922         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
20923         double, adjusted for any remainder from the high double.
20924         * math/libm-test.inc (nearbyint): Add tests.
20925         (rint): Likewise.
20927 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20929         * nptl/sysdeps/powerpc/Makefile: Moved ...
20930         * sysdeps/powerpc/nptl/Makefile: ... here.
20931         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
20932         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
20933         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
20934         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
20935         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
20936         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
20937         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
20938         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
20939         * nptl/sysdeps/powerpc/tls.h: Moved ...
20940         * sysdeps/powerpc/nptl/tls.h: ... here.
20942 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
20944         [BZ #16681]
20945         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20946         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20947         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20948         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20949         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20950         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20951         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20952         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20953         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20955 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
20957         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20959 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
20961         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20962         defined operator.
20964         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20965         $TIMEOUTFACTOR.
20967 2014-06-16  Florian Weimer  <fweimer@redhat.com>
20969         [BZ #17058]
20970         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20971         non-executed part of the test.
20973 2014-06-16  Andreas Schwab  <schwab@suse.de>
20975         * string/bits/string2.h (strdup, strndup): Update feature guard.
20977 2014-06-14  David S. Miller  <davem@davemloft.net>
20979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20981 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
20983         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20984         that was previously under [RESET_PID].
20985         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20987         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20988         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20989         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20990         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20991         (__libc_vfork): New strong alias.
20992         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20994 2014-06-14 Andi Kleen  <ak@linux.intel.com>
20996         * sysdeps/generic/elide.h: New file.
20998 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21000         * Makefile (installed-headers): Adjust path of pthread.h header.
21002 2014-06-13  Roland McGrath  <roland@hack.frob.com>
21004         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
21005         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
21006         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
21007         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
21009         * nptl/sysdeps/s390/Makefile: Moved ...
21010         * sysdeps/s390/nptl/Makefile: ... here.
21011         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
21012         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
21013         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
21014         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
21015         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
21016         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
21017         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
21018         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
21019         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
21020         * sysdeps/s390/nptl/pthreaddef.h: ... here.
21021         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
21022         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
21023         * nptl/sysdeps/s390/tls.h: Moved ...
21024         * sysdeps/s390/nptl/tls.h: ... here.
21026         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
21027         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
21029 2014-06-13  David S. Miller  <davem@davemloft.net>
21031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
21032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
21033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
21034         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
21035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
21036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
21037         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
21038         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
21039         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
21040         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
21041         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
21042         Remove RESET_PID cpp guards.
21043         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
21044         Remove RESET_PID cpp guards.
21045         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
21047 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
21049         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
21050         __sp to uintptr_t.
21052 2014-06-13  Andi Kleen  <ak@linux.intel.com>
21054         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
21055         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
21056         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
21057         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
21058         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
21059         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
21060         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
21061         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
21062         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
21063         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
21064         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
21065         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
21066         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
21067         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
21068         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
21069         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
21070         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
21071         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
21072         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
21073         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
21075         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
21076         (pthread_rwlock_rdlock): Add elision.
21077         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
21078         (pthread_rwlock_wrlock): Add elision.
21079         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
21080         (pthread_rwlock_trywrlock): Add elision.
21081         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
21082         (pthread_rwlock_tryrdlock): Add elision.
21083         * nptl/pthread_rwlock_unlock.c: Include elide.h.
21084         (pthread_rwlock_tryrdlock): Add elision unlock.
21085         * nptl/sysdeps/pthread/pthread.h:
21086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
21087         (PTHREAD_RWLOCK_INITIALIZER,
21088         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
21089         Handle new elision field.
21090         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
21091         * sysdeps/arm/nptl/bits/pthreadtypes.h
21092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21093         * sysdeps/sh/nptl/bits/pthreadtypes.h
21094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21095         * sysdeps/tile/nptl/bits/pthreadtypes.h
21096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21097         * sysdeps/a/nptl/bits/pthreadtypes.h
21098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21099         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21101         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21103         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
21104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21105         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21106         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21107         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21108         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21109         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21110         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21111         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21113         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
21114         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21115         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
21116         (elision_init): Set try_xbegin to zero when no RTM.
21117         * sysdeps/x86/nptl/bits/pthreadtypes.h
21118         (pthread_rwlock_t): Change __pad1 to __rwelision.
21119         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
21121 2014-06-13  Andi Kleen  <ak@linux.intel.com>
21123         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
21124         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
21125         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
21126         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
21128 2014-06-13  Meador Inge  <meadori@codesourcery.com>
21130         [BZ #16996]
21131         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
21132         that the cached result has been set before returning it.
21134 2014-06-12  Roland McGrath  <roland@hack.frob.com>
21136         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
21137         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
21138         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
21139         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
21140         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
21141         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
21143         * nptl/sysdeps/sparc/Makefile: Moved ...
21144         * sysdeps/sparc/nptl/Makefile: ... here.
21145         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
21146         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
21147         * nptl/sysdeps/sparc/tls.h: Moved ...
21148         * sysdeps/sparc/nptl/tls.h: ... here.
21149         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
21150         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
21151         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
21152         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
21153         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
21154         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
21155         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
21156         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
21157         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
21158         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
21159         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
21160         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
21161         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
21162         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
21163         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
21164         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
21165         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
21166         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
21167         Update #include.
21168         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
21169         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
21170         Update #include.
21171         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
21172         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
21173         Update #include.
21174         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
21175         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
21176         Update #include.
21178         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
21180         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
21181         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
21183         * sysdeps/pthread/posix-timer.h: Include <list.h>.
21184         (struct list_links): Type removed.
21185         (struct thread_node, struct timer_node): Replace struct list_links
21186         with struct list_head.
21187         (list_unlink_ip): Likewise.
21188         * sysdeps/pthread/timer_routines.c
21189         (timer_free_list, thread_free_list, thread_active_list): Likewise.
21190         (list_append, list_insbefore): Likewise.
21191         (list_init): Function removed.
21192         (thread_init, init_module): Use INIT_LIST_HEAD instead.
21193         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
21194         * sysdeps/pthread/Makefile: ... here, new file.
21196         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
21197         * sysdeps/nptl/Implies: ... here.
21198         * sysdeps/unix/sysv/linux/Implies: Add nptl.
21199         * nptl/sysdeps/pthread/list.h: Moved ...
21200         * include/list.h: ... here.
21201         * nptl/sysdeps/pthread/createthread.c: Moved ...
21202         * nptl/createthread.c: ... here.
21203         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
21204         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
21205         * nptl/pt-longjmp.c: ... here.
21206         * nptl/sysdeps/pthread/Makefile: Moved ...
21207         * sysdeps/nptl/Makefile: ... here.
21208         * nptl/sysdeps/pthread/Subdirs: Moved ...
21209         * sysdeps/nptl/Subdirs: ... here.
21210         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
21211         * sysdeps/nptl/aio_misc.h: ... here.
21212         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
21213         * sysdeps/nptl/bits/libc-lock.h: ... here.
21214         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
21215         * sysdeps/nptl/bits/libc-lockP.h: ... here.
21216         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
21217         * sysdeps/nptl/bits/stdio-lock.h: ... here.
21218         * nptl/sysdeps/pthread/configure: Moved ...
21219         * sysdeps/nptl/configure: ... here.
21220         * nptl/sysdeps/pthread/configure.ac: Moved ...
21221         * sysdeps/nptl/configure.ac: ... here.
21222         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
21223         * sysdeps/nptl/gai_misc.h: ... here.
21224         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
21225         * sysdeps/nptl/librt-cancellation.c: ... here.
21226         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
21227         * sysdeps/nptl/malloc-machine.h: ... here.
21228         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
21229         * sysdeps/nptl/pthread-functions.h: ... here.
21230         * nptl/sysdeps/pthread/pthread.h: Moved ...
21231         * sysdeps/nptl/pthread.h: ... here.
21232         * nptl/sysdeps/pthread/setxid.h: Moved ...
21233         * sysdeps/nptl/setxid.h: ... here.
21234         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
21235         * sysdeps/nptl/sigfillset.c: ... here.
21236         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
21237         * sysdeps/nptl/tcb-offsets.h: ... here.
21238         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
21239         * sysdeps/nptl/tst-mqueue8x.c: ... here.
21240         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
21241         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
21242         * nptl/sysdeps/pthread/allocalim.h: Moved ...
21243         * sysdeps/pthread/allocalim.h: ... here.
21244         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
21245         * sysdeps/pthread/bits/sigthread.h: ... here.
21246         * nptl/sysdeps/pthread/flockfile.c: Moved ...
21247         * sysdeps/pthread/flockfile.c: ... here.
21248         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
21249         * sysdeps/pthread/ftrylockfile.c: ... here.
21250         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
21251         * sysdeps/pthread/funlockfile.c: ... here.
21252         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
21253         * sysdeps/pthread/posix-timer.h: ... here.
21254         * nptl/sysdeps/pthread/timer_create.c: Moved ...
21255         * sysdeps/pthread/timer_create.c: ... here.
21256         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
21257         * sysdeps/pthread/timer_delete.c: ... here.
21258         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
21259         * sysdeps/pthread/timer_getoverr.c: ... here.
21260         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
21261         * sysdeps/pthread/timer_gettime.c: ... here.
21262         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
21263         * sysdeps/pthread/timer_routines.c: ... here.
21264         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
21265         * sysdeps/pthread/timer_settime.c: ... here.
21266         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
21267         * sysdeps/pthread/tst-timer.c: ... here.
21268         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
21269         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
21271         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
21272         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
21274         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
21275         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
21276         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
21277         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
21278         Update #include target.
21279         * nptl/sysdeps/i386/i686/Makefile: Moved ...
21280         * sysdeps/i386/i686/nptl/Makefile: ... here.
21281         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
21282         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
21283         Update #include target.
21284         * nptl/sysdeps/i386/i686/tls.h: Moved ...
21285         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
21286         * nptl/sysdeps/i386/Makefile: Moved ...
21287         * sysdeps/i386/nptl/Makefile: ... here.
21288         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
21289         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
21290         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
21291         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
21292         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
21293         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
21294         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
21295         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
21296         * sysdeps/i386/nptl/pthreaddef.h: ... here.
21297         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
21298         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
21299         * nptl/sysdeps/i386/tls.h: Moved ...
21300         * sysdeps/i386/nptl/tls.h: ... here.
21302         * sysdeps/sh/Makefile [$(subdir) = csu]
21303         (gen-as-const-headers): Add tcb-offsets.sym.
21304         * nptl/sysdeps/sh/Makefile: File removed.
21305         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
21306         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
21307         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
21308         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
21309         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
21310         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
21311         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
21312         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
21313         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
21314         * sysdeps/sh/nptl/pthreaddef.h: ... here.
21315         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
21316         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
21317         * nptl/sysdeps/sh/tls.h: Moved ...
21318         * sysdeps/sh/nptl/tls.h: ... here.
21319         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
21320         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
21321         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
21322         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
21323         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
21324         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
21325         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
21326         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
21327         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
21328         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
21329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
21330         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
21331         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
21332         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
21333         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
21334         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
21335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
21336         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
21337         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
21338         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
21339         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
21340         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
21341         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
21342         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
21343         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
21344         Moved ...
21345         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
21346         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
21347         Moved ...
21348         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
21349         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
21350         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
21351         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
21352         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
21353         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
21354         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
21355         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
21356         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
21357         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
21358         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
21359         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
21360         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
21361         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
21362         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
21363         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
21364         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
21365         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
21366         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
21368 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21370         * posix/spawn_faction_addopen.c: Include string.h.
21372 2014-06-11  Roland McGrath  <roland@hack.frob.com>
21374         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
21375         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
21376         * nptl/sysdeps/x86_64/Makefile: Moved ...
21377         * sysdeps/x86_64/nptl/Makefile: ... here.
21378         * nptl/sysdeps/x86_64/configure: Moved ...
21379         * sysdeps/x86_64/nptl/configure: ... here.
21380         * nptl/sysdeps/x86_64/configure.ac: Moved ...
21381         * sysdeps/x86_64/nptl/configure.ac: ... here.
21382         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
21383         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
21384         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
21385         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
21386         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
21387         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
21388         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
21389         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
21390         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
21391         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
21392         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
21393         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
21394         * nptl/sysdeps/x86_64/tls.h: Moved ...
21395         * sysdeps/x86_64/nptl/tls.h: ... here.
21396         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
21397         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
21398         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
21399         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
21401         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
21403 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21407 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
21409         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
21410         type.
21411         [POSIX] (off_t): Likewise.
21412         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
21413         [POSIX] (S_ISBLK): Require macro.
21414         [POSIX] (S_ISCHR): Likewise.
21415         [POSIX] (S_ISDIR): Likewise.
21416         [POSIX] (S_ISFIFO): Likewise.
21417         [POSIX] (S_ISREG): Likewise.
21418         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
21419         optional-macro.
21420         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
21421         type.
21422         [POSIX] (time_t): Likewise.
21423         [POSIX] (timer_t): Likewise.
21425 2014-06-11  Florian Weimer  <fweimer@redhat.com>
21427         [BZ #17048]
21428         * posix/spawn_int.h (struct __spawn_action): Make the path string
21429         non-const to support deallocation.
21430         * posix/spawn_faction_addopen.c
21431         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
21432         * posix/spawn_faction_destroy.c
21433         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
21434         path in all spawn_do_open actions.
21435         * posix/tst-spawn.c (do_test): Exercise the copy operation in
21436         posix_spawn_file_actions_addopen.
21438 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
21440         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
21441         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
21442         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
21443         conditional code always true.
21444         (__libc_vfork): New alias.
21446 2014-06-11  Roland McGrath  <roland@hack.frob.com>
21448         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21449         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
21451         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
21453         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21454         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
21456         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
21457         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
21459         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21460         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
21462 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21464         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
21465         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
21466         multiarch strcmp for PPC64.
21467         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
21468         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
21469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
21470         multiarch optimizations.
21471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21472         (__libc_ifunc_impl_list): Likewise.
21474 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21476         * benchtests/scripts/validate_benchout.py: New script.
21477         * benchtests/Makefile (bench-func): Call it.
21478         * benchtests/scripts/benchout.schema.json: New file.
21480 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
21482         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
21483         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
21484         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
21485         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
21486         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
21487         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21488         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
21489         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
21490         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
21491         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
21492         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
21493         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
21494         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
21495         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
21496         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
21497         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
21498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
21499         Moved ...
21500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
21501         ... here.
21502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
21503         Moved ...
21504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
21505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
21506         Moved ...
21507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
21508         ... here.
21509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
21510         Moved ...
21511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
21512         ... here.
21513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
21514         Moved ...
21515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
21516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
21517         Moved ...
21518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
21519         ... here.
21520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
21521         Moved ...
21522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
21523         ... here.
21524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
21525         Moved ...
21526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
21527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
21528         Moved ...
21529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
21530         ... here.
21531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
21532         Moved ...
21533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
21534         ... here.
21535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
21536         Moved ...
21537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
21538         ... here.
21539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
21540         Moved ...
21541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
21542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
21543         Moved ...
21544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
21545         ... here.
21546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
21547         Moved ...
21548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
21549         ... here.
21550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
21551         Moved ...
21552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
21553         ... here.
21554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
21555         Moved ...
21556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
21557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
21558         Moved ...
21559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
21560         ... here.
21561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
21562         Moved ...
21563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
21564         ... here.
21565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
21566         Moved ...
21567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
21568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
21569         Moved ...
21570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
21571         ... here.
21572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
21573         Moved ...
21574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
21575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
21576         Moved ...
21577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
21578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
21579         Moved ...
21580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
21581         ... here.
21582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
21583         Moved ...
21584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
21585         ... here.
21586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
21587         Moved ...
21588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
21589         ... here.
21590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
21591         Moved ...
21592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
21593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
21594         Moved ...
21595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
21596         ... here.
21597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
21598         Moved ...
21599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
21600         ... here.
21601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
21602         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
21603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
21604         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
21605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
21606         Moved ...
21607         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21608         ... here.
21609         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
21610         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
21611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
21612         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
21613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
21614         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
21615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
21616         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
21617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
21618         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
21619         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
21620         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
21621         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
21622         Moved ...
21623         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
21624         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
21625         Moved ...
21626         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
21627         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
21628         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
21629         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
21630         Moved ...
21631         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
21632         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
21633         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
21634         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
21635         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
21636         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
21637         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
21639 2014-06-10  Wilco  <wdijkstr@arm.com>
21641         * math/test-fenv-return.c: New file.
21642         * math/Makefile: Add new test test-fenv-return.
21644 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
21646         [BZ #17042]
21647         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
21648         when x - 1 is zero.
21649         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
21650         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
21651         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
21652         0.0L for an argument of 1.0L.
21653         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21654         Likewise.
21655         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
21656         value when x - 1 is zero.
21657         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
21658         * sysdeps/i386/fpu/libm-test-ulps: Update.
21659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21661 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
21663         [BZ #15119]
21664         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
21666 2014-06-09  Roland McGrath  <roland@hack.frob.com>
21668         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
21669         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
21671 2014-06-09  Roland McGrath  <roland@hack.frob.com>
21673         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21674         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
21676         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21677         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
21679         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21680         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
21682         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21683         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
21685         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
21686         if not already defined.
21687         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
21688         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
21689         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
21690         (TLS_INIT_TP): Use it.
21691         (TLS_DEFINE_INIT_TP): New macro.
21692         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
21694 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
21696         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
21697         constant.
21698         [POSIX] (IXANY): Likewise.
21699         [POSIX] (OLCUC): Likewise.
21700         [POSIX || POSIX2008] (CBAUD): Do not allow.
21701         [POSIX || POSIX2008] (DEFECHO): Likewise.
21702         [POSIX || POSIX2008] (ECHOCTL): Likewise.
21703         [POSIX || POSIX2008] (ECHOKE): Likewise.
21704         [POSIX || POSIX2008] (ECHOPRT): Likewise.
21705         [POSIX || POSIX2008] (EXTA): Likewise.
21706         [POSIX || POSIX2008] (EXTB): Likewise.
21707         [POSIX || POSIX2008] (FLUSHO): Likewise.
21708         [POSIX || POSIX2008] (LOBLK): Likewise.
21709         [POSIX || POSIX2008] (PENDIN): Likewise.
21710         [POSIX || POSIX2008] (SWTCH): Likewise.
21711         [POSIX || POSIX2008] (VDISCARD): Likewise.
21712         [POSIX || POSIX2008] (VDSUSP): Likewise.
21713         [POSIX || POSIX2008] (VLNEXT): Likewise.
21714         [POSIX || POSIX2008] (VREPRINT): Likewise.
21715         [POSIX || POSIX2008] (VSTATUS): Likewise.
21716         [POSIX || POSIX2008] (VWERASE): Likewise.
21717         (B*): Change to B[0123456789]*.
21718         * conform/data/time.h-data [POSIX || UNIX98]
21719         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
21720         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21721         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
21722         [POSIX] (tm_*): Do not allow.
21724 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
21726         * Makefile (install): Don't set LANGUAGE.
21727         * Makefile.in (install): Likewise.
21728         * assert/Makefile (test-assert-ENV): Remove variable.
21729         (test-assert-perr-ENV): Likewise.
21730         * elf/Makefile (neededtest4-ENV): Likewise.
21731         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21732         [$(cross-compiling) = no]: Don't set LANGUAGE.
21733         * io/ftwtest-sh (LANG): Remove variable.
21734         * libio/Makefile (tst-widetext-ENV): Likewise.
21735         * manual/install.texi (Running make install): Don't refer to
21736         environment settings for make install.
21737         * INSTALL: Regenerated.
21738         * nptl/tst-tls6.sh: Don't set LANG.
21739         * posix/globtest.sh (LANG): Remove variable.
21740         * string/Makefile (tester-ENV): Likewise.
21741         (inl-tester-ENV): Likewise.
21742         (noinl-tester-ENV): Likewise.
21743         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21744         [$(cross-compiling) = no]: Don't set LANGUAGE.
21745         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
21746         without explicit environment settings.
21748 2014-06-06  Roland McGrath  <roland@hack.frob.com>
21750         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
21751         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
21752         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
21753         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
21755 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
21757         * crypt/crypt-private.h [DOS]: Add some includes taken from the
21758         other files in the crypt directory.
21759         * crypt/crypt.c: Remove duplicate includes.
21760         * crypt/crypt-entry.c: Likewise.
21761         * crypt/crypt_util.c: Likewise.
21763 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
21765         * Makeconfig (run-program-env): New variable.
21766         (run-program-prefix-before-env): Likewise.
21767         (run-program-prefix-after-env): Likewise.
21768         (run-program-prefix): Define in terms of new variables.
21769         (built-program-cmd-before-env): New variable.
21770         (built-program-cmd-after-env): Likewise.
21771         (built-program-cmd): Define in terms of new variables.
21772         (test-program-prefix-before-env): New variable.
21773         (test-program-prefix-after-env): Likewise.
21774         (test-program-prefix): Define in terms of new variables.
21775         (test-program-cmd-before-env): New variable.
21776         (test-program-cmd-after-env): Likewise.
21777         (test-program-cmd): Define in terms of new variables.
21778         * Rules (make-test-out): Use $(run-program-env).
21779         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
21780         (help): Do not mention environment variables.  Mention
21781         --timeoutfactor option.
21782         (timeoutfactor): New variable.
21783         (blacklist_exports): Remove function.
21784         (exports): Remove variable.
21785         (command): Do not include ${exports}.
21786         * manual/install.texi (Configuring and compiling): Do not mention
21787         test wrappers preserving environment variables.  Mention that last
21788         assignment to a variable must take precedence.
21789         * INSTALL: Regenerated.
21790         * benchtests/Makefile (run-bench): Use $(run-program-env).
21791         * catgets/Makefile ($(objpfx)test1.cat): Use
21792         $(built-program-cmd-before-env), $(run-program-env) and
21793         $(built-program-cmd-after-env).
21794         ($(objpfx)test2.cat): Do not specify environment variables
21795         explicitly.
21796         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
21797         $(run-program-env) and $(built-program-cmd-after-env).
21798         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
21799         $(run-program-env) and $(test-program-cmd-after-env).
21800         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
21801         explicitly.
21802         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
21803         run_program_env and test_program_cmd_after_env arguments.
21804         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
21805         * elf/tst-pathopt.sh: Use run_program_env argument.
21806         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
21807         $(test-wrapper-env) and $(run-program-env).
21808         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
21809         run_program_env arguments.
21810         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
21811         * intl/Makefile ($(objpfx)tst-gettext.out): Use
21812         $(test-program-prefix-before-env), $(run-program-env) and
21813         $(test-program-prefix-after-env).
21814         ($(objpfx)tst-gettext2.out): Likewise.
21815         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
21816         run_program_env and test_program_prefix_after_env arguments.
21817         * intl/tst-gettext2.sh: Likewise.
21818         * intl/tst-gettext4.sh: Do not set environment variables
21819         explicitly.
21820         * intl/tst-gettext6.sh: Likewise.
21821         * intl/tst-translit.sh: Likewise.
21822         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
21823         $(test-program-prefix-before-env), $(run-program-env) and
21824         $(test-program-prefix-after-env).
21825         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
21826         run_program_env and test_program_prefix_after_env arguments.
21827         * math/Makefile (run-regen-ulps): Use $(run-program-env).
21828         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
21829         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
21830         explicitly with each use of ${test_wrapper_env}.
21831         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
21832         $(test-program-prefix-before-env), $(run-program-env) and
21833         $(test-program-prefix-after-env).
21834         * posix/tst-getconf.sh: Do not set environment variables
21835         explicitly.
21836         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
21837         run_program_env and test_program_prefix_after_env arguments.
21838         * stdio-common/tst-printf.sh: Do not set environment variables
21839         explicitly.
21840         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
21841         $(test-program-prefix-before-env), $(run-program-env) and
21842         $(test-program-prefix-after-env).
21843         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
21844         run_program_env and test_program_prefix_after_env arguments.
21845         Split $test calls into $test_pre and $test.
21846         * timezone/Makefile (build-testdata): Use
21847         $(built-program-cmd-before-env), $(run-program-env) and
21848         $(built-program-cmd-after-env).
21850 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21852         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
21853         strlen for non SHARED builds.
21855 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21857         * nptl/allocatestack.c (check_list): Inlined function...
21858         (__reclaim_stacks): ... here.
21860 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21862         [BZ #15698]
21863         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21864         memory overrun.
21866 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
21868         * Rules (make-test-out): Include
21869         LOCPATH=$(common-objpfx)localedata in default environment.
21870         * debug/Makefile (tst-chk1-ENV): Remove variable.
21871         (tst-chk2-ENV): Likewise.
21872         (tst-chk3-ENV): Likewise.
21873         (tst-chk4-ENV): Likewise.
21874         (tst-chk5-ENV): Likewise.
21875         (tst-chk6-ENV): Likewise.
21876         (tst-lfschk1-ENV): Likewise.
21877         (tst-lfschk2-ENV): Likewise.
21878         (tst-lfschk3-ENV): Likewise.
21879         (tst-lfschk4-ENV): Likewise.
21880         (tst-lfschk5-ENV): Likewise.
21881         (tst-lfschk6-ENV): Likewise.
21882         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
21883         (tst-iconv7-ENV): Likewise.
21884         * intl/Makefile (LOCPATH-ENV): Likewise.
21885         (tst-codeset-ENV): Likewise.
21886         (tst-gettext3-ENV): Likewise.
21887         (tst-gettext5-ENV): Likewise.
21888         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
21889         (tst-fopenloc-ENV): Likewise.
21890         (tst-fgetws-ENV): Remove variable.
21891         (tst-ungetwc1-ENV): Likewise.
21892         (tst-ungetwc2-ENV): Likewise.
21893         (bug-ungetwc2-ENV): Likewise.
21894         (tst-swscanf-ENV): Likewise.
21895         (bug-ftell-ENV): Likewise.
21896         (tst-fgetwc-ENV): Likewise.
21897         (tst-fseek-ENV): Likewise.
21898         (tst-ftell-partial-wide-ENV): Likewise.
21899         (tst-ftell-active-handler-ENV): Likewise.
21900         (tst-ftell-append-ENV): Likewise.
21901         * posix/Makefile (tst-fnmatch-ENV): Likewise.
21902         (tst-regexloc-ENV): Likewise.
21903         (bug-regex1-ENV): Likewise.
21904         (tst-regex-ENV): Likewise.
21905         (tst-regex2-ENV): Likewise.
21906         (bug-regex5-ENV): Likewise.
21907         (bug-regex6-ENV): Likewise.
21908         (bug-regex17-ENV): Likewise.
21909         (bug-regex18-ENV): Likewise.
21910         (bug-regex19-ENV): Likewise.
21911         (bug-regex20-ENV): Likewise.
21912         (bug-regex22-ENV): Likewise.
21913         (bug-regex23-ENV): Likewise.
21914         (bug-regex25-ENV): Likewise.
21915         (bug-regex26-ENV): Likewise.
21916         (bug-regex30-ENV): Likewise.
21917         (bug-regex32-ENV): Likewise.
21918         (bug-regex33-ENV): Likewise.
21919         (bug-regex34-ENV): Likewise.
21920         (bug-regex35-ENV): Likewise.
21921         (tst-rxspencer-ENV): Likewise.
21922         (tst-rxspencer-no-utf8-ENV): Likewise.
21923         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
21924         (tst-sscanf-ENV): Likewise.
21925         (tst-swprintf-ENV): Likewise.
21926         (tst-swscanf-ENV): Likewise.
21927         (test-vfprintf-ENV): Likewise.
21928         (scanf13-ENV): Likewise.
21929         (bug14-ENV): Likewise.
21930         (tst-grouping-ENV): Likewise.
21931         * stdlib/Makefile (tst-strtod-ENV): Likewise.
21932         (tst-strtod3-ENV): Likewise.
21933         (tst-strtod4-ENV): Likewise.
21934         (tst-strtod5-ENV): Likewise.
21935         (testmb2-ENV): Likewise./
21936         * string/Makefile (tst-strxfrm-ENV): Likewise.
21937         (tst-strxfrm2-ENV): Likewise.
21938         (bug-strcoll1-ENV): Likewise.
21939         (test-strcasecmp-ENV): Likewise.
21940         (test-strncasecmp-ENV): Likewise.
21941         * time/Makefile (tst-strptime-ENV): Likewise.
21942         (tst-ftime_l-ENV): Likewise.
21943         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
21944         (tst-mbrtowc-ENV): Likewise.
21945         (tst-wcrtomb-ENV): Likewise.
21946         (tst-mbrtowc2-ENV): Likewise.
21947         (tst-c16c32-1-ENV): Likewise.
21948         (tst-mbsnrtowcs-ENV): Likewise.
21950 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21952         * manual/resource.texi (How to get information about the memory
21953         subsystem?): Fix typo.
21954         Reported by Peon de la Parra Ivan <peon@keba.com>
21956 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
21958         [BZ #16882]
21959         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21960         (pthread_spin_lock): Branch out of spin loop to proper location.
21961         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21962         (pthread_spin_lock): Likewise.
21964         * nptl/tst-spin4.c: New test.
21965         * nptl/Makefile (tests): Add tst-spin4.
21967 2014-06-03  Andreas Schwab  <schwab@suse.de>
21969         [BZ #15946]
21970         * resolv/res_send.c (send_dg): Reload file descriptor after
21971         calling reopen.
21973 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
21975         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21977 2014-06-03  Richard Henderson  <rth@redhat.com>
21979         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21980         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21981         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21982         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
21983         in the SAVE_PID block.
21984         (__libc_vfork): New alias.
21985         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21987         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21988         child in registers, not on the stack.  Remove RESET_PID conditionals.
21989         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21991 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21993         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21995 2014-06-03  Wilco  <wdijkstr@arm.com>
21997         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21998         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21999         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
22000         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
22001         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
22002         Likewise.
22004 2014-06-03  Wilco  <wdijkstr@arm.com>
22006         * sysdeps/aarch64/fpu/math_private.h
22007         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
22008         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
22009         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
22010         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
22011         Fix declarations.
22013 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22015         * crypt/crypt-private.h: Include ufc-crypt.h.
22016         (__b64_from_24bit): Declare extern.
22017         * crypt/crypt_util.c(__b64_from_24bit): New function.
22018         (b64t): New static const variable.
22019         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
22020         (b64t): Remove variable.
22021         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
22022         * crypt/sha256-crypt.c: Include crypt-private.h.
22023         (b64t): Remove variable.
22024         (__sha256_crypt_r): Remove b64_from_24bit and replace
22025         with __b64_from_24bit.
22026         * crypt/sha512-crypt.c: Likewise.
22028 2014-06-02  Roland McGrath  <roland@hack.frob.com>
22030         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
22031         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
22032         Label the code __libc_vfork rather than __vfork.
22033         [!NOT_IN_libc] (vfork): Define as weak alias.
22034         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
22035         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
22036         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
22038 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22040         * malloc/malloc.c (malloc_info): Fix format specifier for
22041         n_mmaps.
22043 2014-06-02  Wilco  <wdijkstr@arm.com>
22045         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
22046         FPCR write.
22048 2014-06-02  Wilco  <wdijkstr@arm.com>
22050         [BZ #17009]
22051         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
22052         Rewrite to reduce FPCR/FPSR accesses.
22054 2014-06-01  David S. Miller  <davem@davemloft.net>
22056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22058 2014-05-31  David S. Miller  <davem@davemloft.net>
22060         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
22061         to occur in round to nearest mode when |x| >= 2.0
22063 2014-05-30  Richard Henderson  <rth@twiddle.net>
22065         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
22066         (PSEUDO_RET_NOERRNO): Remove.
22067         (ret): Don't redefine.
22068         (ret_NOERRNO): Define in terms of ret.
22069         (ret_ERRVAL): Likewise.
22071         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
22072         use of PSEUDO_RET; perform the error check directly.
22074 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
22076         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
22077         with __int128_t.
22079 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22081         * malloc/malloc (malloc_info): Fix formatting.
22083 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22084             Roland McGrath  <roland@hack.frob.com>
22086         * malloc/malloc (malloc_info): Also print mmapped statistics.
22088 2014-05-30  Roland McGrath  <roland@hack.frob.com>
22090         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
22091         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
22093 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
22095         * malloc/malloc.c (malloc_info): Inline mi_arena.
22097 2014-05-29  Richard Henderson  <rth@twiddle.net>
22099         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
22100         Remove comma before expanding ASM_ARGS_##nr.
22101         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
22102         Make _x0 a strict output; make _x8 a strict input; adjust expansion
22103         of ASM_ARGS_##nr.
22104         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
22105         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
22106         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
22107         (ASM_ARGS_1): Add leading comma.
22109         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
22110         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
22111         to __errno_location.
22112         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
22113         Remove the expected plt for __errno_location.
22115         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
22116         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
22117         call to __read_tp.
22119         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
22120         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
22121         it and break it down.
22122         (DOCARGS_0, DOCARGS_1): Do nothing.
22123         (DOCARGS_2): Update to store into the new stack frame.
22124         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
22125         (UNDOCARGS_1): Update to restore from the new stack frame.
22126         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
22127         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
22129         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
22130         (SINGLE_THREAD_P): New parameter for result regno.
22131         (PSEUDO): Update to match; use cbz instead of beq.
22133         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
22134         Use ENTRY to define the _nocancel entry point.  Share the syscall
22135         and syscall error check paths with the cancel path.
22136         (PSEUDO_END): New.
22138         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
22139         whitespace; tabs before and after asm mnemonics.
22141 2014-05-29  Eric Wong  <normalperson@yhbt.net>
22143         [BZ #15132]
22144         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22145         Call fstat64 or stat64 internally, depending on arguments passed.
22146         Replace stat buffer argument with file descriptor argument.
22147         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
22148         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
22149         Pass fd to __internal_statvfs instead of calling fstat64.
22150         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
22151         Pass fd to __internal_statvfs64 instead of calling fstat64.
22152         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
22153         Pass -1 to __internal_statvfs instead of calling stat64.
22154         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
22155         Pass -1 to __internal_statvfs64 instead of calling stat64.
22157 2014-05-28  Roland McGrath  <roland@hack.frob.com>
22159         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
22160         that was previously under [RESET_PID].
22161         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
22163         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
22164         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
22166 2014-05-27  Roland McGrath  <roland@hack.frob.com>
22168         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
22170         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
22171         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
22173 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
22175         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
22177 2014-05-27  Andreas Schwab  <schwab@suse.de>
22179         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
22180         TLS_INIT_TP macro.
22181         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
22182         * elf/rtld.c (init_tls, dl_main): Likewise.
22183         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
22184         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
22185         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
22186         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
22187         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
22188         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
22189         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
22190         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
22191         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
22192         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
22193         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
22194         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
22195         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
22196         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
22197         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
22198         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
22199         * sysdeps/generic/tls.h: Update description.
22201 2014-05-27  Will Newton  <will.newton@linaro.org>
22203         [BZ #16990]
22204         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
22205         and restore r2 rather than just restoring.
22207 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22209         [BZ #16724]
22210         * libio/tst-ftell-append.c: New test case.
22211         * libio/Makefile (tests): Add test case.
22212         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
22213         append mode.
22214         * libio/wfileops.c (do_ftell_wide): Likewise.
22216 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22220         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
22221         ...
22222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
22223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22224         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
22225         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
22226         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
22227         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
22228         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
22229         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
22230         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22231         Moved ...
22232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
22233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22234         Moved ...
22235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
22236         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
22237         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
22238         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
22239         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
22240         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
22241         ...
22242         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
22243         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
22244         Moved ...
22245         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
22246         here.
22247         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
22248         ...
22249         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
22250         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
22251         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
22253         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
22254         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
22255         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
22256         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
22258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
22259         merge into ...
22260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
22261         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
22262         ...
22263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
22264         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
22265         ...
22266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
22267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22268         Moved ...
22269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
22270         here.
22271         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22272         Moved ...
22273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
22274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22275         Moved ...
22276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
22278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
22279         conditional [RESET_PID].
22280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
22281         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
22282         removed.
22283         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
22284         removed.
22286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
22287         <tcb-offsets.h>.
22288         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22289         (__libc_vfork): New strong alias.
22290         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
22291         removed.
22292         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
22293         Removed.
22295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
22296         <tcb-offsets.h>.
22297         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
22298         (__libc_vfork): New strong alias.
22299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
22300         removed.
22301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
22302         removed.
22304 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
22306         * malloc/malloc.c (mi_arena): New function.
22307         (malloc_info): Remove nested function mi_arena. Call non-nosted
22308         function mi_arena.
22310 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22312         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
22313         by insrwi.
22314         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
22315         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
22316         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
22317         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
22318         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
22319         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
22320         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
22322 2014-05-26  Andreas Schwab  <schwab@suse.de>
22324         [BZ #16984]
22325         * locale/programs/repertoire.c (repertoire_read): Add slash
22326         between I18NPATH element and file name.
22327         * locale/programs/locfile.c (locfile_read): Likewise.
22329 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
22331         * nptl/pthread_mutexattr_settype.c
22332         (__pthread_mutexattr_settype):
22333         Disable lock elision for PTHREAD_MUTEX_NORMAL.
22335 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
22337         * nptl/tst-mutex5 (do_test):
22338         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
22340 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22342         * benchtests/README: Document 'init' directive.
22343         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
22344         BENCH_INIT.
22345         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
22346         (parse_file): Recognize 'init' directive.
22348 2014-05-26  Kyle McMartin  <kyle@redhat.com>
22350         [BZ #16796]
22351         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
22352         alignment of struct pthread.
22354 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22356         [BZ #16878]
22357         * nscd/netgroupcache.c (addgetnetgrentX): Look for
22358         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
22359         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
22360         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
22362 2014-05-25  Richard Henderson  <rth@twiddle.net>
22364         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
22365         (SINGLE_THREAD_P_PIC): Remove.
22366         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
22367         (SINGLE_THREAD_P_PIC): Remove.
22369         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
22370         branch to syscall error ...
22371         (PSEUDO): ... here.
22372         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
22373         from __local_syscall_error to .Lsyscall_error.
22374         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
22375         (SYSCALL_ERROR): Update label name.
22377         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
22378         Do not use DOARGS/UNDOARGS.
22379         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
22380         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
22381         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
22382         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
22383         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
22385         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
22386         block comment.
22388         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
22389         define if !NOT_IN_libc.
22390         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
22391         define with non-default symbol versions.
22393 2014-05-23  Richard Henderson  <rth@twiddle.net>
22395         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
22396         (vfork, __vfork): Define via compat_symbol.
22398         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
22399         [!HAVE_IFUNC] (vfork_compat): Remove.
22400         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
22402 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
22404         [BZ #16978]
22405         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
22406         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
22407         variable.
22409 2014-05-23  Richard Henderson  <rth@twiddle.net>
22411         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
22412         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
22413         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
22414         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
22416         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
22417         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
22418         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
22419         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
22420         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
22421         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
22422         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
22423         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
22424         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
22425         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
22426         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
22427         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
22428         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
22429         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
22430         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
22431         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
22432         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
22433         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
22434         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
22435         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
22436         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
22437         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
22438         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
22439         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
22440         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
22441         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
22442         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
22443         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
22444         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
22445         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
22446         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
22447         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
22448         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
22449         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
22450         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
22451         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
22452         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
22453         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
22454         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
22455         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
22456         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
22457         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
22458         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
22459         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
22460         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
22461         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
22462         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
22463         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
22464         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
22465         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
22466         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
22467         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
22468         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
22469         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
22470         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
22471         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
22473         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
22474         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
22475         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
22476         before exiting on error.
22477         (__libc_vfork): New strong alias.
22478         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
22479         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
22481         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
22482         that was previously under [RESET_PID].
22483         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
22485         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
22487 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
22489         [BZ #16977]
22490         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
22491         value when x - 1 is zero.
22492         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
22493         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
22494         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
22495         0.0L for an argument of 1.0L.
22496         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
22497         Likewise.
22498         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
22499         value when x - 1 is zero.
22500         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
22501         * sysdeps/i386/fpu/libm-test-ulps: Update.
22502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22504 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22506         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
22507         alphasort and versionsort.
22509 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22511         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
22512         macro.
22513         [copysignf]: Likewise.
22515 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22517         * crypt/md5-crypt.c: Fix formatting.
22519 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22521         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
22522         (b64_from_24bit): New function.
22524 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22526         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
22527         libc_hidden_builtin_def to ifunc.
22528         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22529         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
22531 2014-05-21  Roland McGrath  <roland@hack.frob.com>
22533         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
22534         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
22536 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
22538         * nscd/Depend (linuxthreads): Remove.
22539         (nptl): Add.
22540         * resolv/Depend (linuxthreads): Remove.
22541         * rt/Depend (linuxthreads): Remove.
22543         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
22544         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
22545         $(common-objpfx)elf/.
22546         (link-libc-before-gnulib): Likewise.
22547         (elfobjdir): Remove variable.
22548         * Makefile (install): Use $(elf-objpfx) instead of
22549         $(common-objpfx)elf/.
22550         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
22551         $(elfobjdir)/.
22552         (link-libc-deps): Likewise.
22553         ($(common-objpfx)libc.so): Likewise.
22554         ($(common-objpfx)linkobj/libc.so): Likewise.
22555         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
22556         instead of $(common-objpfx)elf/.
22557         (symbolic-link-list): Likewise.
22558         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22559         [$(cross-compiling) = no]: Likewise.
22560         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
22561         $(elfobjdir)/.
22562         (static-gnulib-arch): Likewise.
22563         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22564         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
22565         $(common-objpfx)elf/.
22567 2014-05-21  Richard Henderson  <rth@redhat.com>
22569         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
22570         (SINGLE_THREAD_P): Use the correct width load.  Fold
22571         into the ldr offset.
22573         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
22574         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
22576 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
22578         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
22579         (libgcc_s_resume): Use __attribute_used__.
22580         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
22581         Likewise.
22583 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22585         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
22586         optimization when used with float constants.
22588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22590 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
22592         [BZ #16915]
22593         * locale/nl_langinfo_l.c: Make direct reference to every
22594         _nl_current_CATEGORY symbol.
22595         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
22596         (tests-static): Add tst-langinfo-static.
22597         (tests-special): Add tst-langinfo-static.out.
22598         ($(objpfx)tst-langinfo.out): Redirect output.
22599         ($(objpfx)tst-langinfo-static.out): New.
22600         * localedata/tst-langinfo.sh: Send output to stdout.
22601         * localedata/tst-langinfo-static.c: New file.
22603         [BZ #16965]
22604         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
22605         when the shift amount is modulo the limb size.
22607 2014-05-20  Richard Henderson  <rth@redhat.com>
22609         [BZ #16967]
22610         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
22611         Change type of sa_flags from unsigned int to int.
22613         [BZ #16966]
22614         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
22616         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
22618 2014-05-20  Will Newton  <will.newton@linaro.org>
22620         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
22621         Test the return value of the system call in the nocancel case.
22623 2014-05-20  Will Newton  <will.newton@linaro.org>
22624             Yvan Roux  <yvan.roux@linaro.org>
22626         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
22627         #include of asm/ptrace.h.
22628         (PTRACE_GET_THREAD_AREA): Remove #undef.
22629         (PTRACE_GETHBPREGS): Likewise.
22630         (PTRACE_SETHBPREGS): Likewise.
22631         (struct user_regs_struct): New structure.
22632         (struct user_fpsimd_struct): New structure.
22633         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
22634         #include of asm/ptrace.h and second #include of sys/user.h.
22635         (PTRACE_GET_THREAD_AREA): Remove #undef.
22636         (PTRACE_GETHBPREGS): Likewise.
22637         (PTRACE_SETHBPREGS): Likewise.
22638         (ELF_NGREG): Use new struct user_regs_struct.
22639         (elf_fpregset_t): Use new struct user_fpsimd_struct.
22641 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22643         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
22644         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
22646 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
22648         [BZ #16958]
22649         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
22650         membar to avoid block loads/stores to overlap previous stores.
22652 2014-05-17  Richard Henderson  <rth@redhat.com>
22654         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
22655         Create the __##syscall_name##_nocancel entry point.
22656         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
22657         Remove; let the sysdep-cancel.h code create it.
22659 2014-05-17  David S. Miller  <davem@davemloft.net>
22661         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
22662         Protect with __USE_GNU.
22663         (TIOCSET_TEMPT): Likewise.
22664         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22665         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
22666         these are already provided in bits/ioctl-types.h
22668 2014-05-16  Roland McGrath  <roland@hack.frob.com>
22670         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
22671         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
22673         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
22674         Use wait4 regardless of [__NR_waitpid].
22676 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22678         PR libgcc/60166
22679         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22680         (_FP_NANSIGN_Q): Set the quiet bit.
22682 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
22684         * benchtests/Makefile
22685         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
22686         not $(common-objpfx)math/libm.so.
22687         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
22688         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
22689         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
22690         $(common-objpfx)dlfcn/libdl.so.
22691         ($(objpfx)tst-audit8): Depend on $(libm), not
22692         $(common-objpfx)math/libm.so.
22693         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
22694         not $(common-objpfx)dlfcn/libdl.so.
22695         * math/Makefile
22696         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22697         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
22698         [$(build-shared) = yes].
22699         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
22700         $(common-objpfx)nptl/libpthread.so.
22701         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
22702         $(common-objpfx)math/libm.so$(libm.so-version) or
22703         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
22704         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
22705         $(common-objpfx)dlfcn/libdl.so.
22706         * setjmp/Makefile (link-libm): Remove variable.
22707         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
22708         * stdio-common/Makefile (link-libm): Remove variable.
22709         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
22710         * stdlib/Makefile (link-libm): Remove variable.
22711         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
22712         ($(objpfx)tst-strtod-round): Likewise.
22713         ($(objpfx)tst-tininess): Likewise.
22714         ($(objpfx)tst-strtod-underflow): Likewise.
22715         ($(objpfx)tst-strtod6): Likewise.
22716         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
22717         $(libdl), not $(common-objpfx)nptl/libpthread.so and
22718         $(common-objpfx)dlfcn/libdl.so.
22720 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22722         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
22723         BSD terminal modes definitions.
22725 2014-05-16  Roland McGrath  <roland@hack.frob.com>
22727         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
22728         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
22730         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
22731         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
22732         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
22733         Don't do #include_next.
22734         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
22735         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
22736         Don't do #include_next.
22737         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
22738         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
22739         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
22740         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
22742 2014-05-16  Allan McRae  <allan@archlinux.org>
22744         * po/sv.po: Update Swedish translation from translation project.
22746         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
22747         in sed expression.
22749 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
22751         [BZ #16917]
22752         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
22753         errno if the TIOCGPTN ioctl fails with an error different than
22754         EINVAL.
22755         * login/tst-ptsname.c: New file.
22756         * login/Makefile (tests): Add tst-ptsname.
22758         [BZ #16943]
22759         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
22760         and prlimit64.
22762 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22764         [BZ #16849]
22765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
22766         herrno to return EAI_AGAIN.
22768 2014-05-14  Roland McGrath  <roland@hack.frob.com>
22770         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
22771         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
22772         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
22773         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
22774         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
22775         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
22776         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
22777         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
22778         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
22779         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
22780         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
22781         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
22782         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
22783         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
22784         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
22785         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
22786         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
22787         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
22788         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
22789         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
22790         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
22791         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
22792         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
22793         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
22794         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
22795         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
22796         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
22797         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
22798         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
22799         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
22800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
22801         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
22802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
22803         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
22804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22805         Moved ...
22806         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
22807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
22808         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
22809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
22810         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
22811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
22812         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
22813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
22814         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
22815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
22816         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
22817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
22818         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
22819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
22820         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
22821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
22822         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
22823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
22824         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
22825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
22826         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
22827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
22828         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
22829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
22830         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
22831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
22832         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
22833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22834         Moved ...
22835         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
22836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
22837         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
22838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
22839         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
22840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
22841         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
22842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
22843         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
22844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
22845         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
22846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
22847         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
22848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
22849         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
22850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
22851         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
22852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
22853         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
22854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22855         Moved ...
22856         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
22857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
22858         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
22860         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
22861         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
22862         (libpthread-sysdep_routines): Add elision-related stuff here instead.
22863         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
22864         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
22865         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
22866         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
22867         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
22868         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
22869         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
22870         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
22871         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
22872         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
22873         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
22874         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
22875         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
22876         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
22877         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
22878         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
22879         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
22880         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
22881         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
22882         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
22883         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
22884         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
22885         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
22886         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
22887         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
22888         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
22889         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
22890         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
22892         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
22893         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
22895         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
22896         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
22897         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
22898         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
22899         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
22900         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
22901         Moved ...
22902         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
22903         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22904         Moved ...
22905         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
22906         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22907         Moved ...
22908         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
22909         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
22910         Moved ...
22911         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
22912         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
22913         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22914         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22915         Moved ...
22916         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
22917         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
22918         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
22919         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
22920         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
22921         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
22922         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
22923         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22924         Moved ...
22925         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
22926         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22927         Moved ...
22928         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22929         ... here.
22930         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
22931         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
22932         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
22933         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
22934         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22935         Moved ...
22936         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22937         ... here.
22938         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
22939         Moved ...
22940         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
22941         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
22942         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
22943         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
22944         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22945         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22946         Moved ...
22947         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22948         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22949         Moved ...
22950         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22951         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22952         Moved ...
22953         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22954         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22955         Moved ...
22956         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22957         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22958         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22959         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22960         Moved ...
22961         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22962         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22963         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22964         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22965         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22966         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22967         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22968         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22969         Moved ...
22970         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22971         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22972         Moved ...
22973         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22974         ... here.
22975         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22976         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22977         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22978         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22979         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22980         Moved ...
22981         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22982         ... here.
22983         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22984         Moved ...
22985         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22986         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22987         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22988         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22989         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22990         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22991         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22992         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22993         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22994         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22995         Moved ...
22996         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22997         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22998         Moved ...
22999         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
23000         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
23001         Moved ...
23002         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
23003         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
23004         Moved ...
23005         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
23006         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
23007         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
23008         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
23009         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
23010         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
23011         Moved ...
23012         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
23013         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
23014         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
23015         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
23016         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
23017         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
23018         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
23019         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
23020         Moved ...
23021         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
23022         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
23023         Moved ...
23024         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
23025         ... here.
23026         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
23027         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
23028         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
23029         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
23030         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
23031         Moved ...
23032         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
23033         ... here.
23034         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
23035         Moved ...
23036         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
23037         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
23038         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
23039         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
23040         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
23041         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
23042         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
23043         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
23044         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
23045         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
23046         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
23048         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
23049         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
23051         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
23052         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
23054         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
23055         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
23056         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
23057         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
23058         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
23059         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
23060         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
23061         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
23062         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
23063         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
23064         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
23065         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
23066         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
23067         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
23068         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
23069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
23070         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
23071         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
23072         Moved ...
23073         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
23074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
23075         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
23076         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
23077         Moved ...
23078         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
23079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
23080         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
23081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
23082         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
23083         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
23084         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
23085         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
23086         Moved ...
23087         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
23088         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
23089         Moved ...
23090         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
23091         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
23092         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
23093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
23094         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
23095         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
23096         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
23097         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
23098         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
23099         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
23100         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
23101         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
23102         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
23103         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
23104         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
23105         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
23106         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
23108         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
23109         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
23110         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
23111         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
23112         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
23114         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
23115         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
23116         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
23117         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
23118         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
23119         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
23120         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
23121         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
23122         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
23123         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
23125         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
23126         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
23128         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
23129         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
23130         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
23131         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
23132         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
23133         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
23134         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
23135         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
23136         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
23137         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
23138         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
23139         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
23140         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
23141         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
23142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
23143         Update #include.
23144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
23145         Likewise.
23146         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
23147         Likewise.
23148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
23149         Likewise.
23150         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
23151         Likewise.
23152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
23153         Likewise.
23154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
23155         Likewise.
23156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
23157         Likewise.
23158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
23159         Likewise.
23160         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
23161         Likewise.
23162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
23163         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
23164         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
23165         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
23166         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
23167         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
23168         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
23169         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
23170         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
23171         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
23172         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
23173         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
23174         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
23175         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
23176         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
23178         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
23179         that was previously under [RESET_PID].
23180         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23181         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
23182         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
23184         * sysdeps/i386/nptl/Implies: New file.
23185         * sysdeps/x86_64/nptl/Implies: New file.
23186         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
23187         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
23188         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
23189         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
23191         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
23192         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23193         (__libc_vfork): New strong alias.
23194         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
23195         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
23197         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
23198         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23199         (__libc_vfork): New strong alias.
23200         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
23201         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
23203         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
23204         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23205         (__libc_vfork): New strong alias.
23206         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
23207         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
23208         * nptl/pt-vfork.c: New file.
23209         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
23210         (libpthread: GLIBC_2.20): New version set (empty).
23212 2014-05-14  Will Newton  <will.newton@linaro.org>
23214         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
23215         rather than #if.
23217 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
23219         [BZ #16564]
23220         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
23221         arguments with exponent 65 or above.
23222         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
23223         arguments 0x1p113L or above.
23224         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
23225         to arguments 0x1p107L or above.
23226         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
23227         positive arguments with exponent 65 or above.
23228         * math/auto-libm-test-in: Add more tests of log1p.
23229         * math/auto-libm-test-out: Regenerated.
23231         [BZ #16928]
23232         * math/s_cacos.c (__cacos): Ensure zero real part of result from
23233         non-finite arguments is +0.
23234         * math/s_cacosf.c (__cacosf): Likewise.
23235         * math/s_cacosl.c (__cacosl): Likewise.
23236         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
23237         * sysdeps/i386/fpu/libm-test-ulps: Update.
23238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23240         [BZ #16927]
23241         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
23242         value.
23243         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
23244         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
23245         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
23246         for explicit high bit of mantissa when testing for argument equal
23247         to 1.
23248         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
23249         * sysdeps/i386/fpu/libm-test-ulps: Update.
23250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23252         [BZ #16516]
23253         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
23254         (__erf): Scale by 16 instead of 8 in potentially underflowing
23255         case.  Ensure exception if result actually underflows.
23256         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
23257         (__erff): Scale by 16 instead of 8 in potentially underflowing
23258         case.  Ensure exception if result actually underflows.
23259         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
23260         (efx8): Remove variable.
23261         (__erfl): Scale by 16 instead of 8 in potentially underflowing
23262         case.  Ensure exception if result actually underflows.
23263         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
23264         (efx8): Remove variable.
23265         (__erfl): Scale by 16 instead of 8 in potentially underflowing
23266         case.  Ensure exception if result actually underflows.
23267         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
23268         (efx8): Remove variable.
23269         (__erfl): Scale by 16 instead of 8 in potentially underflowing
23270         case.  Ensure exception if result actually underflows.
23271         * math/auto-libm-test-in: Add more tests of erf.
23272         * math/auto-libm-test-out: Regenerated.
23274 2014-05-14  Andreas Schwab  <schwab@suse.de>
23276         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
23277         Remove code conditionalized on USE___THREAD.
23279         * config.h.in (HAVE_PT_CHOWN): Define as 0.
23280         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
23281         not definedness.
23283 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
23285         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
23286         Define unconditionally.
23287         (__ASSUME_O_CLOEXEC): Likewise.
23288         (__ASSUME_SOCK_CLOEXEC): Likewise.
23289         (__ASSUME_IN_NONBLOCK): Likewise.
23290         (__ASSUME_PIPE2): Likewise.
23291         (__ASSUME_EVENTFD2): Likewise.
23292         (__ASSUME_SIGNALFD4): Likewise.
23293         (__ASSUME_DUP3): Likewise.
23294         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23295         (__ASSUME_DUP3): Do not define.
23296         (__ASSUME_EVENTFD2): Likewise.
23297         (__ASSUME_IN_NONBLOCK): Likewise.
23298         (__ASSUME_O_CLOEXEC): Likewise.
23299         (__ASSUME_PIPE2): Likewise.
23300         (__ASSUME_SIGNALFD4): Likewise.
23301         (__ASSUME_SOCK_CLOEXEC): Likewise.
23302         (__ASSUME_UTIMES): Undefine.
23303         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23304         (__ASSUME_UTIMES): Do not define.
23305         (__ASSUME_O_CLOEXEC): Likewise.
23306         (__ASSUME_SOCK_CLOEXEC): Likewise.
23307         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
23308         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
23309         0x020621].
23310         (__ASSUME_PIPE2): Likewise.
23311         (__ASSUME_EVENTFD2): Likewise.
23312         (__ASSUME_SIGNALFD4): Likewise.
23313         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
23314         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
23315         Do not define.
23316         (__ASSUME_EVENTFD2): Likewise.
23317         (__ASSUME_SIGNALFD4): Likewise.
23318         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23319         (__ASSUME_32BITUIDS): Likewise.
23320         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23321         (__ASSUME_IPC64): Likewise.
23322         (__ASSUME_ST_INO_64_BIT): Likewise.
23323         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
23324         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
23325         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23326         (__ASSUME_UTIMES): Do not define.
23327         (__ASSUME_PSELECT): Likewise.
23328         (__ASSUME_PPOLL): Likewise.
23329         (__ASSUME_O_CLOEXEC): Likewise.
23330         (__ASSUME_SOCK_CLOEXEC): Likewise.
23331         (__ASSUME_IN_NONBLOCK): Likewise.
23332         (__ASSUME_PIPE2): Likewise.
23333         (__ASSUME_EVENTFD2): Likewise.
23334         (__ASSUME_SIGNALFD4): Likewise.
23335         (__ASSUME_DUP3): Likewise.
23336         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23337         (__ASSUME_UTIMES): Likewise.
23338         (__ASSUME_O_CLOEXEC): Likewise.
23339         (__ASSUME_SOCK_CLOEXEC): Likewise.
23340         (__ASSUME_IN_NONBLOCK): Likewise.
23341         (__ASSUME_PIPE2): Likewise.
23342         (__ASSUME_EVENTFD2): Likewise.
23343         (__ASSUME_SIGNALFD4): Likewise.
23344         (__ASSUME_DUP3): Likewise.
23345         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23346         (__ASSUME_UTIMES): Likewise.
23347         (__ASSUME_O_CLOEXEC): Likewise.
23348         (__ASSUME_SOCK_CLOEXEC): Likewise.
23349         (__ASSUME_IN_NONBLOCK): Likewise.
23350         (__ASSUME_PIPE2): Likewise.
23351         (__ASSUME_EVENTFD2): Likewise.
23352         (__ASSUME_SIGNALFD4): Likewise.
23353         (__ASSUME_DUP3): Likewise.
23354         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
23355         Likewise.
23356         (__ASSUME_UTIMES): Likewise.
23357         (__ASSUME_EVENTFD2): Likewise.
23358         (__ASSUME_SIGNALFD4): Likewise.
23359         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23360         (__ASSUME_O_CLOEXEC): Likewise.
23361         (__ASSUME_SOCK_CLOEXEC): Likewise.
23362         (__ASSUME_IN_NONBLOCK): Likewise.
23363         (__ASSUME_PIPE2): Likewise.
23364         (__ASSUME_EVENTFD2): Likewise.
23365         (__ASSUME_SIGNALFD4): Likewise.
23366         (__ASSUME_DUP3): Likewise.
23367         (__ASSUME_UTIMES): Undefine.
23369         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
23370         feclearexcept.  Remove symbol versioning code.
23371         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
23372         symbol versioning code.
23373         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
23374         symbol versioning code.
23375         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
23376         feupdateenv.  Remove symbol versioning code.
23377         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
23378         fegetexceptflag.  Remove symbol versioning code.
23379         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
23380         fesetexceptflag.  Remove symbol versioning code.
23381         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
23382         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
23383         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
23384         (__posix_fadvise64_l32): Remove prototype.
23385         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
23386         code.
23388 2014-05-13  Roland McGrath  <roland@hack.frob.com>
23390         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
23391         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
23392         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
23393         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
23395 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
23397         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
23398         current working directory
23400 2014-05-13  Roland McGrath  <roland@hack.frob.com>
23402         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
23403         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
23404         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
23405         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
23406         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
23407         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
23408         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
23409         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
23410         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
23411         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
23412         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
23413         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
23414         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
23415         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
23416         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
23417         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
23418         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
23419         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
23420         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
23421         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
23422         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
23423         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
23424         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
23425         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
23426         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
23427         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
23428         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
23429         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
23430         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
23431         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
23432         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
23433         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
23434         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
23435         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
23436         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
23437         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
23438         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
23439         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
23440         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
23441         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
23442         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
23443         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
23445         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
23446         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
23448         * sysdeps/unix/sysv/linux/arm/Makefile
23449         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23450         Add rt-aeabi_unwind_cpp_pr1.
23451         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
23452         Add nptl-aeabi_unwind_cpp_pr1.
23453         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
23454         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
23455         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
23456         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23457         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
23458         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23460         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
23461         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
23462         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
23463         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
23465         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
23466         Deconditionalize the code that was previously under [RESET_PID].
23467         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
23469         * sysdeps/generic/exit-thread.h: New file.
23470         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
23471         * include/unistd.h (__exit_thread): Remove declaration.
23472         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
23473         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
23474         * csu/libc-start.c: Include <exit-thread.h>.
23475         (LIBC_START_MAIN): Pass no argument to __exit_thread.
23476         * nptl/pthread_create.c: Include <exit-thread.h>.
23477         (start_thread): Call __exit_thread in place of __exit_thread_inline.
23478         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
23479         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
23480         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
23481         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
23482         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
23483         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
23484         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
23485         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
23486         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
23487         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
23488         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
23489         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
23490         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
23491         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
23492         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
23493         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
23495 2014-05-13  Andreas Schwab  <schwab@suse.de>
23497         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
23499 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
23501         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23502         (__ASSUME_UTIMES): Do not condition on kernel version.
23503         (__ASSUME_PSELECT): Define unconditionally.
23504         (__ASSUME_PPOLL): Likewise.
23505         (__ASSUME_ATFCTS): Likewise.
23506         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
23507         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
23508         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
23509         (__ASSUME_UTIMENSAT): Define unconditionally.
23510         (__ASSUME_PRIVATE_FUTEX): Likewise.
23511         (__ASSUME_FALLOCATE): Likewise.
23512         (__ASSUME_O_CLOEXEC): Likewise.
23513         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
23514         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
23515         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
23516         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
23517         (__ASSUME_IN_NONBLOCK): Likewise.
23518         (__ASSUME_PIPE2): Likewise.
23519         (__ASSUME_EVENTFD2): Likewise.
23520         (__ASSUME_SIGNALFD4): Likewise.
23521         (__ASSUME_DUP3): Likewise.
23522         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23523         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
23524         (__ASSUME_AT_RANDOM): Likewise.
23525         (__ASSUME_PREADV): Likewise.
23526         (__ASSUME_PWRITEV): Likewise.
23527         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
23528         (__ASSUME_F_GETOWN_EX): Define unconditionally.
23529         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
23530         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23531         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
23532         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23533         (__ASSUME_O_CLOEXEC): Define unconditionally.
23534         (__ASSUME_PSELECT): Do not undefine conditionally.
23535         (__ASSUME_PPOLL): Likewise.
23536         (__ASSUME_ATFCTS): Likewise.
23537         (__ASSUME_SET_ROBUST_LIST): Likewise.
23538         (__ASSUME_UTIMENSAT): Likewise.
23539         (__ASSUME_FDATASYNC): Define unconditionally.
23540         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23541         (__ASSUME_SIGFRAME_V2): Likewise.
23542         )__ASSUME_EVENTFD2): Likewise.
23543         (__ASSUME_SIGNALFD4): Likewise.
23544         (__ASSUME_PSELECT): Do not undefine conditionally.
23545         (__ASSUME_PPOLL): Likewise.
23546         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23547         (__ASSUME_PSELECT): Define unconditionally.
23548         (__ASSUME_PPOLL): Likewise.
23549         (__ASSUME_O_CLOEXEC): Likewise.
23550         (__ASSUME_SOCK_CLOEXEC): Likewise.
23551         (__ASSUME_IN_NONBLOCK): Likewise.
23552         (__ASSUME_PIPE2): Likewise.
23553         (__ASSUME_EVENTFD2): Likewise.
23554         (__ASSUME_SIGNALFD4): Likewise.
23555         (__ASSUME_DUP3): Likewise.
23556         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23557         (__ASSUME_O_CLOEXEC): Likewise.
23558         (__ASSUME_SOCK_CLOEXEC): Likewise.
23559         (__ASSUME_IN_NONBLOCK): Likewise.
23560         (__ASSUME_PIPE2): Likewise.
23561         (__ASSUME_EVENTFD2): Likewise.
23562         (__ASSUME_SIGNALFD4): Likewise.
23563         (__ASSUME_DUP3): Likewise.
23564         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23565         (__ASSUME_EVENTFD2): Likewise.
23566         (__ASSUME_SIGNALFD4): Likewise.
23567         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23569 2014-05-12  Andreas Schwab  <schwab@suse.de>
23571         [BZ #16932]
23572         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
23573         (_nss_nis_gethostbyname4_r): Return error if item length is larger
23574         than maximum RPC packet size.
23575         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
23576         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
23577         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
23578         (_nss_nis_getservbyport_r): Likewise.
23580 2014-05-12  Will Newton  <will.newton@linaro.org>
23582         * malloc/Makefile (tests): Add tst-mallopt.
23583         * malloc/tst-mallopt.c: New file.
23585 2014-05-09  Roland McGrath  <roland@hack.frob.com>
23587         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
23588         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
23590 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23592         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
23593         (tst-tlsmod6.so): Likewise.
23595 2014-05-09  Roland McGrath  <roland@hack.frob.com>
23597         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
23599 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
23601         [BZ #16064]
23602         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
23603         and <dl-procinfo.h>.
23604         (__fegetenv): Save SSE state in envp->__eip if supported.
23605         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
23606         envp->__eip if supported.
23607         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
23608         and <dl-procinfo.h>.
23609         (__fesetenv): Always set __eip, __cs_selector, __opcode,
23610         __data_offset and __data_selector in environment to 0.  Set SSE
23611         state if supported.
23612         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23613         test-fenv-sse.
23614         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
23615         -mfpmath=sse.
23616         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
23618 2014-05-09  Will Newton  <will.newton@linaro.org>
23620         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
23621         and libc_relro_required for ARM.
23622         * sysdeps/arm/preconfigure: Regenerate.
23624 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
23625             Stefan Liebler  <stli@linux.vnet.ibm.com>
23627         * config.make.in (enable-lock-elision): New Makefile variable.
23628         * configure.ac: Likewise.
23629         * configure: Regenerate.
23630         * sysdeps/s390/configure.ac:
23631         Add check for gcc transactions support.
23632         * sysdeps/s390/configure: Regenerate.
23633         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
23634         Build elision files if enabled.
23635         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
23636         Add lock elision support for s390.
23637         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23638         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
23639         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
23640         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23641         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
23642         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23643         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23644         Likewise.
23645         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
23646         Likewise.
23647         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
23648         Likewise.
23649         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
23650         Likewise.
23651         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
23652         (__lll_timedlock_elision, __lll_lock_elision)
23653         (__lll_unlock_elision, __lll_trylock_elision)
23654         (lll_timedlock_elision, lll_lock_elision)
23655         (lll_unlock_elision, lll_trylock_elision): Add.
23656         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23657         (pthread_mutex_t): Add lock elision support for s390.
23659 2014-05-14  Wilco  <wdijkstr@arm.com>
23661         * sysdeps/arm/fclrexcpt.c: Cleanup.
23662         * sysdeps/arm/fedisblxcpt.c: Cleanup.
23663         * sysdeps/arm/feenablxcpt.c: Cleanup.
23664         * sysdeps/arm/fegetenv.c: Cleanup.
23665         * sysdeps/arm/fegetexcept.c: Cleanup.
23666         * sysdeps/arm/fegetround.c: Cleanup.
23667         * sysdeps/arm/feholdexcpt.c: Cleanup.
23668         * sysdeps/arm/fesetenv.c: Cleanup.
23669         * sysdeps/arm/fesetround.c: Cleanup.
23670         * sysdeps/arm/feupdateenv.c: Cleanup.
23671         * sysdeps/arm/fgetexcptflg.c: Cleanup.
23672         * sysdeps/arm/fraiseexcpt.c: Cleanup.
23673         * sysdeps/arm/fsetexcptflg.c: Cleanup.
23674         * sysdeps/arm/ftestexcept.c: Cleanup.
23675         * sysdeps/arm/get-rounding-mode.h: Cleanup.
23676         * sysdeps/arm/setfpucw.c: Cleanup.
23678 2014-05-09  Will Newton  <will.newton@linaro.org>
23680         * sysdeps/arm/armv7/strcmp.S: New file.
23681         * NEWS: Mention addition of ARMv7 optimized strcmp.
23683 2014-05-08  Roland McGrath  <roland@hack.frob.com>
23685         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
23686         look for %.ac rather than %.in.
23688         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
23689         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
23690         * sysdeps/mach/hurd/configure: Regenerated.
23691         * sysdeps/unix/sysv/linux/configure: Regenerated.
23693         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
23695 2014-05-07  Steve Ellcey  <sellcey@mips.com>
23697         [BZ# 16922]
23698         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
23699         (LONG_SUB): Ditto.
23700         (PTR_SUB): Ditto.
23702 2014-05-07  Andreas Schwab  <schwab@suse.de>
23704         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
23705         when skipping over non-matching result from nscd.
23707 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
23709         [BZ #16876]
23710         * nptl/sockperf.c (client): Check socket return value.
23712         [BZ #16877]
23713         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
23714         nscd security class.
23716 2014-05-06  Roland McGrath  <roland@hack.frob.com>
23718         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
23719         * sysdeps/arm/unwind.h: ... here.
23721 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
23723         [BZ# 16916]
23724         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
23725         Define.
23727 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23729         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
23730         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
23731         multiarch strncpy for PPC64.
23732         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
23733         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
23734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
23735         multiarch optimizations.
23736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23737         (__libc_ifunc_impl_list): Likewise.
23738         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
23739         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
23740         multiarch stpncpy for PPC64.
23741         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
23742         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
23744 2014-05-06  Andreas Schwab  <schwab@suse.de>
23746         [BZ #16912]
23747         * gmon/mcount.c (_MCOUNT_DECL): Use
23748         atomic_compare_and_exchange_bool_acq instead of
23749         catomic_compare_and_exchange_bool_acq.
23751 2014-05-05  Roland McGrath  <roland@hack.frob.com>
23753         * elf/Makefile (others, install-bin): Remove pldd.
23754         (pldd-modules): Variable removed.
23755         ($(objpfx)pldd): Target removed.
23756         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
23757         (others, install-bin): Append pldd here.
23758         ($(objpfx)pldd): New target.
23760         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
23761         to 0, so the first #if test emitted later doesn't see it undefined.
23762         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
23763         * sysdeps/gnu/errlist.c: Regenerated.
23765 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23767         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23768         [libc_hidden_builtin_def]: Define to empty value.
23769         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
23770         [libc_hidden_builtin_def]: Likewise.
23771         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
23772         [libc_hidden_builtin_def]: Likewise.
23773         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
23774         [libc_hidden_builtin_def]: Likewise.
23775         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
23776         __redirect_memcpy and define ifunc as default hidden symbol.
23777         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
23778         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
23780 2014-05-04  Adam Conrad  <adconrad@0c3.net>
23782         * locale/iso-4217.def: Reintroduce XDR currency.
23784 2014-05-04  Allan McRae  <allan@archlinux.org>
23786         * po/eo.po: Update Esperanto translation from translation project.
23788 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
23790         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
23791         and FEATURE_INDEX_MAX to 1.
23792         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
23794 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23796         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
23797         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
23798         * iconvdata/big5.c (ONE_DIRECTION): Define.
23799         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
23800         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
23801         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
23802         * iconvdata/cp932.c (ONE_DIRECTION): Define.
23803         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
23804         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
23805         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
23806         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
23807         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
23808         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
23809         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
23810         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
23811         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
23812         * iconvdata/gbk.c (ONE_DIRECTION): Define.
23813         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
23814         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
23815         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
23816         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
23817         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
23818         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
23819         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
23820         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
23821         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
23822         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
23823         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
23824         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
23825         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
23826         * iconvdata/iso646.c (ONE_DIRECTION): Define.
23827         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
23828         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
23829         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
23830         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
23831         * iconvdata/johab.c (ONE_DIRECTION): Define.
23832         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
23833         * iconvdata/sjis.c (ONE_DIRECTION): Define.
23834         * iconvdata/t.61.c (ONE_DIRECTION): Define.
23835         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
23836         * iconvdata/tscii.c (ONE_DIRECTION): Define.
23837         * iconvdata/uhc.c (ONE_DIRECTION): Define.
23838         * iconvdata/unicode.c (ONE_DIRECTION): Define.
23839         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
23840         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
23841         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
23843 2014-05-01  Roland McGrath  <roland@hack.frob.com>
23845         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
23846         (_IO_JUMPS_OFFSET): Define to 0.
23848         * nptl/sysdeps/pthread/bits/libc-lock.h
23849         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23850         (__libc_lock_define_initialized_recursive): Always define using
23851         initializer.  Modern compilers treat uninitialized (implicit zero) and
23852         explicit zero initializers the same (i.e. put the datum in bss).
23854 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23856         * nscd/nscd-client.h: Include <string.h>.
23858 2014-05-01  David S. Miller  <davem@davemloft.net>
23860         [BZ #16885]
23861         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
23862         multiple zero bytes exist at the end of a string.
23863         Reported by Aurelien Jarno <aurelien@aurel32.net>
23865         * string/test-strcmp.c (check): Add explicit test for situations where
23866         there are multiple zero bytes after the first.
23868 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23870         [BZ #16890]
23871         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
23872         when compiling wprintf.
23873         * stdio-common/tstdiomisc.c (t3): New function.
23874         (main): Call it.
23876 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23878         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
23879         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23880         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
23881         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
23883 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23885         * stdlib/longlong.h: Updated from GCC.
23887 2014-05-01  Will Newton  <will.newton@linaro.org>
23888             Bernard Ogden  <bernie.ogden@linaro.org>
23890         * NEWS: Update fixed bug list.
23892         [BZ #15119]
23893         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
23895 2014-04-30  David S. Miller  <davem@davemloft.net>
23897         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
23898         (libc_feholdexcept_setround_sparc_ctx): New function.
23899         (libc_fesetenv_sparc_ctx): Likewise.
23900         (libc_feupdateenv_sparc_ctx): Likewise.
23901         (libc_feholdsetround_sparc_ctx): Likewise.
23902         (libc_feholdexcept_setround_ctx): Define.
23903         (libc_feholdexcept_setroundf_ctx): Likewise.
23904         (libc_feholdexcept_setroundl_ctx): Likewise.
23905         (libc_fesetenv_ctx): Likewise.
23906         (libc_fesetenvf_ctx): Likewise.
23907         (libc_fesetenvl_ctx): Likewise.
23908         (libc_feupdateenv_ctx): Likewise.
23909         (libc_feupdateenvf_ctx): Likewise.
23910         (libc_feupdateenvl_ctx): Likewise.
23911         (libc_feresetround_ctx): Likewise.
23912         (libc_feresetroundf_ctx): Likewise.
23913         (libc_feresetroundl_ctx): Likewise.
23914         (libc_feholdsetround_ctx): Likewise.
23915         (libc_feholdsetroundf_ctx): Likewise.
23916         (libc_feholdsetroundl_ctx): Likewise.
23918         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23919         with __USE_GNU instead of XOPEN cpp guards.
23921         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
23922         0.
23924         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23925         with XOPEN cpp guards.
23927 2014-04-30  Julian Brown  <julian@codesourcery.com>
23929         [BZ #16888]
23930         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
23931         handling.
23933 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
23935         [BZ #9894]
23936         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23937         Change to 2.6.32.
23938         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
23939         * sysdeps/unix/sysv/linux/configure: Regenerated.
23940         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23941         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
23942         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
23943         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23944         * README: Update reference to required Linux kernel version.
23945         * manual/install.texi (Linux): Update reference to required Linux
23946         kernel headers version.
23947         * INSTALL: Regenerated.
23949         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23950         header inclusion.
23951         [POSIX] (limits.h): Likewise.
23952         [POSIX] (math.h): Likewise.
23953         [POSIX] (sys/wait.h): Likewise.
23954         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23955         function.
23956         [POSIX] (stddef.h): Do not allow header inclusion.
23958 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23960         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23962 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
23964         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23965         Return immediately after lll_futex_wake.
23967 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23969         [BZ #16791]
23970         * nscd/nscd-client.h (datahead_init_common): Initialize entire
23971         structure.
23972         (datahead_init_pos): Call datahead_init_common early.
23973         (datahead_init_neg): Likewise.
23975         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23976         datahead_init_neg): New functions.
23977         * nscd/aicache.c (addhstaiX): Use them.
23978         * nscd/grpcache.c (cache_addgr): Likewise.
23979         * nscd/hstcache.c (cache_addhst): Likewise.
23980         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23981         * nscd/netgroupcache.c (do_notfound): Likewise.
23982         (addgetnetgrentX): Likewise.
23983         (addinnetgrX): Likewise.
23984         * nscd/pwdcache.c (cache_addpw): Likewise.
23985         * nscd/servicescache.c (cache_addserv): Likewise.
23987 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23988             Atsushi Onoe  <atsushi@onoe.org>
23990         [BZ #14308]
23991         [BZ #12994]
23992         [BZ #13651]
23993         * resolv/res_query.c (__libc_res_nsearch): Return if at least
23994         one response is valid.
23995         * resolv/res_send.c (send_dg): Check for validity of other
23996         response if the current response is a referral.
23998 2014-04-29  Steve Ellcey  <sellcey@mips.com>
24000         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
24002 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
24004         [BZ #16823]
24005         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
24006         Always divide by positive zero when computing -Inf result.
24007         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24008         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24010 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24012         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
24013         FPSCR if value do not change.
24014         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24015         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
24016         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24017         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24018         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
24019         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
24020         function.
24022 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
24024         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
24025         * sysdeps/unix/sysv/linux/hppa: Move directory from
24026         ports/systeps/unix/sysv/linux/hppa.
24027         * README: Update listing for hppa-*-linux-gnu.
24029 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
24031         [BZ #16754]
24032         * manual/stdio.texi (Hook functions): Fix types of stream hook
24033         functions.
24034         [BZ #16854]
24035         * socket/sys/socket.h: Fix typo in comment.
24037 2014-04-28  Wilco  <wdijkstr@arm.com>
24039         * sysdeps/arm/fenv_private.h: New file.
24040         * sysdeps/arm/math_private.h: New file.
24041         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
24043 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
24045         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
24046         with __int128_t.
24047         (La_x86_64_retval): Likewise.
24049 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
24051         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
24052         fpsr if value didn't change.
24053         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
24054         to fpcr if value didn't change.
24055         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
24056         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
24057         fpsr or fpcr if value didn't change.
24058         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24059         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
24060         fpcr if value didn't change.
24061         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
24062         to fpsr if value didn't change.
24064 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24066         * nptl/tst-sem3.c: Use test-skeleton.c
24067         (main): Rename to do_test.  Use return instead of
24068         exit.
24069         * nptl/tst-sem4.c: Use test-skeleton.c
24070         (main): Rename to do_test.
24072 2014-04-22  David S. Miller  <davem@davemloft.net>
24074         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
24075         (struct sigaction): New struct member __glibc_reserved0, change
24076         type of sa_flags to int.
24078 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
24080         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
24081         (COUNT_LEADING_ZEROS_0): Define for AArch64.
24083 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24085         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
24086         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
24088 2014-04-22  Will Newton  <will.newton@linaro.org>
24089             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
24091         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
24092         (__longjmp): Add longjmp and longjmp_target SystemTap
24093         probes.
24094         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
24095         (__sigsetjmp): Add setjmp SystemTap probe.
24097 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
24099         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
24100         match manual order.
24102 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24104         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
24106         * sysdeps/powerpc/fpu/fenv_private.h
24107         (libc_feholdexcept_setroundl_ctx): Define to
24108         libc_feholdexcept_setround_ppc_ctx.
24109         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
24110         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
24111         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
24112         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
24114 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
24116         * sysdeps/aarch64/math-tests.h: New file.
24118 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
24120         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
24121         New.
24122         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24123         Check and set bit_AVX2_Usable.
24124         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
24125         macro.
24126         (bit_AVX2): Likewise.
24127         (index_AVX2_Usable): Likewise.
24128         (CPUID_AVX2): Likewise.
24129         (HAS_AVX2): Likewise.
24131 2014-04-17  Will Newton  <will.newton@linaro.org>
24133         * manual/setjmp.texi (System V contexts): Add note that
24134         calling setcontext on a context created by a call to a
24135         signal handler is undefined.  Update text to note that
24136         setcontext from a signal handler is possible but not
24137         recommended.
24139         [BZ #16629]
24140         * stdlib/tst-setcontext.c: Include signal.h.
24141         (main): Check that the signal stack before and
24142         after swapcontext is the same.
24144         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
24145         Re-implement to restore registers in user code and avoid
24146         rt_sigreturn system call.
24148 2014-04-17  Wilco  <wdijkstr@arm.com>
24150         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
24151         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
24152         * math/test-fenv.c: Skip exception trap tests on targets which only
24153         support non-stop mode.
24155 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
24156             Wilco Dijkstra  <wilco.dijkstra@arm.com>
24158         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
24159         (libc_feholdsetround_aarch64_ctx)
24160         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
24161         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
24162         (libc_feresetround_ctx, libc_feresetroundf_ctx)
24163         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
24164         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
24165         (libc_feresetround_noexl_ctx): Define.
24167 2014-04-16  Richard Henderson  <rth@redhat.com>
24169         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
24171         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
24172         unwind tables.
24174         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
24175         const from the non-libc, non-ldso copy.
24177         * sysdeps/alpha/libm-test-ulps: Regenerate.
24179 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
24180             Wilco Dijkstra  <wilco.dijkstra@arm.com>
24182         * sysdeps/aarch64/fpu/math_private.h: New file.
24184 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24186         * sysdeps/aarch64/libm-test-ulps: Regenerate.
24188 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
24190         [BZ #16275]
24191         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
24192         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
24193         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
24194         Intel MPX bound registers before _dl_profile_fixup.
24195         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
24196         registers after _dl_profile_fixup.  Save and restore bound
24197         registers bnd0/bnd1 when calling _dl_call_pltexit.
24198         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
24199         (LR_BND_OFFSET): Likewise.
24200         (LRV_BND0_OFFSET): Likewise.
24201         (LRV_BND1_OFFSET): Likewise.
24203 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24205         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
24206         to...
24207         * sysdeps/mach/hurd/i386/tls.h: ... here.
24208         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
24209         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
24210         fields.
24212 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24214         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
24216 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24218         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24220 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24222         [BZ #14770]
24223         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
24224         * sysdeps/s390/configure: Regenerate.
24226         [BZ #16824]
24227         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
24228         Set round-to-nearest internally to reduce error accumulation.
24230 2014-04-16  Alan Modra  <amodra@gmail.com>
24232         [BZ #16740]
24233         [BZ #16619]
24234         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
24235         * math/libm-test.inc (frexp_test_data): Add tests.
24236         * NEWS: Update fixed bug list.
24238 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24240         * benchtests/Makefile: Depend on libraries in build directory.
24241         (bench-math): Separate out math tests.
24242         (bench-pthread): Separate out pthread tests.
24243         (bench): Include math and pthread tests.
24245 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
24247         [BZ #16831]
24248         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
24249         _dl_debug_initialize.
24251         * configure.ac: Remove SELinux header check.
24252         * configure: Regenerate.
24253         * nscd/selinux.c (perms): Array of const char* to permission names.
24254         (nscd_request_avc_has_perm): Call security_deny_unknown to find
24255         default policy. Call string_to_security_class and string_to_av_perm to
24256         translate strings. Enforce default policy and call avs_has_perm with
24257         results of translated strings.
24259 2014-04-13  David S. Miller  <davem@davemloft.net>
24261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24263 2014-04-12  Allan McRae  <allan@archlinux.org>
24265         [BZ #16838]
24266         * manual/string.texi (Collation Functions): Fix qsort argument
24267         order in example.
24268         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24270 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
24272         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
24273         Make the test a no-op if there are no exceptions defined.
24275 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24277         * elf/Makefile (tests): make tst-dlopen-aout conditional on
24278         enable-hardcoded-path-in-tests
24280 2014-04-11  Will Newton  <will.newton@linaro.org>
24282         * benchtests/Makefile (extra-objs): Add json-lib.o.
24283         (bench-func): Tidy up JSON output.
24284         * benchtests/bench-skeleton.c: Include json-lib.h.
24285         (main): Use JSON library functions to do output of
24286         benchmark results.
24287         * benchtests/bench-timing-type.c (main): Output the
24288         timing type simply, leaving formatting to the user.
24289         * benchtests/json-lib.c: New file.
24290         * benchtests/json-lib.h: Likewise.
24292 2014-04-11  Torvald Riegel  <triegel@redhat.com>
24294         [BZ #15215]
24295         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
24296         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
24297         memory barriers.  Add comments.
24298         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
24299         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
24300         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
24301         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
24302         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
24303         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
24305 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24307         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
24308         * sysdeps/s390/s390-64/configure.ac: ... this ...
24309         * sysdeps/s390/configure.ac: ... to here.
24310         * sysdeps/s390/s390-32/configure: Delete file.
24311         * sysdeps/s390/s390-64/configure: Delete file.
24312         * sysdeps/s390/configure: Regenerate.
24314 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
24316         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
24318 2014-04-11  Will Newton  <will.newton@linaro.org>
24320         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
24321         to zero if it is not defined elsewhere.  (mtrim): Test
24322         the value of MALLOC_DEBUG with #if rather than #ifdef.
24324 2014-04-10 Torvald Riegel  <triegel@redhat.com>
24326         * benchtests/pthread_once-inputs: New file.
24327         * benchtests/pthread_once-source.c: New file.
24328         * benchtests/README: Update documentation.
24330 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
24331             H.J. Lu  <hongjiu.lu@intel.com>
24333         [BZ #16275]
24334         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
24335         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
24336         * sysdeps/x86_64/configure: Regenerated.
24337         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
24338         macro.
24339         (REGISTER_SAVE_RAX): Likewise.
24340         (REGISTER_SAVE_RCX): Likewise.
24341         (REGISTER_SAVE_RDX): Likewise.
24342         (REGISTER_SAVE_RSI): Likewise.
24343         (REGISTER_SAVE_RDI): Likewise.
24344         (REGISTER_SAVE_R8): Likewise.
24345         (REGISTER_SAVE_R9): Likewise.
24346         (REGISTER_SAVE_BND0): Likewise.
24347         (REGISTER_SAVE_BND1): Likewise.
24348         (REGISTER_SAVE_BND2): Likewise.
24349         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
24350         bound registers when calling _dl_fixup.
24352 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24354         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
24355         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
24356         of its definition.
24357         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
24358         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
24359         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
24360         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
24361         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
24362         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
24363         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
24365 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
24367         [BZ #15514]
24368         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
24369         pathconf(_PC_NAME_MAX).
24371 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24373         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
24374         Remove macro usage.
24375         (__PTHREAD_SPINS): Move definition to ...
24376         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24377         (__PTHREAD_SPINS): ... here.
24378         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24379         (__PTHREAD_SPIN): Likewise.
24380         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
24381         (__PTHREAD_SPIN): Likewise.
24382         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
24383         (__PTHREAD_SPIN): Likewise.
24384         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
24385         (__PTHREAD_SPIN): Likewise.
24386         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24387         (__PTHREAD_SPIN): Likewise.
24388         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24389         (__PTHREAD_SPIN): Likewise.
24390         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
24391         (__PTHREAD_SPIN): Likewise.
24392         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24393         (__PTHREAD_SPIN): Likewise.
24394         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24395         (__PTHREAD_SPIN): Likewise.
24396         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24397         (__PTHREAD_SPIN): Likewise.
24398         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24399         (__PTHREAD_SPIN): Likewise.
24400         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
24401         (__PTHREAD_SPIN): Likewise.
24403         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
24404         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
24405         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
24406         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
24407         imply folder.
24408         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
24409         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
24410         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
24411         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
24412         correct imply path.
24413         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
24414         strlen symbol for non multi-arch builds.
24415         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
24416         missing hidden_def and weak_alias.
24418 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
24420         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
24422 2014-04-07  Will Newton  <will.newton@linaro.org>
24424         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
24425         and contents.  [!_LIBC] Remove #ifndef and contents.
24426         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
24427         * string/memccpy.c (__memccpy): Use ANSI prototype.
24428         * string/memfrob.c (memfrob): Likewise.
24429         * string/strcoll.c (STRCOLL): Likewise.
24430         * string/strlen.c (strlen): Likewise.
24431         * string/strtok.c (STRTOK): Likewise.
24432         * string/strcat.c: Remove unused #include of memcopy.h.
24433         (strcat): Use ANSI prototype.
24434         * string/strchr.c: Remove unused #include of memcopy.h.
24435         (strchr): Use ANSI prototype.
24436         * string/strcmp.c: Remove unused #include of memcopy.h.
24437         (strcmp): Use ANSI prototype.
24438         * string/strcpy.c: Remove unused #include of memcopy.h.
24439         (strcpy): Use ANSI prototype.
24441 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24443         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
24444         * config.make.in (config-extra-cppflags): Set it from
24445         libc_extra_cppflags.
24446         * configure.ac (libc_extra_cflags): Make it accumulate over
24447         configure fragments.
24448         (libc_extra_cppflags): New flag.
24449         * configure. Regenerate.
24450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24451         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
24452         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
24453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
24455         [BZ #16815]
24456         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
24457         result for FE_DOWNWARD rounding mode.
24458         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24459         Likewise.
24460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24462 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
24464         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
24465         in function argument name.
24467 2014-04-03  David Svoboda  <svoboda@cert.org>
24469         [BZ #5666]
24470         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
24471         explicitly.
24473 2014-04-03  Roland McGrath  <roland@hack.frob.com>
24475         * elf/dl-unmap-segments.h: New file.
24476         * sysdeps/generic/ldsodefs.h
24477         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
24478         * elf/dl-close.c: Include <dl-unmap-segments.h>.
24479         * elf/dl-fptr.c: Likewise.
24480         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
24481         * sysdeps/aarch64/tlsdesc.c: Likewise.
24482         * sysdeps/arm/tlsdesc.c: Likewise.
24483         * sysdeps/i386/tlsdesc.c: Likewise.
24484         * sysdeps/tile/dl-runtime.c: Likewise.
24485         * sysdeps/x86_64/tlsdesc.c: Likewise.
24486         * elf/dl-load.h: New file.
24487         * elf/dl-load.c: Include it.
24488         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
24489         Macros moved to dl-load.h.
24490         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
24491         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
24492         Use _dl_unmap_segments in place of __munmap.
24493         Break out segment-mapping loop into ...
24494         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
24496 2014-04-03  Will Newton  <will.newton@linaro.org>
24498         * elf/dl-lookup.c (do_lookup_x): Remove comment
24499         referring to nested function and move variable
24500         declarations down to before first use.
24502 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
24504         [BZ #16799]
24505         [BZ #16800]
24506         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
24507         with 0 numerator.
24508         * math/s_catanf.c (__catanf): Likewise.
24509         * math/s_catanh.c (__catanh): Likewise.
24510         * math/s_catanhf.c (__catanhf): Likewise.
24511         * math/s_catanhl.c (__catanhl): Likewise.
24512         * math/s_catanl.c (__catanl): Likewise.
24513         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
24514         by positive zero when computing -Inf result.
24515         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
24516         (catanh_test): Likewise.
24517         * sysdeps/i386/fpu/libm-test-ulps: Update.
24518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24520         [BZ #16789]
24521         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
24522         instead of using underflowing value in computing result.
24523         * math/s_clog10.c (__clog10): Likewise.
24524         * math/s_clog10f.c (__clog10f): Likewise.
24525         * math/s_clog10l.c (__clog10l): Likewise.
24526         * math/s_clogf.c (__clogf): Likewise.
24527         * math/s_clogl.c (__clogl): Likewise.
24528         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
24529         (clog10_test): Likewise.
24530         * sysdeps/i386/fpu/libm-test-ulps: Update.
24531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24533 2014-04-02  Alan Modra  <amodra@gmail.com>
24535         [BZ #16739]
24536         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
24537         output when value is near a power of two.  Use int64_t for lx and
24538         remove casts.  Use decimal rather than hex exponent constants.
24539         Don't use long double multiplication when double will suffice.
24540         * math/libm-test.inc (nextafter_test_data): Add tests.
24541         * NEWS: Add 16739 and 16786 to bug list.
24543         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
24545         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
24547 2014-04-01  Will Newton  <will.newton@linaro.org>
24549         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
24550         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
24552 2014-04-01  Florian Weimer  <fweimer@redhat.com>
24554         [BZ #13347]
24555         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
24556         * nptl/tst-setuid2.c: New file.
24557         * nptl/Makefile (xtests): Add tst-setuid2.
24559 2014-04-01  Alan Modra  <amodra@gmail.com>
24561         [BZ #16786]
24562         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
24564 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
24566         [BZ #6803]
24567         [BZ #6804]
24568         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
24569         set errno as appropriate.
24570         * math/w_scalbf.c (__scalbf): Likewise.
24571         * math/w_scalbl.c (__scalbl): Likewise.
24572         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
24573         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
24574         * math/libm-test.inc (scalb_test_data): Add errno expectations.
24575         Add more NaN tests.
24577         [BZ #16349]
24578         * math/w_atan2.c: Include <errno.h>.
24579         (__atan2): Set errno for result underflowing to zero.
24580         * math/w_atan2f.c: Include <errno.h>.
24581         (__atan2f): Set errno for result underflowing to zero.
24582         * math/w_atan2l.c: Include <errno.h>.
24583         (__atan2l): Set errno for result underflowing to zero.
24584         * math/auto-libm-test-in: Don't allow missing errno for some atan2
24585         tests.
24586         * math/auto-libm-test-out: Regenerated.
24588 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24590         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24591         Encode instruction correctly in little endian.
24592         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24593         Likewise.
24594         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24595         Likewise.
24596         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24597         Likewise.
24598         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24599         Likewise.
24601 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
24603         [BZ #9894]
24604         * sysdeps/unix/sysv/linux/kernel-features.h
24605         [__sparc__ && !__arch64__ && !__sparc_v9__]
24606         (__ASSUME_SET_ROBUST_LIST): Do not define.
24607         [__sparc__ && !__arch64__ && !__sparc_v9__]
24608         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24609         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
24610         Likewise.
24611         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24612         (__ASSUME_FUTEX_LOCK_PI): Undefine.
24613         (__ASSUME_REQUEUE_PI): Likewise.
24614         (__ASSUME_SET_ROBUST_LIST): Likewise.
24615         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24616         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
24617         Undefine.
24618         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24619         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
24620         Likewise.
24621         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
24622         Likewise.
24623         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
24624         Likewise.
24625         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24626         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
24627         Undefine.
24628         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
24629         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
24630         Likewise.
24632         [BZ #16648]
24633         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24634         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
24635         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
24637 2014-03-31  Will Newton  <will.newton@linaro.org>
24639         * benchtests/Makefile (bench): Add ffs and ffsll to list
24640         of tests.
24641         * benchtests/ffs-inputs: New file.
24642         * benchtests/ffsll-inputs: Likewise.
24644 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
24646         [BZ #16770]
24647         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
24648         too large before casting to int.
24649         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
24650         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
24651         * math/libm-test.inc (scalb_test_data): Add more tests.
24653 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24655         * benchtests/Makefile (DETAILED_OPT): New make option.
24656         (bench-func): Run benchmark program with -d if DETAILED_OPT is
24657         set.
24658         * benchtests/bench-skeleton.c: Include stdbool.h.
24659         (main): Store and print timings per input.
24660         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
24661         member to each argument value.
24662         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
24663         (_print_arg_data): Initialize per-input timing to 0.
24665         * benchtests/Makefile (timing-type): New binary.
24666         (bench-clean): Also remove bench-timing-type.
24667         (bench): New target for timing-type.
24668         (bench-func): Print output in JSON format.
24669         * benchtests/bench-skeleton.c (main): Print output in JSON
24670         format.
24671         * benchtests/bench-timing-type.c: New file.
24672         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
24673         (TIMING_PRINT_STATS): Remove.
24674         * benchtests/scripts/bench.py (_print_arg_data): Store variant
24675         name separately.
24677         * benchtests/bench-modf.c: Remove.
24678         * benchtests/modf-inputs: New inputs file.
24680 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
24682         [BZ #16362]
24683         * math/s_clog10.c (M_PI_LOG10E): New macro.
24684         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
24685         imaginary parts are 0.
24686         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
24687         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
24688         imaginary parts are 0.
24689         * math/s_clog10l.c (M_PI_LOG10El): New macro.
24690         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
24691         imaginary parts are 0.
24692         * math/libm-test.inc (clog10_test_data): Update expected results
24693         for when real and imaginary parts are 0.
24695 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
24697         * elf/dl-load.c: Finish conversion of __builtin_expect into
24698         __glibc_{un}likely.
24700 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
24702         [BZ #16348]
24703         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
24704         1+x for argument with exponent below -67.
24705         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
24706         Likewise.
24707         * math/auto-libm-test-in: Add more tests of exp.
24708         * math/auto-libm-test-out: Regenerated.
24710 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24712         [BZ #16759]
24713         * inet/getnetgrent_r.c (get_nonempty_val): New function.
24714         (nscd_getnetgrent): Use it.
24716         [BZ #16760]
24717         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
24718         of stpcpy.
24720 2014-03-27  Andi Kleen  <ak@linux.intel.com>
24722         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
24723         (lll_robust_lock, lll_cond_lock, lll_timedlock)
24724         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24725         (lll_robust_unlock): Remove out of line section. Use cfi
24726         intrinsics.
24727         (LLL_STUB_UNWIND_INFO*): Remove.
24728         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
24729         (lll_robust_lock, lll_cond_lock, lll_timedlock)
24730         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24731         (lll_robust_unlock): Remove out of line section. Use cfi
24732         intrinsics.
24733         (LLL_STUB_UNWIND_INFO*): Remove.
24735 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24737         [BZ #16758]
24738         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
24739         blank values.
24741 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24743         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
24745 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
24747         [BZ #16198]
24748         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
24749         fnstenv.
24750         * math/test-fenv-preserve.c: New file.
24751         * math/Makefile (tests): Add test-fenv-preserve.
24753 2014-03-26  Will Newton <will.newton@linaro.org>
24755         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
24757 2014-03-25  Roland McGrath  <roland@hack.frob.com>
24759         * scripts/versionlist.awk: Partition the version sets and emit all
24760         GLIBC_* (sorted) before all others (sorted).
24762 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24764         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
24765         GLIBC_2.2.5 version.
24767 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24769         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
24770         calls.
24772         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
24773         previous change.
24775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24777 2014-03-25  Andreas Schwab  <schwab@suse.de>
24779         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
24780         label to be used after in6ailist is initialized.
24782 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24784         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24785         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24787 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24789         [BZ #16357]
24790         [BZ #16599]
24791         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
24792         min_plus_half.
24793         (fp_formats): Update initializers.
24794         (init_fp_formats): Initialize new field.
24795         (output_for_one_input_case): Allow underflow for results up to
24796         min_plus_half.
24797         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
24798         * math/auto-libm-test-in: Don't mark some underflows from asin and
24799         atanh as spurious.
24800         * math/auto-libm-test-out: Regenerated.
24801         * sysdeps/i386/fpu/libm-test-ulps: Update.
24802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24804 2014-03-25  Andreas Schwab  <schwab@suse.de>
24806         * libio/Makefile (tst-ftell-partial-wide-ENV)
24807         (tst-ftell-active-handler-ENV): Define.
24809 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
24811         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
24813 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24815         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
24817 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24819         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
24820         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24821         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24823 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24825         [BZ #16634]
24826         * elf/dl-load.c (open_verify): Add mode parameter.
24827         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
24828         (open_path): Change from boolean 'secure' to complete flag 'mode'
24829         (_dl_map_object): Adjust.
24830         * elf/Makefile (tests): Add tst-dlopen-aout.
24831         * elf/tst-dlopen-aout.c: New test.
24833 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
24835         [BZ #16714]
24836         * sysdeps/unix/sysv/linux/s390/bits/stat.h
24837         (struct stat): Rename member pad0 to __glibc_reserved0.
24839         [BZ #16712]
24840         * sysdeps/s390/s390-32/bits/wordsize.h
24841         (__WORDSIZE32_SIZE_ULONG): New define.
24842         * sysdeps/s390/s390-64/bits/wordsize.h
24843         (__WORDSIZE32_SIZE_ULONG): Likewise.
24844         * sysdeps/generic/stdint.h (SIZE_MAX):
24845         Define as UL if __WORDSIZE32_SIZE_ULONG.
24847         [BZ #16713]
24848         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24849         (__glibc_reserved0): New variable.
24850         (sa_flags): Change type to int.
24852         * posix/Makefile (before-compile): Use += before-compile instead
24853         of a :=.
24855         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24856         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24858 2014-03-20  Andreas Schwab  <schwab@suse.de>
24860         [BZ #16743]
24861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
24862         non-matching result from nscd.
24864 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24866         * scripts/bench.py: Moved to ...
24867         * benchtests/scripts/bench.py: ... here.
24868         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
24870 2014-03-24  Andreas Schwab  <schwab@suse.de>
24872         [BZ #16002]
24873         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
24874         alloca_account and account alloca use for struct in6ailist.
24876 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24878         [BZ #16284]
24879         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
24880         rounding mode to recompute results that overflow to infinity or
24881         underflow to zero.
24882         * math/auto-libm-test-in: Don't mark tests as expected to fail for
24883         bug 16284.
24884         * math/auto-libm-test-out: Regenerated.
24885         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
24886         (ccosh_test): Likewise.
24887         (csin_test_data): Use plus_oflow.
24888         (csin_test): Use ALL_RM_TEST.
24889         (csinh_test_data): Use plus_oflow.
24890         (csinh_test): Use ALL_RM_TEST.
24891         * sysdeps/i386/fpu/libm-test-ulps: Update.
24892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24894 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
24896         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
24897         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
24898         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
24900         [BZ #16731]
24901         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
24902         when x - 1 is zero.
24903         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
24904         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
24905         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24906         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
24907         argument is 1.
24908         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
24909         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
24910         zero.
24911         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
24912         * sysdeps/i386/fpu/libm-test-ulps: Update.
24913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24915 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24917         * scripts/bench.pl: Remove file.
24918         * scripts/bench.py: New benchmark script.
24919         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
24920         * benchtests/README: Mention python dependency.
24921         * scripts/pylintrc: New file.
24922         * scripts/pylint: New file.
24924         * bits/mathdef.h: Use #ifdef instead of #if.
24925         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
24926         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24927         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
24928         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24929         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
24930         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24932 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24933             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24935         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
24936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
24937         and strpbrk-ppc64 objects.
24938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24939         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
24940         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
24941         multiarch strpbrk for POWER7.
24942         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
24943         multiarch strpbrk for PPC64.
24944         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24945         ifunc selector.
24946         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24947         strpbrk for POWER7.
24949 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24951         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24952         (atan_test): Likewise.
24953         (atanh_test_data): Use NO_TEST_INLINE for two tests.
24954         (atanh_test): Use ALL_RM_TEST.
24955         (atan2_test_data): Likewise.
24956         (cabs_test): Likewise.
24957         (cacosh_test): Likewise.
24958         (carg_test): Likewise.
24959         (casin_test): Likewise.
24960         (casinh_test): Likewise.
24961         (cbrt_test): Likewise.
24962         (csqrt_test): Likewise.
24963         (erf_test): Likewise.
24964         (erfc_test): Likewise.
24965         (pow10_test): Likewise.
24966         (exp2_test): Likewise.
24967         (hypot_test): Likewise.
24968         (j0_test): Likewise.
24969         (j1_test): Likewise.
24970         (lgamma_test): Likewise.
24971         (gamma_test): Likewise.
24972         (sincos_test): Likewise.
24973         (tanh_test): Likewise.
24974         (y0_test): Likewise.
24975         (y1_test): Likewise.
24976         * sysdeps/i386/fpu/libm-test-ulps: Update.
24977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24979 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24981         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24983         and strcspn-ppc64 objects.
24984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24985         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24986         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24987         multiarch strcspn for POWER7.
24988         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24989         multiarch strcspn for PPC64.
24990         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24991         ifunc selector.
24992         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24993         strcspn for POWER7.
24995 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24997         * math/gen-libm-test.pl (generate_testfile): Expect only function
24998         name as argument to AUTO_TESTS_* and pass results for all rounding
24999         modes to parse_args.
25000         (parse_auto_input): Separate inputs of automatic tests from
25001         outputs before storing in %auto_tests.
25002         * math/libm-test.inc (acos_test_data): Update call to
25003         AUTO_TESTS_f_f.
25004         (acos_test): Use ALL_RM_TEST.
25005         (acos_tonearest_test_data): Remove.
25006         (acos_test_tonearest): Likewise.
25007         (acos_towardzero_test_data): Likewise.
25008         (acos_test_towardzero): Likewise.
25009         (acos_downward_test_data): Likewise.
25010         (acos_test_downward): Likewise.
25011         (acos_upward_test_data): Likewise.
25012         (acos_test_upward): Likewise.
25013         (acosh_test_data): Update call to AUTO_TESTS_f_f.
25014         (asin_test_data): Likewise.
25015         (asin_test): Use ALL_RM_TEST.
25016         (asin_tonearest_test_data): Remove.
25017         (asin_test_tonearest): Likewise.
25018         (asin_towardzero_test_data): Likewise.
25019         (asin_test_towardzero): Likewise.
25020         (asin_downward_test_data): Likewise.
25021         (asin_test_downward): Likewise.
25022         (asin_upward_test_data): Likewise.
25023         (asin_test_upward): Likewise.
25024         (asinh_test_data): Update call to AUTO_TESTS_f_f.
25025         (atan_test_data): Likewise.
25026         (atanh_test_data): Likewise.
25027         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
25028         (cabs_test_data): Update call to AUTO_TESTS_c_f.
25029         (carg_test_data): Likewise.
25030         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
25031         (ccos_test_data): Update call to AUTO_TESTS_c_c.
25032         (ccosh_test_data): Likewise.
25033         (cexp_test_data): Likewise.
25034         (clog_test_data): Likewise.
25035         (clog10_test_data): Likewise.
25036         (cos_test_data): Update call to AUTO_TESTS_f_f.
25037         (cos_test): Use ALL_RM_TEST.
25038         (cos_tonearest_test_data): Remove.
25039         (cos_test_tonearest): Likewise.
25040         (cos_towardzero_test_data): Likewise.
25041         (cos_test_towardzero): Likewise.
25042         (cos_downward_test_data): Likewise.
25043         (cos_test_downward): Likewise.
25044         (cos_upward_test_data): Likewise.
25045         (cos_test_upward): Likewise.
25046         (cosh_test_data): Update call to AUTO_TESTS_f_f.
25047         (cosh_test): Use ALL_RM_TEST.
25048         (cosh_tonearest_test_data): Remove.
25049         (cosh_test_tonearest): Likewise.
25050         (cosh_towardzero_test_data): Likewise.
25051         (cosh_test_towardzero): Likewise.
25052         (cosh_downward_test_data): Likewise.
25053         (cosh_test_downward): Likewise.
25054         (cosh_upward_test_data): Likewise.
25055         (cosh_test_upward): Likewise.
25056         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
25057         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
25058         (ctan_test_data): Likewise.
25059         (ctan_test): Use ALL_RM_TEST.
25060         (ctan_tonearest_test_data): Remove.
25061         (ctan_test_tonearest): Likewise.
25062         (ctan_towardzero_test_data): Likewise.
25063         (ctan_test_towardzero): Likewise.
25064         (ctan_downward_test_data): Likewise.
25065         (ctan_test_downward): Likewise.
25066         (ctan_upward_test_data): Likewise.
25067         (ctan_test_upward): Likewise.
25068         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
25069         (ctanh_test): Use ALL_RM_TEST.
25070         (ctanh_tonearest_test_data): Remove.
25071         (ctanh_test_tonearest): Likewise.
25072         (ctanh_towardzero_test_data): Likewise.
25073         (ctanh_test_towardzero): Likewise.
25074         (ctanh_downward_test_data): Likewise.
25075         (ctanh_test_downward): Likewise.
25076         (ctanh_upward_test_data): Likewise.
25077         (ctanh_test_upward): Likewise.
25078         (erf_test_data): Update call to AUTO_TESTS_f_f.
25079         (erfc_test_data): Likewise.
25080         (exp_test_data): Likewise.
25081         (exp_test): Use ALL_RM_TEST.
25082         (exp_tonearest_test_data): Remove.
25083         (exp_test_tonearest): Likewise.
25084         (exp_towardzero_test_data): Likewise.
25085         (exp_test_towardzero): Likewise.
25086         (exp_downward_test_data): Likewise.
25087         (exp_test_downward): Likewise.
25088         (exp_upward_test_data): Likewise.
25089         (exp_test_upward): Likewise.
25090         (exp10_test_data): Update call to AUTO_TESTS_f_f.
25091         (exp10_test): Use ALL_RM_TEST.
25092         (exp10_tonearest_test_data): Remove.
25093         (exp10_test_tonearest): Likewise.
25094         (exp10_towardzero_test_data): Likewise.
25095         (exp10_test_towardzero): Likewise.
25096         (exp10_downward_test_data): Likewise.
25097         (exp10_test_downward): Likewise.
25098         (exp10_upward_test_data): Likewise.
25099         (exp10_test_upward): Likewise.
25100         (exp2_test_data): Update call to AUTO_TESTS_f_f.
25101         (expm1_test_data): Likewise.
25102         (expm1_test): Use ALL_RM_TEST.
25103         (expm1_tonearest_test_data): Remove.
25104         (expm1_test_tonearest): Likewise.
25105         (expm1_towardzero_test_data): Likewise.
25106         (expm1_test_towardzero): Likewise.
25107         (expm1_downward_test_data): Likewise.
25108         (expm1_test_downward): Likewise.
25109         (expm1_upward_test_data): Likewise.
25110         (expm1_test_upward): Likewise.
25111         (fma_test_data): Update call to AUTO_TESTS_fff_f.
25112         (fma_test): Use ALL_RM_TEST.
25113         (fma_towardzero_test_data): Remove.
25114         (fma_test_towardzero): Likewise.
25115         (fma_downward_test_data): Likewise.
25116         (fma_test_downward): Likewise.
25117         (fma_upward_test_data): Likewise.
25118         (fma_test_upward): Likewise.
25119         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
25120         (j0_test_data): Update call to AUTO_TESTS_f_f.
25121         (j1_test_data): Likewise.
25122         (jn_test_data): Update call to AUTO_TESTS_if_f.
25123         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
25124         (log_test_data): Update call to AUTO_TESTS_f_f.
25125         (log10_test_data): Likewise.
25126         (log1p_test_data): Likewise.
25127         (log2_test_data): Likewise.
25128         (pow_test_data): Update call to AUTO_TESTS_ff_f.
25129         (pow_tonearest_test_data): Likewise.
25130         (sin_test_data): Update call to AUTO_TESTS_f_f.
25131         (sin_test): Use ALL_RM_TEST.
25132         (sin_tonearest_test_data): Remove.
25133         (sin_test_tonearest): Likewise.
25134         (sin_towardzero_test_data): Likewise.
25135         (sin_test_towardzero): Likewise.
25136         (sin_downward_test_data): Likewise.
25137         (sin_test_downward): Likewise.
25138         (sin_upward_test_data): Likewise.
25139         (sin_test_upward): Likewise.
25140         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
25141         (sinh_test_data): Update call to AUTO_TESTS_f_f.
25142         (sinh_test): Use ALL_RM_TEST.
25143         (sinh_tonearest_test_data): Remove.
25144         (sinh_test_tonearest): Likewise.
25145         (sinh_towardzero_test_data): Likewise.
25146         (sinh_test_towardzero): Likewise.
25147         (sinh_downward_test_data): Likewise.
25148         (sinh_test_downward): Likewise.
25149         (sinh_upward_test_data): Likewise.
25150         (sinh_test_upward): Likewise.
25151         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
25152         (sqrt_test): Use ALL_RM_TEST.
25153         (sqrt_tonearest_test_data): Remove.
25154         (sqrt_test_tonearest): Likewise.
25155         (sqrt_towardzero_test_data): Likewise.
25156         (sqrt_test_towardzero): Likewise.
25157         (sqrt_downward_test_data): Likewise.
25158         (sqrt_test_downward): Likewise.
25159         (sqrt_upward_test_data): Likewise.
25160         (sqrt_test_upward): Likewise.
25161         (tan_test_data): Update call to AUTO_TESTS_f_f.
25162         (tan_test): Use ALL_RM_TEST.
25163         (tan_tonearest_test_data): Remove.
25164         (tan_test_tonearest): Likewise.
25165         (tan_towardzero_test_data): Likewise.
25166         (tan_test_towardzero): Likewise.
25167         (tan_downward_test_data): Likewise.
25168         (tan_test_downward): Likewise.
25169         (tan_upward_test_data): Likewise.
25170         (tan_test_upward): Likewise.
25171         (tanh_test_data): Update call to AUTO_TESTS_f_f.
25172         (tgamma_test_data): Likewise.
25173         (y0_test_data): Likewise.
25174         (y1_test_data): Likewise.
25175         (yn_test_data): Update call to AUTO_TESTS_if_f.
25176         (main): Do not call removed functions.
25178 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
25180         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
25181         (ldexp_test_data): Remove.
25182         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
25183         scalbn_test_data.
25184         (scalb_test): Use ALL_RM_TEST.
25186 2014-03-19  Andreas Schwab  <schwab@suse.de>
25188         * nscd/nscd.service: Also invalidate netgroup cache on reload.
25190 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
25192         [BZ #16649]
25193         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25194         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
25195         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
25196         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25197         (__ASSUME_PREADV): Undefine.
25198         (__ASSUME_PWRITEV): Likewise.
25200 2014-03-18  Roland McGrath  <roland@hack.frob.com>
25202         * bits/mman-linux.h: Add comment about non-Linux use.
25203         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
25204         bits/mman-linux.h resting place.
25206         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
25207         * bits/mman-linux.h: ... here.
25209 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25211         * conform/conformtest.pl: Add standard definition when calling C
25212         preprocessor on data files.
25213         (checknamespace): Remove unused variable.
25215 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
25217         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
25218         minus_oflow, plus_uflow and minus_uflow in expected results.
25219         * math/libm-test.inc (scalbn_test_data): Add more tests of
25220         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
25221         minus_uflow.
25222         (scalbn_test): Use ALL_RM_TEST.
25223         (scalbln_test_data): Add more tests of negative arguments.  Use
25224         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
25225         (scalbln_test): Use ALL_RM_TEST.
25227 2014-03-18  Roland McGrath  <roland@hack.frob.com>
25229         * scripts/abilist.awk: Ignore symbols marked with .hidden.
25231 2014-03-18  Will Newton  <will.newton@linaro.org>
25233         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
25234         inaccurate comment.
25236 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
25238         * Makerules [!subdir] (check-abi): Exit with error status if a
25239         test failed.
25241 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
25243         * math/libm-test.inc (nearbyint_test_data): Include all tests used
25244         for rint.  Include results for all rounding modes.
25245         (nearbyint_test): Use ALL_RM_TEST.
25246         (rint_test_data): Include all tests used for nearbyint.
25248 2014-03-17  Will Newton  <will.newton@linaro.org>
25250         * nptl/sysdeps/pthread/pthread.h: Revert previous
25251         change.
25253         * sysdeps/generic/ldsodefs.h: Revert previous
25254         change.
25256         * libio/genops.c: Revert previous change.
25257         * libio/libioP.h: Likewise.
25258         * stdio-common/vfprintf.c: Likewise.
25260         * sysdeps/generic/math_private.h: Revert previous
25261         change.
25263         * sysdeps/generic/math_private.h: Check whether
25264         HAVE_RM_CTX is defined with #ifdef rather
25265         than #if.
25267         * argp/argp-fmtstream.h: Check whether
25268         __STRICT_ANSI__ is defined with #ifdef rather
25269         than #if.
25270         * argp/argp.h: Likewise.
25272         * libio/genops.c: Check whether
25273         _IO_JUMPS_OFFSET is defined with #ifdef rather
25274         than #if.
25275         * libio/libioP.h: Likewise.
25276         * stdio-common/vfprintf.c: Likewise.
25278         * sysdeps/generic/ldsodefs.h: Check whether
25279         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
25280         than #if.
25282         * nptl/sysdeps/pthread/pthread.h: Check
25283         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
25284         its value.
25286 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25288         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
25289         setting O_APPEND.
25290         * libio/tst-ftell-active-handler.c (do_append_test): Add a
25291         test case.
25293         [BZ #16680]
25294         * libio/fileops.c (_IO_file_open): Seek to end of file but
25295         don't cache the offset.
25296         (get_file_offset): Remove function.
25297         (do_ftell): Use cached offset when available.
25298         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
25299         don't cache the offset.
25300         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
25301         case.
25302         (do_one_test): Call it.
25303         (do_ftell_test): Fix up expected old offset for a+ mode.
25304         * libio/wfileops.c (do_ftell_wide): Used cached offset when
25305         available.
25307         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
25308         up test status with function return status.
25309         (do_write_test): Likewise.
25310         (do_append_test): Likewise.
25312         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
25313         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
25314         Remove.
25316 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
25318         * math/gen-libm-test.pl (parse_args): Handle results specified for
25319         each rounding mode separately.
25320         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
25321         tests and results from lrint_tonearest_test_data,
25322         lrint_towardzero_test_data, lrint_downward_test_data and
25323         lrint_upward_test_data.
25324         (lrint_test): Use ALL_RM_TEST.
25325         (lrint_tonearest_test_data): Remove.
25326         (lrint_test_tonearest): Likewise.
25327         (lrint_towardzero_test_data): Likewise.
25328         (lrint_test_towardzero): Likewise.
25329         (lrint_downward_test_data): Likewise.
25330         (lrint_test_downward): Likewise.
25331         (lrint_upward_test_data): Likewise.
25332         (lrint_test_upward): Likewise.
25333         (llrint_test_data): Merge in per-rounding-mode tests and results
25334         from llrint_tonearest_test_data, llrint_towardzero_test_data,
25335         llrint_downward_test_data and llrint_upward_test_data.
25336         (llrint_test): Use ALL_RM_TEST.
25337         (llrint_tonearest_test_data): Remove.
25338         (llrint_test_tonearest): Likewise.
25339         (llrint_towardzero_test_data): Likewise.
25340         (llrint_test_towardzero): Likewise.
25341         (llrint_downward_test_data): Likewise.
25342         (llrint_test_downward): Likewise.
25343         (llrint_upward_test_data): Likewise.
25344         (llrint_test_upward): Likewise.
25345         (rint_test_data): Merge in per-rounding-mode tests and results
25346         from rint_tonearest_test_data, rint_towardzero_test_data,
25347         rint_downward_test_data and rint_upward_test_data.  Add
25348         per-rounding-mode results for tests not in those arrays.
25349         (rint_test): Use ALL_RM_TEST.
25350         (rint_tonearest_test_data): Remove.
25351         (rint_test_tonearest): Likewise.
25352         (rint_towardzero_test_data): Likewise.
25353         (rint_test_towardzero): Likewise.
25354         (rint_downward_test_data): Likewise.
25355         (rint_test_downward): Likewise.
25356         (rint_upward_test_data): Likewise.
25357         (rint_test_upward): Likewise.
25358         (main): Don't call removed functions.
25360 2014-03-14  Roland McGrath  <roland@hack.frob.com>
25362         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
25363         "Compiled on ..." crapola.  It is anti-useful.
25365 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
25367         * scripts/evaluate-test.sh: Handle fourth argument to determine
25368         whether test run should stop on failure.
25369         * Makeconfig (stop-on-test-failure): New variable.
25370         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
25371         $(stop-on-test-failure).
25372         * Makefile (tests): Give a summary of results from testing and
25373         exit with failure status if they include an ERROR or FAIL.
25374         (xtests): Likewise.
25375         * manual/install.texi (Configuring and compiling): Mention
25376         stop-on-test-failure=y.
25377         * INSTALL: Regenerated.
25379 2014-03-14  Roland McGrath  <roland@hack.frob.com>
25381         * scripts/versionlist.awk: New file.
25382         * Makerules [$(build-shared) = yes]
25383         (postclean-generated): Add Versions.def, not Versions.def.v and
25384         Versions.def.v.i.
25385         ($(common-objpfx)Versions.def.v.i): Target removed.
25386         ($(common-objpfx)Versions.def): New target.
25387         ($(common-objpfx)Versions.all): Depend on that rather that
25388         $(common-objpfx)Versions.def.v.
25389         * Versions.def: File removed.
25391         * Makeconfig (+gccwarn): Add -Wundef.
25392         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
25393         a dl-sysdep.h breaking its contract.
25394         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
25395         * include/stackinfo.h: New file.
25396         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
25397         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
25398         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
25399         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
25400         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
25401         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
25402         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25403         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25404         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25405         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25406         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25407         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
25408         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25409         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25410         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25412 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25414         [BZ #16707]
25415         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
25416         implementation.
25417         * math/libm-test.inc (round_test_data): Add more tests.
25419         [BZ #16706]
25420         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
25421         implementation.
25422         * math/libm-test.inc (nearbyint_test_data): Add more tests.
25424         [BZ #16701]
25425         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
25426         implementation.
25427         * math/libm-test.inc (ceil_test_data): Add more tests.
25429         * math/libm-test.inc (trunc_test_data): Add more tests related to
25430         BZ#16414.
25432 2014-03-14  Roland McGrath  <roland@hack.frob.com>
25434         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
25435         with #if rather than #ifdef.
25436         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
25438 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
25440         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
25441         first.  Disable AVX-512 GCC support if assembler doesn't support
25442         it.
25443         * sysdeps/x86_64/configure: Regenerated.
25445 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
25447         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
25448         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
25449         (__old_pthread_attr_setstack): Likewise.
25450         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
25451         [!_STACK_GROWS_DOWN]: Likewise.
25453 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
25455         * config.make.in (have-bash2): Delete.
25456         * configure.ac (libc_cv_have_bash2): Delete.
25457         * configure: Regenerate.
25458         * elf/Makefile (common-ldd-rewrite): Rename to ...
25459         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
25460         (sh-ldd-rewrite): Delete.
25461         (bash-ldd-rewrite): Delete.
25462         (have-bash2): Delete checks.
25463         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
25464         ldd-rewrite.
25466         * config.make.in (have-ksh): Delete.
25467         (KSH): Delete.
25468         * configure.ac (libc_cv_have_ksh): Delete.
25469         * configure: Regenerate.
25471         * elf/Makefile: Delete $(have-ksh) check.
25472         ($(objpfx)sotruss): Change KSH to BASH.
25473         * elf/sotruss.ksh: Rename to ...
25474         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
25475         function style to match POSIX.  Drop ksh vim mode setting.
25477         * manual/time.texi (Specifying the Time Zone with TZ): Change
25478         Tuesday to Thursday.
25480         * debug/tst-longjmp_chk2.c: Update header comment.
25481         (stackoverflow_handler): Add comment.  Call assert on pass value.
25483 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
25485         [BZ #16194]
25486         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
25487         (HAVE_AVX512_ASM_SUPPORT): Likewise.
25488         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
25489         (La_x86_64_vector): Add zmm.
25490         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
25491         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
25492         ($(objpfx)tst-audit10): New target.
25493         ($(objpfx)tst-audit10.out): Likewise.
25494         (tst-audit10-ENV): New.
25495         (AVX512-CFLAGS): Likewise.
25496         (CFLAGS-tst-audit10.c): Likewise.
25497         (CFLAGS-tst-auditmod10a.c): Likewise.
25498         (CFLAGS-tst-auditmod10b.c): Likewise.
25499         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
25500         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
25501         * sysdeps/x86_64/configure: Regenerated.
25502         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
25503         AVX-512 zmm register support.
25504         (_dl_x86_64_save_sse): Likewise.
25505         (_dl_x86_64_restore_sse): Likewise.
25506         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
25507         size vector registers.
25508         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
25509         (ZMM_SIZE): Likewise.
25510         * sysdeps/x86_64/tst-audit10.c: New file.
25511         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
25512         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
25514 2014-03-13  Roland McGrath  <roland@hack.frob.com>
25516         * configure.ac (HAVE_EHDR_START): New check.
25517         * configure: Regenerated.
25518         * config.h.in (HAVE_EHDR_START): New #undef.
25519         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
25520         assuming the lowest-addressed segment maps the start of the file.
25522 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
25524         * INSTALL: Regenerated.
25526 2014-03-13  Will Newton  <will.newton@linaro.org>
25528         * manual/setjmp.texi (System V contexts): Improve
25529         clarity and grammar of documentation.
25531 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25533         [BZ #16381]
25534         * elf/Makefile (tests): Add tst-pie2.
25535         (tests-pie): Add tst-pie2.
25536         * elf/tst-pie2.c: New file.
25537         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
25538         for ET_EXEC.
25539         * elf/rtld.c (map_doit): Load executable as lt_executable.
25540         (dl_main): Likewise.
25542 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
25544         [BZ #16642]
25545         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25546         (__ASSUME_PSELECT): Undefine.
25548 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25550         [BZ #16689]
25551         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
25552         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
25553         static build.
25554         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
25555         selector for static builds.
25557 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25559         [BZ #16695]
25560         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
25561         key in the buffer.
25563 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25565         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
25566         IFUNC selector for static builds.
25568 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
25570         * sysdeps/mips/math_private.h [__mips_hard_float]
25571         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
25572         libc_feresetround_mips_ctx.
25573         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
25574         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
25575         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
25577         [BZ #16677]
25578         * math/s_nextafter.c (__nextafter): Do not return value from
25579         overflowing computation.
25580         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
25581         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
25582         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
25583         Likewise.
25584         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
25585         Likewise.
25586         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
25587         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
25589 2014-03-11  Roland McGrath  <roland@hack.frob.com>
25591         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
25592         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
25593         Move sfi_sp use from the load-multiple (that no longer sets sp) to
25594         the new mov targetting sp.
25596 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25598         [BZ #16683]
25599         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
25600         Define it for static builds as well.
25601         (NO_BZERO_IMPL): Likewise.
25603 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25605         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
25606         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
25607         multiarch strspn for PPC64.
25608         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
25609         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
25610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25611         (__libc_ifunc_impl_list): Likewise.
25612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
25613         multiarch optimizations
25614         * string/strspn.c (strspn): Using macro to redefine symbol name.
25616 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25617             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25619         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
25620         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
25621         multiarch strncat for PPC64.
25622         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
25623         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
25624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25625         (__libc_ifunc_impl_list): Likewise.
25626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
25627         multiarch optimizations
25629 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25631         [BZ #16639]
25632         * nscd/nscd.service: Make service type forking.
25634 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25636         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
25637         sign in non default rounding modes.
25638         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
25640 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
25642         * math/libm-test.inc (ALL_RM_TEST): New macro.
25643         (ceil_test): Use ALL_RM_TEST.
25644         (cimag_test): Likewise.
25645         (conj_test): Likewise.
25646         (copysign_test): Likewise.
25647         (cproj_test): Likewise.
25648         (creal_test): Likewise.
25649         (fabs_test): Likewise.
25650         (floor_test): Likewise.
25651         (fmax_test): Likewise.
25652         (fmin_test): Likewise.
25653         (fmod_test): Likewise.
25654         (fpclassify_test): Likewise.
25655         (frexp_test): Likewise.
25656         (ilogb_test): Likewise.
25657         (isfinite_test): Likewise.
25658         (finite_test): Likewise.
25659         (isgreater_test): Likewise.
25660         (isgreaterequal_test): Likewise.
25661         (isinf_test): Likewise.
25662         (isless_test): Likewise.
25663         (islessequal_test): Likewise.
25664         (islessgreater_test): Likewise.
25665         (isnan_test): Likewise.
25666         (isnormal_test): Likewise.
25667         (issignaling_test): Likewise.
25668         (isunordered_test): Likewise.
25669         (logb_test): Likewise.
25670         (logb_downward_test_data): Remove.
25671         (logb_test_downward): Likewise.
25672         (lround_test): Use ALL_RM_TEST.
25673         (llround_test): Likewise.
25674         (modf_test): Likewise.
25675         (nexttoward_test): Likewise.
25676         (remainder_test): Likewise.
25677         (drem_test): Likewise.
25678         (remainder_tonearest_test_data): Likewise.
25679         (remainder_test_tonearest): Likewise.
25680         (drem_test_tonearest): Likewise.
25681         (remainder_towardzero_test_data): Likewise.
25682         (remainder_test_towardzero): Likewise.
25683         (drem_test_towardzero): Likewise.
25684         (remainder_downward_test_data): Likewise.
25685         (remainder_test_downward): Likewise.
25686         (drem_test_downward): Likewise.
25687         (remainder_upward_test_data): Likewise.
25688         (remainder_test_upward): Likewise.
25689         (drem_test_upward): Likewise.
25690         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
25691         (round_test): Use ALL_RM_TEST.
25692         (signbit_test): Likewise.
25693         (trunc_test): Likewise.
25694         (significand_test): Likewise.
25695         (main): Don't call removed functions.
25697 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
25699         [BZ #16674]
25700         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
25701         || __USE_XOPEN2K8].
25702         (ILL_ILLOPN): Likewise.
25703         (ILL_ILLADR): Likewise.
25704         (ILL_ILLTRP): Likewise.
25705         (ILL_PRVOPC): Likewise.
25706         (ILL_PRVREG): Likewise.
25707         (ILL_COPROC): Likewise.
25708         (ILL_BADSTK): Likewise.
25709         (FPE_INTDIV): Likewise.
25710         (FPE_INTOVF): Likewise.
25711         (FPE_FLTDIV): Likewise.
25712         (FPE_FLTOVF): Likewise.
25713         (FPE_FLTUND): Likewise.
25714         (FPE_FLTRES): Likewise.
25715         (FPE_FLTINV): Likewise.
25716         (FPE_FLTSUB): Likewise.
25717         (SEGV_MAPERR): Likewise.
25718         (SEGV_ACCERR): Likewise.
25719         (BUS_ADRALN): Likewise.
25720         (BUS_ADRERR): Likewise.
25721         (BUS_OBJERR): Likewise.
25722         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25723         (TRAP_TRACE): Likewise.
25724         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25725         __USE_XOPEN2K8].
25726         (CLD_KILLED): Likewise.
25727         (CLD_DUMPED): Likewise.
25728         (CLD_TRAPPED): Likewise.
25729         (CLD_STOPPED): Likewise.
25730         (CLD_CONTINUED): Likewise.
25731         (POLL_IN): Likewise.
25732         (POLL_OUT): Likewise.
25733         (POLL_MSG): Likewise.
25734         (POLL_ERR): Likewise.
25735         (POLL_PRI): Likewise.
25736         (POLL_HUP): Likewise.
25737         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
25738         Likewise.
25739         (ILL_ILLOPN): Likewise.
25740         (ILL_ILLADR): Likewise.
25741         (ILL_ILLTRP): Likewise.
25742         (ILL_PRVOPC): Likewise.
25743         (ILL_PRVREG): Likewise.
25744         (ILL_COPROC): Likewise.
25745         (ILL_BADSTK): Likewise.
25746         (FPE_INTDIV): Likewise.
25747         (FPE_INTOVF): Likewise.
25748         (FPE_FLTDIV): Likewise.
25749         (FPE_FLTOVF): Likewise.
25750         (FPE_FLTUND): Likewise.
25751         (FPE_FLTRES): Likewise.
25752         (FPE_FLTINV): Likewise.
25753         (FPE_FLTSUB): Likewise.
25754         (SEGV_MAPERR): Likewise.
25755         (SEGV_ACCERR): Likewise.
25756         (BUS_ADRALN): Likewise.
25757         (BUS_ADRERR): Likewise.
25758         (BUS_OBJERR): Likewise.
25759         (BUS_MCEERR_AR): Likewise.
25760         (BUS_MCEERR_AO): Likewise.
25761         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25762         (TRAP_TRACE): Likewise.
25763         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25764         __USE_XOPEN2K8].
25765         (CLD_KILLED): Likewise.
25766         (CLD_DUMPED): Likewise.
25767         (CLD_TRAPPED): Likewise.
25768         (CLD_STOPPED): Likewise.
25769         (CLD_CONTINUED): Likewise.
25770         (POLL_IN): Likewise.
25771         (POLL_OUT): Likewise.
25772         (POLL_MSG): Likewise.
25773         (POLL_ERR): Likewise.
25774         (POLL_PRI): Likewise.
25775         (POLL_HUP): Likewise.
25776         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
25777         (ILL_ILLOPN): Likewise.
25778         (ILL_ILLADR): Likewise.
25779         (ILL_ILLTRP): Likewise.
25780         (ILL_PRVOPC): Likewise.
25781         (ILL_PRVREG): Likewise.
25782         (ILL_COPROC): Likewise.
25783         (ILL_BADSTK): Likewise.
25784         (FPE_INTDIV): Likewise.
25785         (FPE_INTOVF): Likewise.
25786         (FPE_FLTDIV): Likewise.
25787         (FPE_FLTOVF): Likewise.
25788         (FPE_FLTUND): Likewise.
25789         (FPE_FLTRES): Likewise.
25790         (FPE_FLTINV): Likewise.
25791         (FPE_FLTSUB): Likewise.
25792         (SEGV_MAPERR): Likewise.
25793         (SEGV_ACCERR): Likewise.
25794         (BUS_ADRALN): Likewise.
25795         (BUS_ADRERR): Likewise.
25796         (BUS_OBJERR): Likewise.
25797         (BUS_MCEERR_AR): Likewise.
25798         (BUS_MCEERR_AO): Likewise.
25799         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25800         (TRAP_TRACE): Likewise.
25801         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25802         __USE_XOPEN2K8].
25803         (CLD_KILLED): Likewise.
25804         (CLD_DUMPED): Likewise.
25805         (CLD_TRAPPED): Likewise.
25806         (CLD_STOPPED): Likewise.
25807         (CLD_CONTINUED): Likewise.
25808         (POLL_IN): Likewise.
25809         (POLL_OUT): Likewise.
25810         (POLL_MSG): Likewise.
25811         (POLL_ERR): Likewise.
25812         (POLL_PRI): Likewise.
25813         (POLL_HUP): Likewise.
25814         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
25815         Likewise.
25816         (ILL_ILLOPN): Likewise.
25817         (ILL_ILLADR): Likewise.
25818         (ILL_ILLTRP): Likewise.
25819         (ILL_PRVOPC): Likewise.
25820         (ILL_PRVREG): Likewise.
25821         (ILL_COPROC): Likewise.
25822         (ILL_BADSTK): Likewise.
25823         (ILL_BADIADDR): Likewise.
25824         (ILL_BREAK): Likewise.
25825         (FPE_INTDIV): Likewise.
25826         (FPE_INTOVF): Likewise.
25827         (FPE_FLTDIV): Likewise.
25828         (FPE_FLTOVF): Likewise.
25829         (FPE_FLTUND): Likewise.
25830         (FPE_FLTRES): Likewise.
25831         (FPE_FLTINV): Likewise.
25832         (FPE_FLTSUB): Likewise.
25833         (FPE_DECOVF): Likewise.
25834         (FPE_DECDIV): Likewise.
25835         (FPE_DECERR): Likewise.
25836         (FPE_INVASC): Likewise.
25837         (FPE_INVDEC): Likewise.
25838         (SEGV_MAPERR): Likewise.
25839         (SEGV_ACCERR): Likewise.
25840         (SEGV_PSTKOVF): Likewise.
25841         (BUS_ADRALN): Likewise.
25842         (BUS_ADRERR): Likewise.
25843         (BUS_OBJERR): Likewise.
25844         (BUS_MCEERR_AR): Likewise.
25845         (BUS_MCEERR_AO): Likewise.
25846         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25847         (TRAP_TRACE): Likewise.
25848         (TRAP_BRANCH): Likewise.
25849         (TRAP_HWBKPT): Likewise.
25850         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25851         __USE_XOPEN2K8].
25852         (CLD_KILLED): Likewise.
25853         (CLD_DUMPED): Likewise.
25854         (CLD_TRAPPED): Likewise.
25855         (CLD_STOPPED): Likewise.
25856         (CLD_CONTINUED): Likewise.
25857         (POLL_IN): Likewise.
25858         (POLL_OUT): Likewise.
25859         (POLL_MSG): Likewise.
25860         (POLL_ERR): Likewise.
25861         (POLL_PRI): Likewise.
25862         (POLL_HUP): Likewise.
25863         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
25864         (ILL_ILLOPN): Likewise.
25865         (ILL_ILLADR): Likewise.
25866         (ILL_ILLTRP): Likewise.
25867         (ILL_PRVOPC): Likewise.
25868         (ILL_PRVREG): Likewise.
25869         (ILL_COPROC): Likewise.
25870         (ILL_BADSTK): Likewise.
25871         (FPE_INTDIV): Likewise.
25872         (FPE_INTOVF): Likewise.
25873         (FPE_FLTDIV): Likewise.
25874         (FPE_FLTOVF): Likewise.
25875         (FPE_FLTUND): Likewise.
25876         (FPE_FLTRES): Likewise.
25877         (FPE_FLTINV): Likewise.
25878         (FPE_FLTSUB): Likewise.
25879         (SEGV_MAPERR): Likewise.
25880         (SEGV_ACCERR): Likewise.
25881         (BUS_ADRALN): Likewise.
25882         (BUS_ADRERR): Likewise.
25883         (BUS_OBJERR): Likewise.
25884         (BUS_MCEERR_AR): Likewise.
25885         (BUS_MCEERR_AO): Likewise.
25886         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25887         (TRAP_TRACE): Likewise.
25888         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25889         __USE_XOPEN2K8].
25890         (CLD_KILLED): Likewise.
25891         (CLD_DUMPED): Likewise.
25892         (CLD_TRAPPED): Likewise.
25893         (CLD_STOPPED): Likewise.
25894         (CLD_CONTINUED): Likewise.
25895         (POLL_IN): Likewise.
25896         (POLL_OUT): Likewise.
25897         (POLL_MSG): Likewise.
25898         (POLL_ERR): Likewise.
25899         (POLL_PRI): Likewise.
25900         (POLL_HUP): Likewise.
25901         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
25902         (ILL_ILLOPN): Likewise.
25903         (ILL_ILLADR): Likewise.
25904         (ILL_ILLTRP): Likewise.
25905         (ILL_PRVOPC): Likewise.
25906         (ILL_PRVREG): Likewise.
25907         (ILL_COPROC): Likewise.
25908         (ILL_BADSTK): Likewise.
25909         (FPE_INTDIV): Likewise.
25910         (FPE_INTOVF): Likewise.
25911         (FPE_FLTDIV): Likewise.
25912         (FPE_FLTOVF): Likewise.
25913         (FPE_FLTUND): Likewise.
25914         (FPE_FLTRES): Likewise.
25915         (FPE_FLTINV): Likewise.
25916         (FPE_FLTSUB): Likewise.
25917         (SEGV_MAPERR): Likewise.
25918         (SEGV_ACCERR): Likewise.
25919         (BUS_ADRALN): Likewise.
25920         (BUS_ADRERR): Likewise.
25921         (BUS_OBJERR): Likewise.
25922         (BUS_MCEERR_AR): Likewise.
25923         (BUS_MCEERR_AO): Likewise.
25924         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25925         (TRAP_TRACE): Likewise.
25926         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25927         __USE_XOPEN2K8].
25928         (CLD_KILLED): Likewise.
25929         (CLD_DUMPED): Likewise.
25930         (CLD_TRAPPED): Likewise.
25931         (CLD_STOPPED): Likewise.
25932         (CLD_CONTINUED): Likewise.
25933         (POLL_IN): Likewise.
25934         (POLL_OUT): Likewise.
25935         (POLL_MSG): Likewise.
25936         (POLL_ERR): Likewise.
25937         (POLL_PRI): Likewise.
25938         (POLL_HUP): Likewise.
25939         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
25940         (ILL_ILLOPN): Likewise.
25941         (ILL_ILLADR): Likewise.
25942         (ILL_ILLTRP): Likewise.
25943         (ILL_PRVOPC): Likewise.
25944         (ILL_PRVREG): Likewise.
25945         (ILL_COPROC): Likewise.
25946         (ILL_BADSTK): Likewise.
25947         (FPE_INTDIV): Likewise.
25948         (FPE_INTOVF): Likewise.
25949         (FPE_FLTDIV): Likewise.
25950         (FPE_FLTOVF): Likewise.
25951         (FPE_FLTUND): Likewise.
25952         (FPE_FLTRES): Likewise.
25953         (FPE_FLTINV): Likewise.
25954         (FPE_FLTSUB): Likewise.
25955         (SEGV_MAPERR): Likewise.
25956         (SEGV_ACCERR): Likewise.
25957         (BUS_ADRALN): Likewise.
25958         (BUS_ADRERR): Likewise.
25959         (BUS_OBJERR): Likewise.
25960         (BUS_MCEERR_AR): Likewise.
25961         (BUS_MCEERR_AO): Likewise.
25962         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25963         (TRAP_TRACE): Likewise.
25964         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25965         __USE_XOPEN2K8].
25966         (CLD_KILLED): Likewise.
25967         (CLD_DUMPED): Likewise.
25968         (CLD_TRAPPED): Likewise.
25969         (CLD_STOPPED): Likewise.
25970         (CLD_CONTINUED): Likewise.
25971         (POLL_IN): Likewise.
25972         (POLL_OUT): Likewise.
25973         (POLL_MSG): Likewise.
25974         (POLL_ERR): Likewise.
25975         (POLL_PRI): Likewise.
25976         (POLL_HUP): Likewise.
25977         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25978         (ILL_ILLOPN): Likewise.
25979         (ILL_ILLADR): Likewise.
25980         (ILL_ILLTRP): Likewise.
25981         (ILL_PRVOPC): Likewise.
25982         (ILL_PRVREG): Likewise.
25983         (ILL_COPROC): Likewise.
25984         (ILL_BADSTK): Likewise.
25985         (ILL_DBLFLT): Likewise.
25986         (ILL_HARDWALL): Likewise.
25987         (FPE_INTDIV): Likewise.
25988         (FPE_INTOVF): Likewise.
25989         (FPE_FLTDIV): Likewise.
25990         (FPE_FLTOVF): Likewise.
25991         (FPE_FLTUND): Likewise.
25992         (FPE_FLTRES): Likewise.
25993         (FPE_FLTINV): Likewise.
25994         (FPE_FLTSUB): Likewise.
25995         (SEGV_MAPERR): Likewise.
25996         (SEGV_ACCERR): Likewise.
25997         (BUS_ADRALN): Likewise.
25998         (BUS_ADRERR): Likewise.
25999         (BUS_OBJERR): Likewise.
26000         (BUS_MCEERR_AR): Likewise.
26001         (BUS_MCEERR_AO): Likewise.
26002         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26003         (TRAP_TRACE): Likewise.
26004         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26005         __USE_XOPEN2K8].
26006         (CLD_KILLED): Likewise.
26007         (CLD_DUMPED): Likewise.
26008         (CLD_TRAPPED): Likewise.
26009         (CLD_STOPPED): Likewise.
26010         (CLD_CONTINUED): Likewise.
26011         (POLL_IN): Likewise.
26012         (POLL_OUT): Likewise.
26013         (POLL_MSG): Likewise.
26014         (POLL_ERR): Likewise.
26015         (POLL_PRI): Likewise.
26016         (POLL_HUP): Likewise.
26017         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
26018         (ILL_ILLOPN): Likewise.
26019         (ILL_ILLADR): Likewise.
26020         (ILL_ILLTRP): Likewise.
26021         (ILL_PRVOPC): Likewise.
26022         (ILL_PRVREG): Likewise.
26023         (ILL_COPROC): Likewise.
26024         (ILL_BADSTK): Likewise.
26025         (FPE_INTDIV): Likewise.
26026         (FPE_INTOVF): Likewise.
26027         (FPE_FLTDIV): Likewise.
26028         (FPE_FLTOVF): Likewise.
26029         (FPE_FLTUND): Likewise.
26030         (FPE_FLTRES): Likewise.
26031         (FPE_FLTINV): Likewise.
26032         (FPE_FLTSUB): Likewise.
26033         (SEGV_MAPERR): Likewise.
26034         (SEGV_ACCERR): Likewise.
26035         (BUS_ADRALN): Likewise.
26036         (BUS_ADRERR): Likewise.
26037         (BUS_OBJERR): Likewise.
26038         (BUS_MCEERR_AR): Likewise.
26039         (BUS_MCEERR_AO): Likewise.
26040         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
26041         (TRAP_TRACE): Likewise.
26042         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
26043         __USE_XOPEN2K8].
26044         (CLD_KILLED): Likewise.
26045         (CLD_DUMPED): Likewise.
26046         (CLD_TRAPPED): Likewise.
26047         (CLD_STOPPED): Likewise.
26048         (CLD_CONTINUED): Likewise.
26049         (POLL_IN): Likewise.
26050         (POLL_OUT): Likewise.
26051         (POLL_MSG): Likewise.
26052         (POLL_ERR): Likewise.
26053         (POLL_PRI): Likewise.
26054         (POLL_HUP): Likewise.
26055         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
26056         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
26058         [BZ #16670]
26059         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
26060         before #include of <time.h>.
26061         [!__USE_XOPEN2K] (__need_timespec): Likewise.
26062         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
26063         (test-xfail-UNIX98/sched.h/conform): Likewise.
26065 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26067         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
26068         error absence of trapping exception support.
26069         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
26071 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
26073         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
26074         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
26075         * timezone/Makefile (testdata): Move definition above include of
26076         Rules.
26077         (test-zones): New variable.
26078         (tests-special): Add zone files.
26079         (build-testdata): Use $(evaluate-test).
26081         * elf/Makefile (tests-special): Rename tests to end with .out.
26082         ($(objpfx)noload-mem): Likewise.
26083         ($(objpfx)tst-leaks1-mem): Likewise.
26084         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
26085         * iconv/Makefile (xtests-special): Change test-iconvconfig to
26086         $(objpfx)test-iconvconfig.out.
26087         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
26088         set -e inside subshell and redirect output to file.
26089         * iconvdata/Makefile (generated): Rename tests to end with .out.
26090         Correct type.
26091         (tests-special): Rename tests to end with .out.
26092         ($(objpfx)mtrace-tst-loading): Likewise.
26093         * intl/Makefile (generated): Likewise.
26094         (tests-special): Likewise.
26095         ($(objpfx)mtrace-tst-gettext): Likewise.
26096         * misc/Makefile (generated): Likewise.
26097         (tests-special): Likewise.
26098         ($(objpfx)tst-error1-mem): Likewise.
26099         * nptl/Makefile (tests-special): Likewise.
26100         ($(objpfx)tst-stack3-mem): Likewise.
26101         (generated): Likewise.
26102         * posix/Makefile (generated): Likewise.
26103         (tests-special): Likewise.
26104         (xtests-special): Likewise.
26105         ($(objpfx)tst-fnmatch-mem): Likewise.
26106         ($(objpfx)bug-regex2-mem): Likewise.
26107         ($(objpfx)bug-regex14-mem): Likewise.
26108         ($(objpfx)bug-regex21-mem): Likewise.
26109         ($(objpfx)bug-regex31-mem): Likewise.
26110         ($(objpfx)tst-vfork3-mem): Likewise.
26111         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26112         ($(objpfx)tst-pcre-mem): Likewise.
26113         ($(objpfx)tst-boost-mem): Likewise.
26114         ($(objpfx)bug-ga2-mem): Likewise.
26115         ($(objpfx)bug-glob2-mem): Likewise.
26116         * resolv/Makefile (generate): Likewise.
26117         (tests-special): Likewise.
26118         (xtests-special): Likewise.
26119         (generated): Likewise.
26120         ($(objpfx)mtrace-tst-leaks): Likewise.
26121         ($(objpfx)mtrace-tst-leaks2): Likewise.
26123         * scripts/merge-test-results.sh: New file.
26124         * Makefile (tests-special-notdir): New variable.
26125         (tests): Run merge-test-results.sh.
26126         (xtests): Likewise.
26127         * Rules (tests-special-notdir): New variable.
26128         (xtests-special-notdir): Likewise.
26129         (tests): Run merge-test-results.sh
26130         (xtests): Likewise.
26132         * Makeconfig (test-xfail-name): New variable.
26133         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
26134         compute variable name for expected failures.
26135         * conform/Makefile (conformtest-headers-data): New variable.
26136         (conformtest-standards): Likewise.
26137         (conformtest-headers-ISO): Likewise.
26138         (conformtest-headers-ISO99): Likewise.
26139         (conformtest-headers-ISO11): Likewise.
26140         (conformtest-headers-POSIX): Likewise.
26141         (conformtest-headers-XPG3): Likewise.
26142         (conformtest-headers-XPG4): Likewise.
26143         (conformtest-headers-UNIX98): Likewise.
26144         (conformtest-headers-XOPEN2K): Likewise.
26145         (conformtest-headers-POSIX2008): Likewise.
26146         (conformtest-headers-XOPEN2K8): Likewise.
26147         (conformtest-header-list-base): Likewise.
26148         (conformtest-header-list-tests): Likewise.
26149         (conformtest-header-base): Likewise.
26150         (conformtest-header-tests): Likewise.
26151         (tests-special): Add $(conformtest-header-list-tests).  If
26152         [$(fast-check) && !$(cross-compiling)], add
26153         $(conformtest-header-tests) instead of
26154         $(objpfx)run-conformtest.out.
26155         (generated): Add $(conformtest-header-list-base).  If
26156         [$(fast-check) && !$(cross-compiling)], add
26157         $(conformtest-header-base).  Remove previous setting.
26158         ($(conformtest-header-list-tests)): New target.
26159         (test-xfail-run-conformtest): Remove variable.
26160         ($(objpfx)run-conformtest.out): Remove target.
26161         (test-xfail-ISO11/complex.h/conform): New variable.
26162         (test-xfail-ISO11/stdalign.h/conform): Likewise.
26163         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
26164         (test-xfail-XPG3/varargs.h/conform): Likewise.
26165         (test-xfail-XPG4/varargs.h/conform): Likewise.
26166         (test-xfail-UNIX98/varargs.h/conform): Likewise.
26167         (test-xfail-XPG4/ndbm.h/conform): Likewise.
26168         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
26169         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
26170         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
26171         (test-xfail-XPG3/fcntl.h/conform): Likewise.
26172         (test-xfail-XPG3/ftw.h/conform): Likewise.
26173         (test-xfail-XPG3/grp.h/conform): Likewise.
26174         (test-xfail-XPG3/langinfo.h/conform): Likewise.
26175         (test-xfail-XPG3/limits.h/conform): Likewise.
26176         (test-xfail-XPG3/pwd.h/conform): Likewise.
26177         (test-xfail-XPG3/search.h/conform): Likewise.
26178         (test-xfail-XPG3/signal.h/conform): Likewise.
26179         (test-xfail-XPG3/stdio.h/conform): Likewise.
26180         (test-xfail-XPG3/stdlib.h/conform): Likewise.
26181         (test-xfail-XPG3/string.h/conform): Likewise.
26182         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
26183         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
26184         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
26185         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
26186         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
26187         (test-xfail-XPG3/sys/types.h/conform): Likewise.
26188         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
26189         (test-xfail-XPG3/termios.h/conform): Likewise.
26190         (test-xfail-XPG3/time.h/conform): Likewise.
26191         (test-xfail-XPG3/unistd.h/conform): Likewise.
26192         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
26193         (test-xfail-XPG4/fcntl.h/conform): Likewise.
26194         (test-xfail-XPG4/langinfo.h/conform): Likewise.
26195         (test-xfail-XPG4/netdb.h/conform): Likewise.
26196         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
26197         (test-xfail-XPG4/signal.h/conform): Likewise.
26198         (test-xfail-XPG4/stdio.h/conform): Likewise.
26199         (test-xfail-XPG4/stdlib.h/conform): Likewise.
26200         (test-xfail-XPG4/stropts.h/conform): Likewise.
26201         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
26202         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
26203         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
26204         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
26205         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
26206         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
26207         (test-xfail-XPG4/sys/time.h/conform): Likewise.
26208         (test-xfail-XPG4/sys/types.h/conform): Likewise.
26209         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
26210         (test-xfail-XPG4/termios.h/conform): Likewise.
26211         (test-xfail-XPG4/ucontext.h/conform): Likewise.
26212         (test-xfail-XPG4/unistd.h/conform): Likewise.
26213         (test-xfail-XPG4/utmpx.h/conform): Likewise.
26214         (test-xfail-POSIX/sched.h/conform): Likewise.
26215         (test-xfail-POSIX/signal.h/conform): Likewise.
26216         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
26217         (test-xfail-POSIX/tar.h/conform): Likewise.
26218         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
26219         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
26220         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
26221         (test-xfail-UNIX98/netdb.h/conform): Likewise.
26222         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
26223         (test-xfail-UNIX98/sched.h/conform): Likewise.
26224         (test-xfail-UNIX98/signal.h/conform): Likewise.
26225         (test-xfail-UNIX98/stdio.h/conform): Likewise.
26226         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
26227         (test-xfail-UNIX98/stropts.h/conform): Likewise.
26228         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26229         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26230         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26231         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26232         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26233         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
26234         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
26235         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
26236         (test-xfail-UNIX98/unistd.h/conform): Likewise.
26237         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
26238         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
26239         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
26240         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
26241         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
26242         (test-xfail-XOPEN2K/math.h/conform): Likewise.
26243         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
26244         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26245         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26246         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
26247         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
26248         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
26249         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
26250         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26251         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26252         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26253         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26254         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26255         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26256         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
26257         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
26258         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
26259         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
26260         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26261         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
26262         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26263         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
26264         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
26265         (test-xfail-POSIX2008/signal.h/conform): Likewise.
26266         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26267         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
26268         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
26269         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26270         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26271         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
26272         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
26273         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26274         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26275         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
26276         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
26277         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26278         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26279         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26280         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
26281         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26282         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26283         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26284         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26285         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
26286         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
26287         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
26288         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
26289         (conformtest-cc-flags): Likewise.
26290         ($(conformtest-header-tests): New target.
26291         * conform/check-header-lists.sh: New file.
26292         * conform/run-conformtest.sh: Remove.
26294         * conform/conformtest.pl: Allow ' and \ in values given for
26295         constants.
26296         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
26297         inclusion.
26298         [POSIX] (sys/types.h): Likewise.
26299         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
26300         inclusion.
26301         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
26302         inclusion.
26303         * conform/data/signal.h-data (SIGIO): Remove expectation.
26304         [XPG3] (SIGBUS): Do not expect.
26305         [POSIX || XPG3] (SIGPOLL): Likewise.
26306         [POSIX || XPG3] (SIGPROF): Likewise.
26307         [POSIX || XPG3] (SIGSYS): Likewise.
26308         [XPG3] (SIGTRAP): Likewise.
26309         [POSIX || XPG3] (SIGURG): Likewise.
26310         [POSIX || XPG3] (SIGVTALRM): Likewise.
26311         [POSIX || XPG3] (SIGXCPU): Likewise.
26312         [POSIX || XPG3] (SIGXFSZ): Likewise.
26313         [POSIX] (SA_SIGINFO): Expect.
26314         [XPG3] (siginfo_t): Do not expect type or contents.
26315         [POSIX] (si_pid): Do not expect element.
26316         [POSIX] (si_uid): Likewise.
26317         [POSIX] (si_addr): Likewise.
26318         [POSIX] (si_status): Likewise.
26319         [POSIX] (si_band): Likewise.
26320         [XPG4] (si_value): Likewise.
26321         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
26322         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
26323         [POSIX || XPG3] (ILL_ILLADR): Likewise.
26324         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
26325         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
26326         [POSIX || XPG3] (ILL_PRVREG): Likewise.
26327         [POSIX || XPG3] (ILL_COPROC): Likewise.
26328         [POSIX || XPG3] (ILL_BADSTK): Likewise.
26329         [POSIX || XPG3] (FPE_INTDIV): Likewise.
26330         [POSIX || XPG3] (FPE_INTOVF): Likewise.
26331         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
26332         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
26333         [POSIX || XPG3] (FPE_FLTUND): Likewise.
26334         [POSIX || XPG3] (FPE_FLTRES): Likewise.
26335         [POSIX || XPG3] (FPE_FLTINV): Likewise.
26336         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
26337         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
26338         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
26339         [POSIX || XPG3] (BUS_ADRALN): Likewise.
26340         [POSIX || XPG3] (BUS_ADRERR): Likewise.
26341         [POSIX || XPG3] (BUS_OBJERR): Likewise.
26342         [POSIX || XPG3] (CLD_EXITED): Likewise.
26343         [POSIX || XPG3] (CLD_KILLED): Likewise.
26344         [POSIX || XPG3] (CLD_DUMPED): Likewise.
26345         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
26346         [POSIX || XPG3] (CLD_STOPPED): Likewise.
26347         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
26348         [POSIX || XPG3] (POLL_IN): Likewise.
26349         [POSIX || XPG3] (POLL_OUT): Likewise.
26350         [POSIX || XPG3] (POLL_MSG): Likewise.
26351         [POSIX || XPG3] (POLL_ERR): Likewise.
26352         [POSIX || XPG3] (POLL_PRI): Likewise.
26353         [POSIX || XPG3] (POLL_HUP): Likewise.
26354         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
26355         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
26356         (SIG*): Do not allow.
26357         [XPG3] (si_*): Likewise.
26358         [XPG3] (SI_*): Likewise.
26359         [XPG3 || XPG4] (sigev_*): Likewise.
26360         [XPG3 || XPG4] (SIGEV_*): Likewise.
26361         [XPG3 || XPG4] (sival_*): Likewise.
26362         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
26363         [POSIX || XPG3] (BUS_*): Likewise.
26364         [POSIX || XPG3] (CLD_*): Likewise.
26365         [POSIX || XPG3] (FPE_*): Likewise.
26366         [POSIX || XPG3] (ILL_*): Likewise.
26367         [POSIX || XPG3] (POLL_*): Likewise.
26368         [POSIX || XPG3] (SEGV_*): Likewise.
26369         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
26370         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
26371         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
26372         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
26373         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
26374         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
26375         Specify type and value.
26376         (TVERSLEN): Likewise.
26377         (REGTYPE): Likewise.
26378         (AREGTYPE): Likewise.
26379         (LNKTYPE): Likewise.
26380         (SYMTYPE): Likewise.
26381         (CHRTYPE): Likewise.
26382         (BLKTYPE): Likewise.
26383         (DIRTYPE): Likewise.
26384         (FIFOTYPE): Likewise.
26385         (CONTTYPE): Likewise.
26386         (TSUID): Likewise.
26387         (TSGID): Likewise.
26388         (TSVTX): Likewise.
26389         (TUREAD): Likewise.
26390         (TUWRITE): Likewise.
26391         (TUEXEC): Likewise.
26392         (TGREAD): Likewise.
26393         (TGWRITE): Likewise.
26394         (TGEXEC): Likewise.
26395         (TOREAD): Likewise.
26396         (TOWRITE): Likewise.
26397         (TOEXEC): Likewise.
26398         [POSIX] (TSVTX): Expect constant.
26400 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
26402         * Makefile (tests): Change dependencies to ....
26403         (tests-special): ... additions to this variable.
26404         (tests): Depend on $(tests-special).
26405         * Makerules (check-abi-list): New variable.
26406         (check-abi): Depend on $(check-abi-list).
26407         [$(subdir) = elf] (tests-special): Add
26408         $(objpfx)check-abi-libc.out.
26409         [$(build-shared) = yes && subdir] (tests-special): Add
26410         $(check-abi-list).
26411         [$(build-shared) = yes && subdir] (tests): Do not depend on
26412         check-abi.
26413         * Rules (tests): Depend on $(tests-special).
26414         (xtests): Depend on $(xtests-special).
26415         * catgets/Makefile (tests): Change dependencies to ....
26416         (tests-special): ... additions to this variable.
26417         * conform/Makefile (tests): Change dependencies to ....
26418         (tests-special): ... additions to this variable.
26419         * elf/Makefile (tests): Change dependencies to ....
26420         (tests-special): ... additions to this variable.
26421         * grp/Makefile (tests): Change dependencies to ....
26422         (tests-special): ... additions to this variable.
26423         * iconv/Makefile (xtests): Change dependencies to ....
26424         (xtests-special): ... additions to this variable.
26425         * iconvdata/Makefile (tests): Change dependencies to ....
26426         (tests-special): ... additions to this variable.
26427         * intl/Makefile (tests): Change dependencies to ....
26428         (tests-special): ... additions to this variable.  Also add
26429         $(objpfx)tst-gettext.out.
26430         * io/Makefile (tests): Change dependencies to ....
26431         (tests-special): ... additions to this variable.
26432         * libio/Makefile (tests): Change dependencies to ....
26433         (tests-special): ... additions to this variable.
26434         * malloc/Makefile (tests): Change dependencies to ....
26435         (tests-special): ... additions to this variable.
26436         * misc/Makefile (tests): Change dependencies to ....
26437         (tests-special): ... additions to this variable.
26438         * nptl/Makefile (tests): Change dependencies to ....
26439         (tests-special): ... additions to this variable.
26440         * nptl_db/Makefile (tests): Change dependencies to ....
26441         (tests-special): ... additions to this variable.
26442         * posix/Makefile (tests): Change dependencies to ....
26443         (tests-special): ... additions to this variable.
26444         (xtests): Change dependencies to ....
26445         (xtests-special): ... additions to this variable.
26446         * resolv/Makefile (tests): Change dependencies to ....
26447         (tests-special): ... additions to this variable.
26448         (xtests): Change dependencies to ....
26449         (xtests-special): ... additions to this variable.
26450         * stdio-common/Makefile (tests): Change dependencies to ....
26451         (tests-special): ... additions to this variable.
26452         (do-tst-unbputc): Remove target.
26453         (do-tst-printf): Likewise.
26454         * stdlib/Makefile (tests): Change dependencies to ....
26455         (tests-special): ... additions to this variable.
26456         * string/Makefile (tests): Change dependencies to ....
26457         (tests-special): ... additions to this variable.
26458         * sysdeps/x86/Makefile (tests): Change dependencies to ....
26459         (tests-special): ... additions to this variable.
26461         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
26462         whole file.
26463         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
26464         whole file.
26465         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
26466         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
26468         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
26469         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
26470         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
26471         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
26472         * conform/data/libgen.h-data [XPG3]: Likewise.
26473         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
26474         * conform/data/ndbm.h-data [XPG3]: Likewise.
26475         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
26476         * conform/data/netdb.h-data [XPG3]: Likewise.
26477         * conform/data/netinet/in.h-data [XPG3]: Likewise.
26478         * conform/data/poll.h-data [XPG3]: Likewise.
26479         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
26480         * conform/data/strings.h-data [XPG3]: Likewise.
26481         * conform/data/stropts.h-data [XPG3]: Likewise.
26482         * conform/data/sys/mman.h-data [XPG3]: Likewise.
26483         * conform/data/sys/resource.h-data [XPG3]: Likewise.
26484         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
26485         Likewise.
26486         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
26487         * conform/data/sys/time.h-data [XPG3]: Likewise.
26488         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
26489         * conform/data/sys/uio.h-data [XPG3]: Likewise.
26490         * conform/data/sys/un.h-data [XPG3]: Likewise.
26491         * conform/data/syslog.h-data [XPG3]: Likewise.
26492         * conform/data/ucontext.h-data [XPG3]: Likewise.
26493         * conform/data/utmpx.h-data [XPG3]: Likewise.
26494         * conform/data/varargs.h-data [UNIX98]: Enable file.
26496         * manual/Makefile (INSTALL_INFO): Remove variable setting.
26498         * math/libm-test.inc (struct test_f_f_data): Move expected results
26499         into structure for each rounding mode.
26500         (struct test_ff_f_data): Likewise.
26501         (struct test_ff_f_data_nexttoward): Likewise.
26502         (struct test_fi_f_data): Likewise.
26503         (struct test_fl_f_data): Likewise.
26504         (struct test_if_f_data): Likewise.
26505         (struct test_fff_f_data): Likewise.
26506         (struct test_c_f_data): Likewise.
26507         (struct test_f_f1_data): Likewise.
26508         (struct test_fF_f1_data): Likewise.
26509         (struct test_ffI_f1_data): Likewise.
26510         (struct test_c_c_data): Likewise.
26511         (struct test_cc_c_data): Likewise.
26512         (struct test_f_i_data): Likewise.
26513         (struct test_ff_i_data): Likewise.
26514         (struct test_f_l_data): Likewise.
26515         (struct test_f_L_data): Likewise.
26516         (struct test_fFF_11_data): Likewise.
26517         (RM_): New macro.
26518         (RM_FE_DOWNWARD): Likewise.
26519         (RM_FE_TONEAREST): Likewise.
26520         (RM_FE_TOWARDZERO): Likewise.
26521         (RM_FE_UPWARD): Likewise.
26522         (RUN_TEST_LOOP_f_f): Update references to expected results.
26523         (RUN_TEST_LOOP_2_f): Likewise.
26524         (RUN_TEST_LOOP_fff_f): Likewise.
26525         (RUN_TEST_LOOP_c_f): Likewise.
26526         (RUN_TEST_LOOP_f_f1): Likewise.
26527         (RUN_TEST_LOOP_fF_f1): Likewise.
26528         (RUN_TEST_LOOP_fI_f1): Likewise.
26529         (RUN_TEST_LOOP_ffI_f1): Likewise.
26530         (RUN_TEST_LOOP_c_c): Likewise.
26531         (RUN_TEST_LOOP_cc_c): Likewise.
26532         (RUN_TEST_LOOP_f_i): Likewise.
26533         (RUN_TEST_LOOP_f_i_tg): Likewise.
26534         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26535         (RUN_TEST_LOOP_f_b): Likewise.
26536         (RUN_TEST_LOOP_f_b_tg): Likewise.
26537         (RUN_TEST_LOOP_f_l): Likewise.
26538         (RUN_TEST_LOOP_f_L): Likewise.
26539         (RUN_TEST_LOOP_fFF_11): Likewise.
26540         * math/gen-libm-test.pl (parse_args): Output four copies of
26541         expected results for each test.
26543         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26544         (__ASSUME_UTIMES): Remove.
26545         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26546         (__ASSUME_UTIMES): Likewise.
26548         * math/gen-auto-libm-tests.c: Update comment on output format.
26549         (output_for_one_input_case): Generate before-rounding and
26550         after-rounding information as conditions on output flags not
26551         floating-point format.
26552         * math/auto-libm-test-out: Regenerated.
26553         * math/gen-libm-test.pl (cond_value): New function.
26554         (or_cond_value): Use cond_value.
26555         (generate_testfile): Handle conditional exceptions.
26557 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
26559         * math/libm-test.inc (max_valid_error): New variable.
26560         (init_max_error): Take new argument specifying whether function
26561         results are exactly determined.  Set max_valid_error and bound
26562         other variables for errors based on this argument.
26563         (set_max_error): Do not record results above max_valid_error.
26564         (check_float_internal): Only accept errors of up to 0.5ulps if
26565         also at most max_valid_error.
26566         (START): Take new argument EXACT and pass it to init_max_error.
26567         (acos_test): Update call to START.
26568         (acos_test_tonearest): Likewise.
26569         (acos_test_towardzero): Likewise.
26570         (acos_test_downward): Likewise.
26571         (acos_test_upward): Likewise.
26572         (acosh_test): Likewise.
26573         (asin_test): Likewise.
26574         (asin_test_tonearest): Likewise.
26575         (asin_test_towardzero): Likewise.
26576         (asin_test_downward): Likewise.
26577         (asin_test_upward): Likewise.
26578         (asinh_test): Likewise.
26579         (atan_test): Likewise.
26580         (atanh_test): Likewise.
26581         (atan2_test): Likewise.
26582         (cabs_test): Likewise.
26583         (cacos_test): Likewise.
26584         (cacosh_test): Likewise.
26585         (carg_test): Likewise.
26586         (casin_test): Likewise.
26587         (casinh_test): Likewise.
26588         (catan_test): Likewise.
26589         (catanh_test): Likewise.
26590         (cbrt_test): Likewise.
26591         (ccos_test): Likewise.
26592         (ccosh_test): Likewise.
26593         (ceil_test): Likewise.
26594         (cexp_test): Likewise.
26595         (cimag_test): Likewise.
26596         (clog_test): Likewise.
26597         (clog10_test): Likewise.
26598         (conj_test): Likewise.
26599         (copysign_test): Likewise.
26600         (cos_test): Likewise.
26601         (cos_test_tonearest): Likewise.
26602         (cos_test_towardzero): Likewise.
26603         (cos_test_downward): Likewise.
26604         (cos_test_upward): Likewise.
26605         (cosh_test): Likewise.
26606         (cosh_test_tonearest): Likewise.
26607         (cosh_test_towardzero): Likewise.
26608         (cosh_test_downward): Likewise.
26609         (cosh_test_upward): Likewise.
26610         (cpow_test): Likewise.
26611         (cproj_test): Likewise.
26612         (creal_test): Likewise.
26613         (csin_test): Likewise.
26614         (csinh_test): Likewise.
26615         (csqrt_test): Likewise.
26616         (ctan_test): Likewise.
26617         (ctan_test_tonearest): Likewise.
26618         (ctan_test_towardzero): Likewise.
26619         (ctan_test_downward): Likewise.
26620         (ctan_test_upward): Likewise.
26621         (ctanh_test): Likewise.
26622         (ctanh_test_tonearest): Likewise.
26623         (ctanh_test_towardzero): Likewise.
26624         (ctanh_test_downward): Likewise.
26625         (ctanh_test_upward): Likewise.
26626         (erf_test): Likewise.
26627         (erfc_test): Likewise.
26628         (exp_test): Likewise.
26629         (exp_test_tonearest): Likewise.
26630         (exp_test_towardzero): Likewise.
26631         (exp_test_downward): Likewise.
26632         (exp_test_upward): Likewise.
26633         (exp10_test): Likewise.
26634         (exp10_test_tonearest): Likewise.
26635         (exp10_test_towardzero): Likewise.
26636         (exp10_test_downward): Likewise.
26637         (exp10_test_upward): Likewise.
26638         (pow10_test): Likewise.
26639         (exp2_test): Likewise.
26640         (expm1_test): Likewise.
26641         (expm1_test_tonearest): Likewise.
26642         (expm1_test_towardzero): Likewise.
26643         (expm1_test_downward): Likewise.
26644         (expm1_test_upward): Likewise.
26645         (fabs_test): Likewise.
26646         (fdim_test): Likewise.
26647         (floor_test): Likewise.
26648         (fma_test): Likewise.
26649         (fma_test_towardzero): Likewise.
26650         (fma_test_downward): Likewise.
26651         (fma_test_upward): Likewise.
26652         (fmax_test): Likewise.
26653         (fmin_test): Likewise.
26654         (fmod_test): Likewise.
26655         (fpclassify_test): Likewise.
26656         (frexp_test): Likewise.
26657         (hypot_test): Likewise.
26658         (ilogb_test): Likewise.
26659         (isfinite_test): Likewise.
26660         (finite_test): Likewise.
26661         (isgreater_test): Likewise.
26662         (isgreaterequal_test): Likewise.
26663         (isinf_test): Likewise.
26664         (isless_test): Likewise.
26665         (islessequal_test): Likewise.
26666         (islessgreater_test): Likewise.
26667         (isnan_test): Likewise.
26668         (isnormal_test): Likewise.
26669         (issignaling_test): Likewise.
26670         (isunordered_test): Likewise.
26671         (j0_test): Likewise.
26672         (j1_test): Likewise.
26673         (jn_test): Likewise.
26674         (ldexp_test): Likewise.
26675         (lgamma_test): Likewise.
26676         (gamma_test): Likewise.
26677         (lrint_test): Likewise.
26678         (lrint_test_tonearest): Likewise.
26679         (lrint_test_towardzero): Likewise.
26680         (lrint_test_downward): Likewise.
26681         (lrint_test_upward): Likewise.
26682         (llrint_test): Likewise.
26683         (llrint_test_tonearest): Likewise.
26684         (llrint_test_towardzero): Likewise.
26685         (llrint_test_downward): Likewise.
26686         (llrint_test_upward): Likewise.
26687         (log_test): Likewise.
26688         (log10_test): Likewise.
26689         (log1p_test): Likewise.
26690         (log2_test): Likewise.
26691         (logb_test): Likewise.
26692         (logb_test_downward): Likewise.
26693         (lround_test): Likewise.
26694         (llround_test): Likewise.
26695         (modf_test): Likewise.
26696         (nearbyint_test): Likewise.
26697         (nextafter_test): Likewise.
26698         (nexttoward_test): Likewise.
26699         (pow_test): Likewise.
26700         (pow_test_tonearest): Likewise.
26701         (pow_test_towardzero): Likewise.
26702         (pow_test_downward): Likewise.
26703         (pow_test_upward): Likewise.
26704         (remainder_test): Likewise.
26705         (drem_test): Likewise.
26706         (remainder_test_tonearest): Likewise.
26707         (drem_test_tonearest): Likewise.
26708         (remainder_test_towardzero): Likewise.
26709         (drem_test_towardzero): Likewise.
26710         (remainder_test_downward): Likewise.
26711         (drem_test_downward): Likewise.
26712         (remainder_test_upward): Likewise.
26713         (drem_test_upward): Likewise.
26714         (remquo_test): Likewise.
26715         (rint_test): Likewise.
26716         (rint_test_tonearest): Likewise.
26717         (rint_test_towardzero): Likewise.
26718         (rint_test_downward): Likewise.
26719         (rint_test_upward): Likewise.
26720         (round_test): Likewise.
26721         (scalb_test): Likewise.
26722         (scalbn_test): Likewise.
26723         (scalbln_test): Likewise.
26724         (signbit_test): Likewise.
26725         (sin_test): Likewise.
26726         (sin_test_tonearest): Likewise.
26727         (sin_test_towardzero): Likewise.
26728         (sin_test_downward): Likewise.
26729         (sin_test_upward): Likewise.
26730         (sincos_test): Likewise.
26731         (sinh_test): Likewise.
26732         (sinh_test_tonearest): Likewise.
26733         (sinh_test_towardzero): Likewise.
26734         (sinh_test_downward): Likewise.
26735         (sinh_test_upward): Likewise.
26736         (sqrt_test): Likewise.
26737         (sqrt_test_tonearest): Likewise.
26738         (sqrt_test_towardzero): Likewise.
26739         (sqrt_test_downward): Likewise.
26740         (sqrt_test_upward): Likewise.
26741         (tan_test): Likewise.
26742         (tan_test_tonearest): Likewise.
26743         (tan_test_towardzero): Likewise.
26744         (tan_test_downward): Likewise.
26745         (tan_test_upward): Likewise.
26746         (tanh_test): Likewise.
26747         (tgamma_test): Likewise.
26748         (trunc_test): Likewise.
26749         (y0_test): Likewise.
26750         (y1_test): Likewise.
26751         (yn_test): Likewise.
26752         (significand_test): Likewise.
26754         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
26755         individual tests in comment.
26756         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
26757         (prev_max_error): New variable.
26758         (prev_real_max_error): Likewise.
26759         (prev_imag_max_error): Likewise.
26760         (compare_ulp_data): Don't refer to test names in comment.
26761         (find_test_ulps): Remove function.
26762         (find_function_ulps): Likewise.
26763         (find_complex_function_ulps): Likewise.
26764         (init_max_error): Take function name as argument.  Look up ulps
26765         for that function.
26766         (print_ulps): Remove function.
26767         (print_max_error): Use prev_max_error instead of calling
26768         find_function_ulps.
26769         (print_complex_max_error): Use prev_real_max_error and
26770         prev_imag_max_error instead of calling find_complex_function_ulps.
26771         (check_float_internal): Take max_ulp parameter instead of calling
26772         find_test_ulps.  Don't call print_ulps.
26773         (check_float): Update call to check_float_internal.
26774         (check_complex): Update calls to check_float_internal.
26775         (START): Pass argument to init_max_error.
26776         * math/gen-libm-test.pl (%results): Don't include "kind"
26777         information.
26778         (parse_ulps): Don't handle ulps of individual tests.
26779         (print_ulps_file): Likewise.
26780         (output_ulps): Likewise.
26781         * math/README.libm-test: Update.
26782         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
26783         individual tests.
26784         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
26785         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26786         * sysdeps/arm/libm-test-ulps: Likewise.
26787         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26788         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
26789         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
26790         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
26791         * sysdeps/microblaze/libm-test-ulps: Likewise.
26792         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26793         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26794         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26795         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26796         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26797         * sysdeps/sh/libm-test-ulps: Likewise.
26798         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26799         * sysdeps/tile/libm-test-ulps: Likewise.
26800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26802 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
26804         * math/libm-test.inc (print_complex_max_error): Check separately
26805         whether real and imaginary errors are within allowed range and
26806         pass 0 to print_complex_function_ulps instead of value within
26807         allowed range.
26809 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26811         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
26812         formatting.
26813         (get_handles_fopen): Likewise.
26814         (do_write_test): Likewise.
26816         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
26818         * libio/fileops.c (do_ftell): Use cached offset when
26819         available.
26820         * libio/iofwide.c (do_ftell_wide): Likewise.
26821         * libio/iofdopen.c (_IO_new_fdopen): Don't use
26822         _IO_file_attach.
26823         * libio/wfileops.c (_IO_fwide): Don't cache offset.
26825         [BZ #16532]
26826         * libio/libioP.h (get_file_offset): New function.
26827         * libio/fileops.c (get_file_offset): Likewise.
26828         (do_ftell): Likewise.
26829         (_IO_new_file_seekoff): Split out ftell logic.
26830         * libio/wfileops.c (do_ftell_wide): Likewise.
26831         (_IO_wfile_seekoff): Split out ftell logic.
26832         * libio/tst-ftell-active-handler.c: New test case.
26833         * libio/Makefile (tests): Add it.
26835 2014-03-03  Roland McGrath  <roland@hack.frob.com>
26837         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
26838         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
26840 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26842         [BZ #16639]
26843         * nscd/connections.c (nscd_init): Call do_exit.
26844         (start_threads): Call do_exit and notify_parent.
26845         (begin_drop_privileges): Call do_exit.
26846         (finish_drop_privileges): Likewise.
26847         * nscd/selinux.c (preserve_capabilities): Likewise.
26848         (install_real_capabilities): Likewise.
26849         (nscd_selinux_enabled): Likewise.
26850         (avc_create_thread): Likewise.
26851         (avc_alloc_lock): Likewise.
26852         (nscd_avc_init): Likewise.
26853         * nscd/nscd.c (parent_fd): New static variable.
26854         (main): Create a pipe between parent and child processes.
26855         Skip closing parent_fd.
26856         (monitor_child): New function.
26857         (do_exit): Likewise.
26858         (notify_parent): Likewise.
26859         * nscd/nscd.h (notify_parent): Likewise.
26860         (do_exit): Likewise.
26862 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
26864         * malloc/malloc.c (__libc_calloc): Revert last change.
26866 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26870 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26872         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
26873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
26874         implementation.
26875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26876         (__libc_ifunc_impl_list): Likewise.
26877         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
26878         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
26879         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
26880         * string/strrchr.c: Define STRRCHR.
26882 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
26884         * benchtest/bench-strtok.c (simple_strtok): Delete.
26885         (strtok_string): Use as benchmark.
26886         * string/strtok (STRTOK): New macro.
26888 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
26890         * manual/threads.texi: Add header and standard comments to all
26891         functions.
26893         * elf/dl-lookup.c (check_match): New function.
26894         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
26895         (do_lookup_x): Remove nested function check_match. Use non-nested
26896         function check_match.
26898 2014-02-28  Roland McGrath  <roland@hack.frob.com>
26900         * csu/Makefile (generated, before-compile): Use += rather than =.
26901         * catgets/Makefile (generated, generated-dirs): Likewise.
26902         * debug/Makefile (generated): Likewise.
26903         * dlfcn/Makefile (generated): Likewise.
26904         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
26905         * iconvdata/Makefile (before-compile, generated): Likewise.
26906         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26907         * libio/Makefile (generated): Likewise.
26908         * malloc/Makefile (generated): Likewise.
26909         * manual/Makefile (generated, generated-dirs): Likewise.
26910         * misc/Makefile (generated): Likewise.
26911         * posix/Makefile (generated): Likewise.
26912         * resolv/Makefile (generated): Likewise.
26913         * sunrpc/Makefile (generated, generated-dirs): Likewise.
26914         * timezone/Makefile (generated, generated-dirs): Likewise.
26916         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
26918 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26920         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26921         power8 implementation.
26922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
26923         file: POWER8 llround ifunc implementation.
26924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26925         (__lllround): Add POWER8 implementation.
26926         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
26927         POWER8 llround implementation.
26929         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
26930         power8 implementation.
26931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
26932         file: POWER8 llrint ifunc implementation.
26933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
26934         Add POWER8 implementation.
26935         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
26936         POWER8 llrint implementation.
26938         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
26939         power8 implementation.
26940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
26941         file: POWER8 finite ifunc implementation.
26942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
26943         Add POWER8 implementation.
26944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26945         Likewise.
26946         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26947         POWER8 finite implementation.
26948         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26951         power8 implementation.
26952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26953         file: POWER8 isinf ifunc implementation.
26954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26955         POWER8 implementation.
26956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26957         Likewise.
26958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26959         isinf implementation.
26960         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26962         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26963         (INIT_ARCH): Add hwcap2 initialization.
26964         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26965         power8 implementation.
26966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26967         file: POWER8 isnan ifunc implementation.
26968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26969         POWER8 implementation.
26970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26971         Likewise.
26972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26973         isnan implementation.
26974         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26976 2014-02-27  Joey Ye  <joey.ye@arm.com>
26978         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26979         (_FP_NANFRAC_Q): Set to zero.
26981 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26983         [BZ #16623]
26984         * math/auto-libm-test-in: New test inputs.
26985         * math/auto-libm-test-out: Regenerate.
26986         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26987         and DA.
26988         (__cos): Likewise.
26989         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26991 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
26993         * scripts/evaluate-test.sh: Take new argument indicating whether
26994         failure is expected.
26995         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26996         indicating whether failure is expected.
26997         * conform/Makefile (test-xfail-run-conformtest): New variable.
26998         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26999         level.
27000         * posix/Makefile (test-xfail-annexc): New variable.
27001         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
27003 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
27005         * argp/Makefile: Include Makeconfig immediately after defining
27006         subdir.
27007         * assert/Makefile: Likewise.
27008         * benchtests/Makefile: Likewise.
27009         * catgets/Makefile: Likewise.
27010         * conform/Makefile: Likewise.
27011         * crypt/Makefile: Likewise.
27012         * csu/Makefile: Likewise.
27013         (all): Remove target.
27014         * ctype/Makefile: Include Makeconfig immediately after defining
27015         subdir.
27016         * debug/Makefile: Likewise.
27017         * dirent/Makefile: Likewise.
27018         * dlfcn/Makefile: Likewise.
27019         * gmon/Makefile: Likewise.
27020         * gnulib/Makefile: Likewise.
27021         * grp/Makefile: Likewise.
27022         * gshadow/Makefile: Likewise.
27023         * hesiod/Makefile: Likewise.
27024         * hurd/Makefile: Likewise.
27025         (all): Remove target.
27026         * iconvdata/Makefile: Include Makeconfig immediately after
27027         defining subdir.
27028         * inet/Makefile: Likewise.
27029         * intl/Makefile: Likewise.
27030         * io/Makefile: Likewise.
27031         * libio/Makefile: Likewise.
27032         (all): Remove target.
27033         * locale/Makefile: Include Makeconfig immediately after defining
27034         subdir.
27035         * login/Makefile: Likewise.
27036         * mach/Makefile: Likewise.
27037         (all): Remove target.
27038         * malloc/Makefile: Include Makeconfig immediately after defining
27039         subdir.
27040         (all): Remove target.
27041         * manual/Makefile: Include Makeconfig immediately after defining
27042         subdir.
27043         * math/Makefile: Likewise.
27044         * misc/Makefile: Likewise.
27045         * nis/Makefile: Likewise.
27046         * nss/Makefile: Likewise.
27047         * po/Makefile: Likewise.
27048         (all): Remove target.
27049         * posix/Makefile: Include Makeconfig immediately after defining
27050         subdir.
27051         * pwd/Makefile: Likewise.
27052         * resolv/Makefile: Likewise.
27053         * resource/Makefile: Likewise.
27054         * rt/Makefile: Likewise.
27055         * setjmp/Makefile: Likewise.
27056         * shadow/Makefile: Likewise.
27057         * signal/Makefile: Likewise.
27058         * socket/Makefile: Likewise.
27059         * soft-fp/Makefile: Likewise.
27060         * stdio-common/Makefile: Likewise.
27061         * stdlib/Makefile: Likewise.
27062         * streams/Makefile: Likewise.
27063         * string/Makefile: Likewise.
27064         * sunrpc/Makefile: Likewise.
27065         (all): Remove target.
27066         * sysvipc/Makefile: Include Makeconfig immediately after defining
27067         subdir.
27068         * termios/Makefile: Likewise.
27069         * time/Makefile: Likewise.
27070         * timezone/Makefile: Likewise.
27071         (all): Remove target.
27072         * wcsmbs/Makefile: Include Makeconfig immediately after defining
27073         subdir.
27074         * wctype/Makefile: Likewise.
27076 2014-02-26  Steve Ellcey  <sellcey@mips.com>
27078         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
27079         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
27080         (libc_feholdexcept_setround_mips): Ditto.
27081         (libc_feholdsetround): New.
27082         (libc_feholdsetroundf): New.
27083         (libc_feholdsetroundl): New.
27084         (libc_feupdateenv_test_mips): New.
27085         (libc_feupdateenv_test): New.
27086         (libc_feupdateenv_testf): New.
27087         (libc_feupdateenv_testl): New.
27088         (libc_feresetround): New.
27089         (libc_feresetroundf): New.
27090         (libc_feresetroundl): New.
27091         (libc_fetestexcept_mips): New.
27092         (libc_fetestexcept): New.
27093         (libc_fetestexceptf): New.
27094         (libc_fetestexceptl): New.
27095         (HAVE_RM_CTX): New.
27096         (libc_feholdexcept_setround_mips_ctx): New.
27097         (libc_feholdexcept_setround_ctx): New.
27098         (libc_feholdexcept_setroundf_ctx): New.
27099         (libc_feholdexcept_setroundl_ctx): New.
27100         (libc_fesetenv_mips_ctx): New.
27101         (libc_fesetenv_ctx): New.
27102         (libc_fesetenv_ctxf): New.
27103         (libc_fesetenv_ctxl): New.
27104         (libc_feupdateenv_mips_ctx): New.
27105         (libc_feupdateenv_ctx): New.
27106         (libc_feupdateenvf_ctx): New.
27107         (libc_feupdateenvl_ctx): New.
27108         (libc_feholdsetround_mips_ctx): New.
27109         (libc_feholdsetround_ctx): New.
27110         (libc_feholdsetroundf_ctx): New.
27111         (libc_feholdsetroundl_ctx): New.
27112         (libc_feresetround_mips_ctx): New.
27113         (libc_feresetround_ctx): New.
27114         (libc_feresetroundf_ctx): New.
27115         (libc_feresetroundl_ctx): New.
27117 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
27119         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
27121         * manual/ipc.texi: New file.
27122         * manual/Makefile (chapters): Add ipc.
27123         * manual/job.texi: Add "Inter-Process Communication" to next.
27124         * manual/process.texi: Add "Inter-Process Communication" to prev.
27126 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27130 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
27132         * malloc/malloc.c (__libc_calloc): Simplify implementation.
27134         * manual/arith.texi: Fix spaces after sentences.
27135         * manual/charset.texi: Likewise.
27136         * manual/errno.texi: Likewise.
27137         * manual/install.texi: Likewise.
27138         * manual/llio.texi: Likewise.
27139         * manual/locale.texi: Likewise.
27140         * manual/maint.texi: Likewise.
27141         * manual/math.texi: Likewise.
27142         * manual/memory.texi: Likewise.
27143         * manual/message.texi: Likewise.
27144         * manual/probes.texi: Likewise.
27145         * manual/resource.texi: Likewise.
27146         * manual/signal.texi: Likewise.
27147         * manual/socket.texi: Likewise.
27148         * manual/stdio.texi: Likewise.
27149         * manual/string.texi: Likewise.
27150         * manual/time.texi: Likewise.
27151         * manual/users.texi: Likewise.
27153 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
27155         [BZ #16632]
27156         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
27157         _DEFAULT_SOURCE is defined.
27159 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
27160             Carlos O'Donell  <carlos@redhat.com>
27162         [BZ #16613]
27163         * elf/dl-tls.c (_dl_count_modids): New function.
27164         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
27165         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
27166         audit library and increment generation counter.
27167         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
27168         * elf/tst-audit9.c: New file.
27169         * elf/tst-auditmod9a.c: New file.
27170         * elf/tst-auditmod9b.c: New file.
27171         * elf/Makefile: Add rules to build and run tst-audit9.
27173 2014-02-25  Florian Weimer  <fweimer@redhat.com>
27175         [BZ #15347]
27176         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
27178 2014-02-25  Will Newton  <will.newton@linaro.org>
27180         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
27181         (__longjmp): Restore sp and lr before restoring callee
27182         saved registers.  Add longjmp and longjmp_target
27183         SystemTap probe point.
27184         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
27185         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
27186         Define to zero to match jmpbuf layout.
27187         * sysdeps/arm/setjmp.S: Include stap-probe.h.
27188         (__sigsetjmp): Save sp and lr before saving callee
27189         saved registers.  Add setjmp SystemTap probe point.
27191 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27193         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27195 2014-02-24  Andreas Schwab  <schwab@suse.de>
27197         [BZ #15804]
27198         * elf/pldd.c (wait_for_ptrace_stop): New function.
27199         (main): Call it after attaching.
27201 2014-02-22  Roland McGrath  <roland@hack.frob.com>
27203         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
27204         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
27205         Versions files is now verboten.
27206         * hurd/Versions (libc: GLIBC_2.0):
27207         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
27208         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
27209         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
27210         * mach/Versions: Likewise.
27212         * csu/Versions: Remove unused %include.
27213         * resolv/Versions: Likewise.
27215 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
27217         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
27218         ($(objpfx)check-local-headers.out): Likewise.
27219         ($(objpfx)begin-end-check.out): Likewise.
27220         * Makerules (check-abi-%.out): Likewise.
27221         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
27222         ($(objpfx)test2.cat): Likewise.
27223         ($(objpfx)de/libc.cat): Likewise.
27224         ($(objpfx)test-gencat.out): Likewise.
27225         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
27226         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
27227         ($(objpfx)noload-mem): Likewise.
27228         ($(objpfx)tst-pathopt.out): Likewise.
27229         ($(objpfx)tst-rtld-load-self.out): Likewise.
27230         ($(objpfx)tst-array1-cmp.out): Likewise.
27231         ($(objpfx)tst-array1-static-cmp.out): Likewise.
27232         ($(objpfx)tst-array2-cmp.out): Likewise.
27233         ($(objpfx)tst-array3-cmp.out): Likewise.
27234         ($(objpfx)tst-array4-cmp.out): Likewise.
27235         ($(objpfx)tst-array5-cmp.out): Likewise.
27236         ($(objpfx)tst-array5-static-cmp.out): Likewise.
27237         ($(objpfx)check-textrel.out): Likewise.
27238         ($(objpfx)check-execstack.out): Likewise.
27239         ($(objpfx)check-localplt.out): Likewise.
27240         ($(objpfx)order2-cmp.out): Likewise.
27241         ($(objpfx)tst-leaks1-mem): Likewise.
27242         ($(objpfx)tst-leaks1-static-mem): Likewise.
27243         ($(objpfx)tst-initorder-cmp.out): Likewise.
27244         ($(objpfx)tst-initorder2-cmp.out): Likewise.
27245         ($(objpfx)tst-unused-dep.out): Likewise.
27246         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
27247         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
27248         * iconv/Makefile (test-iconvconfig): Likewise.
27249         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
27250         ($(objpfx)iconv-test.out): Likewise.
27251         ($(objpfx)tst-tables.out): Likewise.
27252         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
27253         ($(objpfx)tst-gettext.out): Likewise.
27254         ($(objpfx)tst-translit.out): Likewise.
27255         ($(objpfx)tst-gettext2.out): Likewise.
27256         ($(objpfx)tst-gettext4.out): Likewise.
27257         ($(objpfx)tst-gettext6.out): Likewise.
27258         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
27259         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
27260         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
27261         ($(objpfx)tst-fopenloc-mem.out): Likewise.
27262         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
27263         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
27264         * posix/Makefile ($(objpfx)globtest.out): Likewise.
27265         ($(objpfx)wordexp-tst.out): Likewise.
27266         ($(objpfx)annexc.out): Likewise.
27267         ($(objpfx)tst-fnmatch-mem): Likewise.
27268         ($(objpfx)bug-regex2-mem): Likewise.
27269         ($(objpfx)bug-regex14-mem): Likewise.
27270         ($(objpfx)bug-regex21-mem): Likewise.
27271         ($(objpfx)bug-regex31-mem): Likewise.
27272         ($(objpfx)tst-vfork3-mem): Likewise.
27273         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
27274         ($(objpfx)tst-pcre-mem): Likewise.
27275         ($(objpfx)tst-boost-mem): Likewise.
27276         ($(objpfx)tst-getconf.out): Likewise.
27277         ($(objpfx)bug-ga2-mem): Likewise.
27278         ($(objpfx)bug-glob2-mem): Likewise.
27279         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
27280         ($(objpfx)mtrace-tst-leaks2): Likewise.
27281         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
27282         ($(objpfx)tst-printf.out): Likewise.
27283         ($(objpfx)tst-setvbuf1.out): Likewise.
27284         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
27285         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
27286         ($(objpfx)tst-fmtmsg.out): Likewise.
27287         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
27288         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
27290         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
27291         * bits/sigaction.h [__USE_MISC]: Likewise.
27292         * bits/waitstatus.h: Update #endif comments.
27293         * ctype/ctype.h: Likewise.
27294         * dirent/dirent.h: Likewise.
27295         [__USE_MISC]: Remove redundant conditionals.
27296         * grp/grp.h: Update #endif comments.
27297         [__USE_GNU]: Remove redundant conditionals.
27298         [__USE_MISC]: Likewise.
27299         * inet/netinet/in.h [__USE_GNU]: Likewise.
27300         * io/sys/stat.h [__USE_MISC]: Likewise.
27301         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
27302         * libio/bits/stdio.h: Update #endif comments.
27303         [__USE_MISC]: Remove redundant conditionals.
27304         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
27305         * libio/stdio.h: Update #endif comments.
27306         [__USE_MISC]: Remove redundant conditionals.
27307         * math/bits/math-finite.h [__USE_MISC]: Likewise.
27308         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
27309         * math/math.h: Update #else and #endif comments.
27310         [__USE_MISC]: Remove redundant conditionals.
27311         * misc/sys/uio.h: Update #endif comments.
27312         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
27313         * posix/glob.h [__USE_MISC]: Likewise.
27314         * posix/sys/types.h: Update #endif comments.
27315         [__USE_MISC]: Remove redundant conditionals.
27316         * posix/sys/wait.h: Update #endif comments.
27317         [__USE_MISC]: Remove redundant conditionals.
27318         * posix/unistd.h: Update #endif comments.
27319         [__USE_MISC]: Remove redundant conditionals.
27320         * pwd/pwd.h [__USE_GNU]: Likewise.
27321         [__USE_MISC]: Likewise.
27322         * resolv/netdb.h [__USE_GNU]: Likewise.
27323         * signal/signal.h: Update #endif comments.
27324         [__USE_MISC]: Remove redundant conditionals.
27325         * stdlib/stdlib.h: Update #else and #endif comments.
27326         [__USE_MISC]: Remove redundant conditionals.
27327         [__USE_GNU]: Likewise.
27328         * string/bits/string2.h [__USE_MISC]: Likewise.
27329         * string/string.h: Update #endif comments.
27330         [__USE_MISC]: Remove redundant conditionals.
27331         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
27332         Likewise.
27333         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
27334         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
27335         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
27336         Likewise.
27337         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
27338         Likewise.
27339         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
27340         comments.
27341         [__USE_MISC]: Remove redundant conditionals.
27342         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
27343         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
27344         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
27345         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
27346         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
27347         Likewise.
27348         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
27349         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
27350         Likewise.
27351         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
27352         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
27353         Likewise.
27354         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
27355         Likewise.
27356         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
27357         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
27358         Likewise.
27359         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
27360         Likewise.
27361         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
27362         * sysdeps/x86/bits/string.h: Update #endif comments.
27363         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
27364         conditionals.
27365         * time/sys/time.h: Update #endif comments.
27366         * time/time.h: Likewise.
27367         [__USE_MISC]: Remove redundant conditionals.
27369 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
27371         [BZ #16600]
27372         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
27374 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
27376         * Versions.def (librt): Add GLIBC_2.17.
27378 2014-02-21  Adam Conrad  <adconrad@0c3.net>
27380         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
27381         synonym for _SYS_AUXV_H to allow direct inclusion.
27382         * sysdeps/sparc/bits/hwcap.h: Likewise.
27383         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
27384         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
27385         * sysdeps/sparc/sysdep.h: Likewise.
27387 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27389         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
27391 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27393         * benchtests/bench-strrchr.c: Print length instead of position.
27395 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
27397         [BZ #16611]
27398         * sysdeps/unix/sysv/linux/kernel-features.h
27399         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
27400         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
27401         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
27402         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
27403         Likewise.
27404         [__i386__ || __powerpc__ || __sh__ || __sparc__]
27405         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27406         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
27407         (__ASSUME_SENDMMSG): Define instead of using previous
27408         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
27409         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27410         (__ASSUME_SENDMMSG_SYSCALL): Define.
27411         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27412         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
27413         Likewise.
27414         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27415         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
27416         Likewise.
27417         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27418         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
27419         Likewise.
27420         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
27421         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
27422         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
27423         [__ASSUME_SENDMMSG]: Change conditionals to
27424         [__ASSUME_SENDMMSG_SOCKETCALL].
27425         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27426         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
27427         Define.
27428         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27429         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
27430         Likewise.
27431         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
27432         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
27433         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
27434         [!__ASSUME_SENDMMSG]: Change conditional to
27435         [!__ASSUME_SENDMMSG_SOCKETCALL].
27436         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27437         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
27438         Define.
27440         [BZ #16610]
27441         * sysdeps/unix/sysv/linux/kernel-features.h
27442         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
27443         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
27444         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
27445         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
27446         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27447         [__i386__ || __sparc__]
27448         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27449         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
27450         (__ASSUME_RECVMMSG): Define instead of using previous
27451         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
27452         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27453         (__ASSUME_RECVMMSG_SYSCALL): Define.
27454         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27455         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27456         Likewise.
27457         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27458         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27459         Likewise.
27460         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27461         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27462         Likewise.
27463         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
27464         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
27465         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
27466         [__ASSUME_RECVMMSG]: Change condition to
27467         [__ASSUME_RECVMMSG_SOCKETCALL].
27468         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27469         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27470         Define.
27471         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27472         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27473         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27474         Likewise.
27475         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
27476         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
27477         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
27478         [!__ASSUME_RECVMMSG]: Change condition to
27479         [!__ASSUME_RECVMMSG_SOCKETCALL].
27480         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27481         (__ASSUME_RECVMMSG_SYSCALL): Define.
27483         [BZ #16609]
27484         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
27485         __powerpc__ || __s390__ || __sh__ || __sparc__]
27486         (__ASSUME_SOCKETCALL): Define.
27487         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
27488         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
27489         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
27490         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
27491         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27492         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27493         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
27494         (__ASSUME_ACCEPT4): Define instead of using previous
27495         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
27496         __powerpc__ || __sparc__ || __s390__)] condition.
27497         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27498         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
27499         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
27500         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
27501         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
27502         [!__ASSUME_ACCEPT4]: Change condition to
27503         [!__ASSUME_ACCEPT4_SOCKETCALL].
27504         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27505         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
27506         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
27507         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27508         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
27509         __ASSUME_ACCEPT4_SYSCALL.
27510         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
27511         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
27512         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27513         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
27514         __ASSUME_ACCEPT4_SYSCALL.
27515         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
27516         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
27517         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
27518         [__ASSUME_ACCEPT4]: Change condition to
27519         [__ASSUME_ACCEPT4_SOCKETCALL].
27520         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27521         (__ASSUME_SOCKETCALL): Define.
27522         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
27523         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27524         (__ASSUME_SOCKETCALL): Define.
27525         (__ASSUME_ACCEPT4): Remove.
27526         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
27527         Define.
27528         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27529         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
27530         Likewise.
27531         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27532         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
27534         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
27535         macro.
27536         (HWCAP_ARM_LPAE): Likewise.
27537         (HWCAP_ARM_EVTSTRM): Likewise.
27538         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
27539         Add vpfd32, lpae and evtstrm.
27540         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
27541         Increase to 22.
27543 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
27545         * math/auto-libm-test-in: Add tests of clog10.
27546         * math/auto-libm-test-out: Regenerated.
27547         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
27548         * sysdeps/i386/fpu/libm-test-ulps: Update.
27549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27551 2014-02-18  Andreas Schwab  <schwab@suse.de>
27553         [BZ #16574]
27554         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
27555         Store non-zero if the second buffer was newly allocated.
27556         (send_dg): Likewise.
27557         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
27558         to send_vc and send_dg.
27559         (res_nsend): Pass NULL for ansp2_malloced.
27560         * resolv/res_query.c (__libc_res_nquery): Add parameter
27561         answerp2_malloced and pass it down to __libc_res_nsend.
27562         (res_nquery): Pass additional NULL to __libc_res_nquery.
27563         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
27564         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
27565         second answer buffer if answerp2_malloced was set.
27566         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
27567         (__libc_res_nquerydomain): Add parameter
27568         answerp2_malloced and pass it down to __libc_res_nquery.
27569         (res_nquerydomain): Pass additional NULL to
27570         __libc_res_nquerydomain.
27571         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
27572         additional NULL to __libc_res_nsend and __libc_res_nquery.
27573         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
27574         additional NULL to __libc_res_nsearch.
27575         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
27576         parameter of __libc_res_nsearch to check for separately allocated
27577         second buffer.
27578         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
27579         __libc_res_nquery.
27580         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
27581         additional NULL to __libc_res_nquery.
27582         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
27583         __libc_res_nsearch.
27584         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
27585         * include/resolv.h: Update prototypes of __libc_res_nquery,
27586         __libc_res_nsearch, __libc_res_nsend.
27588 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
27590         * math/auto-libm-test-in: Add tests of fma.
27591         * math/auto-libm-test-out: Regenerated.
27592         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
27593         (fma_towardzero_test_data): Likewise.
27594         (fma_downward_test_data): Likewise.
27595         (fma_upward_test_data): Likewise.
27596         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
27597         mpc_mode.
27598         (rounding_modes): Add values for new field.
27599         (func_calc_method): Add value mpfr_fff_f.
27600         (func_calc_desc): Add mpfr_fff_f union field.
27601         (test_function): Add field exact_args.
27602         (FUNC): Add macro argument EXACT_ARGS.
27603         (FUNC_mpfr_f_f): Update call to FUNC.
27604         (FUNC_mpfr_f_f): Likewise.
27605         (FUNC_mpfr_ff_f): Likewise.
27606         (FUNC_mpfr_if_f): Likewise.
27607         (FUNC_mpc_c_f): Likewise.
27608         (FUNC_mpc_c_c): Likewise.
27609         (test_functions): Add fma.  Update calls to FUNC.
27610         (handle_input_arg): Add argument exact_args.
27611         (add_test): Update call to handle_input_arg.
27612         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
27613         (output_for_one_input_case): Update call to calc_generic_results.
27614         Recalculate exact zero results in each rounding mode.
27616         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
27617         non-negative before setting low bit.
27618         * math/auto-libm-test-in: Mark one asin test possibly having
27619         spurious underflow.
27620         * math/auto-libm-test-out: Regenerated.
27621         * sysdeps/i386/fpu/libm-test-ulps: Update.
27622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27624 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
27626         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
27627         * sysdeps/unix/sysv/linux/microblaze: Move directory from
27628         ports/sysdeps/unix/sysv/linux/microblaze.
27629         * README: Add missing listing for microblaze*-*-linux-gnu.
27631 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
27633         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
27634         duplicate code
27636 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
27638         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
27639         * sysdeps/unix/sysv/linux/ia64: Move directory from
27640         ports/sysdeps/unix/sysv/linux/ia64.
27641         * README: Update listing for ia64-*-linux-gnu.
27643 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
27644             Joseph Myers  <joseph@codesourcery.com>
27646         * Makeconfig (test-name): New variable.
27647         (evaluate-test): Likewise.
27648         * Makerules (do-test-clean): Remove .test-result files.
27649         (common-mostlyclean): Likewise.
27650         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
27651         * scripts/evaluate-test.sh: New file.
27653 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
27655         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
27656         separate $(objpfx)tst-fopenloc-cmp.out and
27657         $(objpfx)tst-fopenloc-mem.out targets.
27658         (tests): Update dependencies.
27659         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
27660         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
27661         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
27662         (tst-rxspencer-no-utf8-ARGS): New variable.
27663         (tst-rxspencer-no-utf8-ENV): Likewise.
27664         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
27665         instead of $(objpfx)tst-rxspencer-mem.
27666         ($(objpfx)tst-rxspencer-mem): Change target to
27667         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
27668         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
27669         * posix/tst-rxspencer-no-utf8.c: New file.
27671         * elf/Makefile ($(objpfx)order.out): Remove rule.
27672         [$(run-built-tests) = yes] (tests): Depend on
27673         $(objpfx)order-cmp.out.
27674         ($(objpfx)order-cmp.out): New rule.
27675         [$(run-built-tests) = yes] (tests): Depend on
27676         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
27677         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
27678         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
27679         $(objpfx)tst-array5-static-cmp.out.
27680         ($(objpfx)tst-array1.out): Remove rule.
27681         ($(objpfx)tst-array1-cmp.out): New rule.
27682         ($(objpfx)tst-array1-static.out): Remove rule.
27683         ($(objpfx)tst-array1-static-cmp.out): New rule.
27684         ($(objpfx)tst-array2.out): Remove rule.
27685         ($(objpfx)tst-array2-cmp.out): New rule.
27686         ($(objpfx)tst-array3.out): Remove rule.
27687         ($(objpfx)tst-array3-cmp.out): New rule.
27688         ($(objpfx)tst-array4.out): Remove rule.
27689         ($(objpfx)tst-array4-cmp.out): New rule.
27690         ($(objpfx)tst-array5.out): Remove rule.
27691         ($(objpfx)tst-array5-cmp.out): New rule.
27692         ($(objpfx)tst-array5-static.out): Remove rule.
27693         ($(objpfx)tst-array5-static-cmp.out): New rule.
27694         [$(run-built-tests) = yes] (tests): Depend on
27695         $(objpfx)order2-cmp.out.
27696         ($(objpfx)order2.out): Remove rule.
27697         ($(objpfx)order2-cmp.out): New rule.
27698         ($(objpfx)tst-initorder.out): Remove rule.
27699         [$(run-built-tests) = yes] (tests): Depend on
27700         $(objpfx)tst-initorder-cmp.out.
27701         ($(objpfx)tst-initorder-cmp.out): New rule.
27702         ($(objpfx)tst-initorder2.out): Remove rule.
27703         [$(run-built-tests) = yes] (tests): Depend on
27704         $(objpfx)tst-initorder2-cmp.out.
27705         ($(objpfx)tst-initorder2-cmp.out): New rule.
27706         [$(run-built-tests) = yes] (tests): Depend on
27707         $(objpfx)tst-unused-dep-cmp.out.
27708         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
27709         ($(objpfx)tst-unused-dep-cmp.out): New rule.
27710         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
27711         on $(objpfx)tst-setvbuf1-cmp.out.
27712         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
27713         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
27714         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
27715         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
27716         ($(objpfx)tst-svc.out): Remove rule.
27717         ($(objpfx)tst-svc-cmp.out): New rule.
27719 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
27721         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
27722         * ctype/ctype.h [__USE_MISC]: Likewise.
27723         * dirent/dirent.h [__USE_MISC]: Likewise.
27724         * grp/grp.h [__USE_MISC]: Likewise.
27725         * io/fcntl.h [__USE_MISC]: Likewise.
27726         * io/sys/stat.h [__USE_MISC]: Likewise.
27727         * libio/stdio.h [__USE_MISC]: Likewise.
27728         * posix/unistd.h [__USE_MISC]: Likewise.
27729         * pwd/pwd.h [__USE_MISC]: Likewise.
27730         * stdlib.h [__USE_MISC]: Likewise.
27731         * string/bits/string2.h [__USE_MISC]: Likewise.
27732         * string/string.h [__USE_MISC]: Likewise.
27733         * time/time.h [__USE_MISC]: Likewise.
27735 2014-02-13  Andreas Schwab  <schwab@suse.de>
27737         [BZ #16574]
27738         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
27739         second answer buffer if it was separately allocated.
27741 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
27743         * sysdeps/mips/math-tests.h: Include <features.h>.
27744         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27745         (ROUNDING_TESTS_long_double): Do not define.
27746         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27747         (EXCEPTION_TESTS_long_double): Likewise.
27748         * sysdeps/mips/mips64/libm-test-ulps: Update.
27750         * include/features.h (__USE_BSD): Remove macro definitions.
27751         (__USE_SVID): Likewise.
27752         (_BSD_SOURCE): Likewise.
27753         (_SVID_SOURCE): Likewise.
27754         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
27755         from definition of _DEFAULT_SOURCE.
27756         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
27757         [_DEFAULT_SOURCE].
27758         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
27759         * bits/mman.h [__USE_BSD]: Likewise.
27760         * bits/termios.h [__USE_BSD]: Likewise.
27761         * bits/waitstatus.h [__USE_BSD]: Likewise.
27762         * ctype/ctype.h [__USE_SVID]: Likewise.
27763         * dirent/dirent.h [__USE_BSD]: Likewise.
27764         * grp/grp.h [__USE_SVID]: Likewise.
27765         [__USE_BSD]: Likewise.
27766         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
27767         * io/fcntl.h [__USE_BSD]: Likewise.
27768         * io/ftw.h [__USE_BSD]: Likewise.
27769         * io/sys/stat.h [__USE_BSD]: Likewise.
27770         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
27771         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
27772         * libio/stdio.h [__USE_SVID]: Likewise.
27773         [__USE_BSD]: Likewise.
27774         * math/math.h [__USE_SVID]: Likewise.
27775         [__USE_BSD]: Likewise.
27776         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
27777         * misc/bits/syslog.h [__USE_BSD]: Likewise.
27778         * misc/search.h [__USE_SVID]: Likewise.
27779         * misc/sys/mman.h [__USE_BSD]: Likewise.
27780         * misc/sys/syslog.h [__USE_BSD]: Likewise.
27781         * misc/sys/uio.h [__USE_BSD]: Likewise.
27782         * posix/bits/unistd.h [__USE_BSD]: Likewise.
27783         * posix/glob.h [__USE_BSD]: Likewise.
27784         * posix/regex.h [__USE_BSD]: Likewise.
27785         * posix/sys/types.h [__USE_BSD]: Likewise.
27786         [__USE_SVID]: Likewise.
27787         * posix/sys/utsname.h [__USE_SVID]: Likewise.
27788         * posix/sys/wait.h [__USE_BSD]: Likewise.
27789         [__USE_SVID]: Likewise.
27790         * posix/unistd.h [__USE_BSD]: Likewise.
27791         [__USE_SVID]: Likewise.
27792         * pwd/pwd.h [__USE_SVID]: Likewise.
27793         * resolv/netdb.h [__USE_BSD]: Likewise.
27794         * setjmp/setjmp.h [__USE_BSD]: Likewise.
27795         * signal/signal.h [__USE_BSD]: Likewise.
27796         [__USE_SVID]: Likewise.
27797         * socket/sys/socket.h [__USE_BSD]: Likewise.
27798         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
27799         * stdlib/stdlib.h [__USE_BSD]: Likewise.
27800         [__USE_SVID]: Likewise.
27801         * string/bits/string2.h [__USE_BSD]: Likewise.
27802         [__USE_SVID]: Likewise.
27803         * string/bits/string3.h [__USE_BSD]: Likewise.
27804         * string/endian.h [__USE_BSD]: Likewise.
27805         * string/string.h [__USE_SVID]: Likewise.
27806         [__USE_BSD]: Likewise.
27807         * string/strings.h [__USE_BSD]: Likewise.
27808         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
27809         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
27810         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
27811         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
27812         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
27813         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
27814         Likewise.
27815         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
27816         Likewise.
27817         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
27818         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
27819         Likewise.
27820         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
27821         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
27822         Likewise.
27823         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
27824         Likewise.
27825         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
27826         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
27827         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
27828         Likewise.
27829         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
27830         Likewise.
27831         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
27832         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
27833         * termios/termios.h [__USE_BSD]: Likewise.
27834         * time/sys/time.h [__USE_BSD]: Likewise.
27835         * time/time.h [__USE_BSD]: Likewise.
27836         [__USE_SVID]: Likewise.
27838         * Makefile (subdir_targets): Remove subdir_lint.out.
27840         * stdio-common/Makefile (do-tst-unbputc): Remove target.
27841         (do-tst-printf): Likewise.
27842         (tests): Depend directly on $(objpfx)tst-unbputc.out and
27843         $(objpfx)tst-printf.out.
27845         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
27847         * Makerules (check-abi-%): Change target to
27848         $(objpfx)check-abi-%.out.
27849         (check-abi target): Update dependencies.
27850         (check-abi-pattern variable): Redirect output of diff to $@.
27851         (check-abi variable): Likewise.
27852         * elf/Makefile (check-abi): Update dependencies.
27854         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
27855         unused.
27856         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
27857         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
27858         subnormal range.
27859         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
27860         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
27861         value has largest subnormal exponent.
27862         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
27863         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
27864         * sysdeps/aarch64/soft-fp/sfp-machine.h
27865         (_FP_TININESS_AFTER_ROUNDING): New macro.
27866         * sysdeps/alpha/soft-fp/sfp-machine.h
27867         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27868         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27869         Likewise.
27870         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
27871         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27872         * sysdeps/mips/soft-fp/sfp-machine.h
27873         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27874         * sysdeps/powerpc/soft-fp/sfp-machine.h
27875         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27876         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27877         Likewise.
27878         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27879         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27880         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27881         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27882         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27883         Likewise.
27885 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
27887         [BZ #16545]
27888         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
27889         model 1.
27891 2014-02-12  Richard Henderson  <rth@redhat.com>
27893         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
27894         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
27895         * sysdeps/unix/sysv/linux/alpha: Move directory from
27896         ports/sysdeps/unix/sysv/linux/alpha.
27897         * README: Update listing for alpha-*-linux-gnu.
27899 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
27901         * include/features.h: Update comment documenting feature test
27902         macros.
27903         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
27904         _DEFAULT_SOURCE.
27905         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
27906         (_SVID_SOURCE): Likewise.
27907         (_DEFAULT_SOURCE): Update description of default features.
27908         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
27909         with _GNU_SOURCE.
27910         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27911         (S_ISVTX): Likewise.
27912         * manual/math.texi (Mathematical Constants): Likewise.
27913         * manual/signal.texi (Interrupted Primitives): Likewise.
27914         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
27915         * math/test-matherr.c (_SVID_SOURCE): Do not define.
27916         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27917         Don't refer to _SVID_SOURCE in warning text.
27919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27921         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
27922         already defined.
27923         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
27924         * sysdeps/mips/dl-lookup.c: Remove.
27925         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
27927 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27929         [BZ #16447]
27930         * math/auto-libm-test-in: Add testcase for expl.
27931         * math/auto-libm-test-out: Regenerate.
27932         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
27933         calculation of unsafe.
27934         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
27936 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27938         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
27939         * sysdeps/unix/sysv/linux/aarch64: Move directory from
27940         ports/sysdeps/unix/sysv/linux/aarch64.
27941         * README: Update listing for aarch64*-*-linux-gnu.
27943 2014-02-11  Will Newton  <will.newton@linaro.org>
27945         * manual/probes.texi (Mathematical Function Probes): Use
27946         "triggered" instead of "hit".
27948         * manual/probes.texi (Internal Probes): Add documentation
27949         of setjmp, longjmp and longjmp_target probes.
27951         * include/stap-probe.h: Add comment about probe argument
27952         format.
27954         * malloc/mtrace.c (attribute_hidden): Remove unused macro
27955         definition.  (tr_where, tr_freehook, tr_mallochook,
27956         tr_reallochook, tr_memalignhook): Use ANSI protoype.
27958 2014-02-11  David S. Miller  <davem@davemloft.net>
27960         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27961         processing int_tests.
27963 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
27965         * sysdeps/mips: Move directory from ports/sysdeps/mips.
27966         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27967         * sysdeps/unix/sysv/linux/mips: Move directory from
27968         ports/sysdeps/unix/sysv/linux/mips.
27969         * README: Update listing for mips-*-linux-gnu and
27970         mips64-*-linux-gnu.
27972 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
27974         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27975         * sysdeps/unix/sysv/linux/m68k: Move directory from
27976         ports/sysdeps/unix/sysv/linux/m68k.
27977         * README: Update listing for m68k-*-linux-gnu.
27979 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
27981         * sysdeps/tile: Move directory from ports/sysdeps/tile.
27982         * sysdeps/unix/sysv/linux/generic: Move directory from
27983         ports/sysdeps/unix/sysv/linux/generic.
27984         * sysdeps/unix/sysv/linux/tile: Move directory from
27985         ports/sysdeps/unix/sysv/linux/tile.
27986         * README: Update listing for tile*-*-linux-gnu.
27988 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
27990         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27991         __builtin_expect.
27992         * benchtests/bench-memmem.c (simple_memmem): Likewise.
27993         * catgets/open_catalog.c (__open_catalog): Likewise.
27994         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27995         * debug/confstr_chk.c: Likewise.
27996         * debug/fread_chk.c (__fread_chk): Likewise.
27997         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27998         * debug/getgroups_chk.c: Likewise.
27999         * debug/mbsnrtowcs_chk.c: Likewise.
28000         * debug/mbsrtowcs_chk.c: Likewise.
28001         * debug/mbstowcs_chk.c: Likewise.
28002         * debug/memcpy_chk.c: Likewise.
28003         * debug/memmove_chk.c: Likewise.
28004         * debug/mempcpy_chk.c: Likewise.
28005         * debug/memset_chk.c: Likewise.
28006         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28007         * debug/strcat_chk.c (__strcat_chk): Likewise.
28008         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
28009         * debug/strncat_chk.c (__strncat_chk): Likewise.
28010         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
28011         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
28012         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
28013         * debug/wcpncpy_chk.c: Likewise.
28014         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28015         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
28016         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
28017         * debug/wcsncpy_chk.c: Likewise.
28018         * debug/wcsnrtombs_chk.c: Likewise.
28019         * debug/wcsrtombs_chk.c: Likewise.
28020         * debug/wcstombs_chk.c: Likewise.
28021         * debug/wmemcpy_chk.c: Likewise.
28022         * debug/wmemmove_chk.c: Likewise.
28023         * debug/wmempcpy_chk.c: Likewise.
28024         * debug/wmemset_chk.c: Likewise.
28025         * dirent/scandirat.c (SCANDIRAT): Likewise.
28026         * dlfcn/dladdr1.c (dladdr1): Likewise.
28027         * dlfcn/dladdr.c (dladdr): Likewise.
28028         * dlfcn/dlclose.c (dlclose_doit): Likewise.
28029         * dlfcn/dlerror.c (__dlerror): Likewise.
28030         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
28031         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
28032         * dlfcn/dlopen.c (dlopen_doit): Likewise.
28033         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
28034         * dlfcn/dlsym.c (dlsym_doit): Likewise.
28035         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
28036         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
28037         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
28038         Likewise.
28039         * elf/dl-conflict.c: Likewise.
28040         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28041         * elf/dl-dst.h: Likewise.
28042         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
28043         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
28044         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28045         * elf/dl-init.c (call_init, _dl_init): Likewise.
28046         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
28047         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
28048         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
28049         Likewise.
28050         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
28051         Likewise.
28052         * elf/dl-minimal.c (__libc_memalign): Likewise.
28053         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
28054         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28055         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
28056         * elf/dl-sym.c (do_sym): Likewise.
28057         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
28058         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
28059         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
28060         * elf/dl-writev.h (_dl_writev): Likewise.
28061         * elf/ldconfig.c (search_dir): Likewise.
28062         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
28063         (dl_main): Likewise.
28064         * elf/setup-vdso.h (setup_vdso): Likewise.
28065         * grp/compat-initgroups.c (compat_call): Likewise.
28066         * grp/fgetgrent.c (fgetgrent): Likewise.
28067         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
28068         * grp/putgrent.c (putgrent): Likewise.
28069         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28070         Likewise.
28071         * hurd/hurdinit.c: Likewise.
28072         * iconvdata/8bit-gap.c (struct): Likewise.
28073         * iconvdata/ansi_x3.110.c : Likewise.
28074         * iconvdata/big5.c : Likewise.
28075         * iconvdata/big5hkscs.c : Likewise.
28076         * iconvdata/cp1255.c: Likewise.
28077         * iconvdata/cp1258.c : Likewise.
28078         * iconvdata/cp932.c : Likewise.
28079         * iconvdata/euc-cn.c: Likewise.
28080         * iconvdata/euc-jisx0213.c : Likewise.
28081         * iconvdata/euc-jp.c: Likewise.
28082         * iconvdata/euc-jp-ms.c : Likewise.
28083         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
28084         * iconvdata/gb18030.c : Likewise.
28085         * iconvdata/gbbig5.c (const): Likewise.
28086         * iconvdata/gbgbk.c: Likewise.
28087         * iconvdata/gbk.c : Likewise.
28088         * iconvdata/ibm1364.c : Likewise.
28089         * iconvdata/ibm930.c : Likewise.
28090         * iconvdata/ibm932.c: Likewise.
28091         * iconvdata/ibm933.c : Likewise.
28092         * iconvdata/ibm935.c : Likewise.
28093         * iconvdata/ibm937.c : Likewise.
28094         * iconvdata/ibm939.c : Likewise.
28095         * iconvdata/ibm943.c: Likewise.
28096         * iconvdata/iso_11548-1.c: Likewise.
28097         * iconvdata/iso-2022-cn.c : Likewise.
28098         * iconvdata/iso-2022-cn-ext.c : Likewise.
28099         * iconvdata/iso-2022-jp-3.c: Likewise.
28100         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
28101         * iconvdata/iso-2022-kr.c : Likewise.
28102         * iconvdata/iso646.c (gconv_end): Likewise.
28103         * iconvdata/iso_6937-2.c : Likewise.
28104         * iconvdata/iso_6937.c : Likewise.
28105         * iconvdata/iso8859-1.c: Likewise.
28106         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
28107         * iconvdata/shift_jisx0213.c : Likewise.
28108         * iconvdata/sjis.c : Likewise.
28109         * iconvdata/t.61.c : Likewise.
28110         * iconvdata/tcvn5712-1.c : Likewise.
28111         * iconvdata/tscii.c: Likewise.
28112         * iconvdata/uhc.c : Likewise.
28113         * iconvdata/unicode.c (gconv_end): Likewise.
28114         * iconvdata/utf-16.c (gconv_end): Likewise.
28115         * iconvdata/utf-32.c (gconv_end): Likewise.
28116         * iconvdata/utf-7.c (base64): Likewise.
28117         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
28118         * iconv/gconv_close.c (__gconv_close): Likewise.
28119         * iconv/gconv_open.c (__gconv_open): Likewise.
28120         * iconv/gconv_simple.c (internal_ucs4_loop_single)
28121         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
28122         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
28123         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
28124         (ucs4le_internal_loop_single): Likewise.
28125         * iconv/iconv.c (iconv): Likewise.
28126         * iconv/iconv_close.c: Likewise.
28127         * iconv/loop.c (SINGLE): Likewise.
28128         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
28129         * include/atomic.h: Likewise.
28130         * inet/inet6_option.c (option_alloc): Likewise.
28131         * intl/bindtextdom.c (set_binding_values): Likewise.
28132         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
28133         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
28134         * intl/localealias.c (read_alias_file): Likewise.
28135         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28136         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
28137         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
28138         * libio/fmemopen.c (fmemopen): Likewise.
28139         * libio/iofgets.c (_IO_fgets): Likewise.
28140         * libio/iofgets_u.c (fgets_unlocked): Likewise.
28141         * libio/iofgetws.c (fgetws): Likewise.
28142         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28143         * libio/iogetdelim.c (_IO_getdelim): Likewise.
28144         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
28145         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
28146         * locale/findlocale.c (_nl_find_locale): Likewise.
28147         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28148         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
28149         Likewise.
28150         * locale/setlocale.c (setlocale): Likewise.
28151         * login/programs/pt_chown.c (main): Likewise.
28152         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
28153         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
28154         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
28155         (mmap, mmap64, mremap, munmap): Likewise.
28156         * math/e_exp2l.c: Likewise.
28157         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
28158         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
28159         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
28160         * math/s_catan.c (__catan): Likewise.
28161         * math/s_catanf.c (__catanf): Likewise.
28162         * math/s_catanh.c (__catanh): Likewise.
28163         * math/s_catanhf.c (__catanhf): Likewise.
28164         * math/s_catanhl.c (__catanhl): Likewise.
28165         * math/s_catanl.c (__catanl): Likewise.
28166         * math/s_ccosh.c (__ccosh): Likewise.
28167         * math/s_ccoshf.c (__ccoshf): Likewise.
28168         * math/s_ccoshl.c (__ccoshl): Likewise.
28169         * math/s_cexp.c (__cexp): Likewise.
28170         * math/s_cexpf.c (__cexpf): Likewise.
28171         * math/s_cexpl.c (__cexpl): Likewise.
28172         * math/s_clog10.c (__clog10): Likewise.
28173         * math/s_clog10f.c (__clog10f): Likewise.
28174         * math/s_clog10l.c (__clog10l): Likewise.
28175         * math/s_clog.c (__clog): Likewise.
28176         * math/s_clogf.c (__clogf): Likewise.
28177         * math/s_clogl.c (__clogl): Likewise.
28178         * math/s_csin.c (__csin): Likewise.
28179         * math/s_csinf.c (__csinf): Likewise.
28180         * math/s_csinh.c (__csinh): Likewise.
28181         * math/s_csinhf.c (__csinhf): Likewise.
28182         * math/s_csinhl.c (__csinhl): Likewise.
28183         * math/s_csinl.c (__csinl): Likewise.
28184         * math/s_csqrt.c (__csqrt): Likewise.
28185         * math/s_csqrtf.c (__csqrtf): Likewise.
28186         * math/s_csqrtl.c (__csqrtl): Likewise.
28187         * math/s_ctan.c (__ctan): Likewise.
28188         * math/s_ctanf.c (__ctanf): Likewise.
28189         * math/s_ctanh.c (__ctanh): Likewise.
28190         * math/s_ctanhf.c (__ctanhf): Likewise.
28191         * math/s_ctanhl.c (__ctanhl): Likewise.
28192         * math/s_ctanl.c (__ctanl): Likewise.
28193         * math/w_pow.c: Likewise.
28194         * math/w_powf.c: Likewise.
28195         * math/w_powl.c: Likewise.
28196         * math/w_scalb.c (sysv_scalb): Likewise.
28197         * math/w_scalbf.c (sysv_scalbf): Likewise.
28198         * math/w_scalbl.c (sysv_scalbl): Likewise.
28199         * misc/error.c (error_tail): Likewise.
28200         * misc/pselect.c (__pselect): Likewise.
28201         * nis/nis_callback.c (__nis_create_callback): Likewise.
28202         * nis/nis_call.c (__nisfind_server): Likewise.
28203         * nis/nis_creategroup.c (nis_creategroup): Likewise.
28204         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
28205         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
28206         * nis/nis_getservlist.c (nis_getservlist): Likewise.
28207         * nis/nis_lookup.c (nis_lookup): Likewise.
28208         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
28209         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
28210         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
28211         * nis/nis_xdr.c (xdr_endpoint): Likewise.
28212         * nis/nss_compat/compat-grp.c (getgrent_next_file)
28213         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
28214         * nis/nss_compat/compat-initgroups.c (add_group)
28215         (internal_getgrent_r): Likewise.
28216         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
28217         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
28218         * nis/nss_compat/compat-spwd.c (getspent_next_file)
28219         (internal_getspnam_r): Likewise.
28220         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
28221         (_nss_nis_getaliasbyname_r): Likewise.
28222         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
28223         (_nss_nis_getntohost_r): Likewise.
28224         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
28225         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
28226         (_nss_nis_getgrgid_r): Likewise.
28227         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
28228         (internal_nis_gethostent_r, internal_gethostbyname2_r)
28229         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
28230         (_nss_nis_gethostbyname4_r): Likewise.
28231         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
28232         (initgroups_netid): Likewise.
28233         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
28234         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
28235         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
28236         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
28237         (_nss_nis_getprotobynumber_r): Likewise.
28238         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
28239         (_nss_nis_getsecretkey): Likewise.
28240         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
28241         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
28242         (_nss_nis_getpwuid_r): Likewise.
28243         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
28244         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
28245         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
28246         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
28247         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
28248         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
28249         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
28250         Likewise.
28251         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
28252         (_nss_nisplus_getntohost_r): Likewise.
28253         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
28254         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
28255         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
28256         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
28257         Likewise.
28258         * nis/nss_nisplus/nisplus-initgroups.c
28259         (_nss_nisplus_initgroups_dyn): Likewise.
28260         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
28261         (_nss_nisplus_getnetbyaddr_r): Likewise.
28262         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
28263         (_nss_nisplus_getprotobynumber_r): Likewise.
28264         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
28265         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
28266         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
28267         Likewise.
28268         * nis/nss_nisplus/nisplus-service.c
28269         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
28270         (_nss_nisplus_getservbyport_r): Likewise.
28271         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
28272         (_nss_nisplus_getspnam_r): Likewise.
28273         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
28274         Likewise.
28275         * nscd/aicache.c (addhstaiX): Likewise.
28276         * nscd/cache.c (cache_search, prune_cache): Likewise.
28277         * nscd/connections.c (register_traced_file, send_ro_fd)
28278         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
28279         (main_loop_epoll): Likewise.
28280         * nscd/grpcache.c (addgrbyX): Likewise.
28281         * nscd/hstcache.c (addhstbyX): Likewise.
28282         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28283         * nscd/mem.c (gc, mempool_alloc): Likewise.
28284         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
28285         (addinnetgrX): Likewise.
28286         * nscd/nscd-client.h (__nscd_acquire_maplock)
28287         (__nscd_drop_map_ref): Likewise.
28288         * nscd/nscd_getai.c (__nscd_getai): Likewise.
28289         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28290         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
28291         Likewise.
28292         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28293         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28294         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
28295         (__nscd_get_map_ref): Likewise.
28296         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
28297         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
28298         Likewise.
28299         * nscd/pwdcache.c (addpwbyX): Likewise.
28300         * nscd/selinux.c (preserve_capabilities): Likewise.
28301         * nscd/servicescache.c (addservbyX): Likewise.
28302         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
28303         * posix/fnmatch.c (fnmatch): Likewise.
28304         * posix/getopt.c (_getopt_internal_r): Likewise.
28305         * posix/glob.c (glob, glob_in_dir): Likewise.
28306         * posix/wordexp.c (exec_comm_child): Likewise.
28307         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
28308         (getanswer_r, gaih_getanswer_slice): Likewise.
28309         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
28310         * resolv/res_init.c: Likewise.
28311         * resolv/res_mkquery.c (res_nmkquery): Likewise.
28312         * resolv/res_query.c (__libc_res_nquery): Likewise.
28313         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
28314         Likewise.
28315         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
28316         * stdio-common/perror.c (perror): Likewise.
28317         * stdio-common/printf_fp.c (___printf_fp): Likewise.
28318         * stdio-common/tmpnam.c (tmpnam): Likewise.
28319         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28320         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28321         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28322         Likewise.
28323         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
28324         * stdlib/putenv.c (putenv): Likewise.
28325         * stdlib/setenv.c (__add_to_environ): Likewise.
28326         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28327         * stdlib/strtol_l.c (INTERNAL): Likewise.
28328         * string/memmem.c (memmem): Likewise.
28329         * string/strerror.c (strerror): Likewise.
28330         * string/strnlen.c (__strnlen): Likewise.
28331         * string/test-memmem.c (simple_memmem): Likewise.
28332         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
28333         * sunrpc/pm_getport.c (__get_socket): Likewise.
28334         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
28335         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
28336         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
28337         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
28338         Likewise.
28339         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
28340         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28341         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
28342         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
28343         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
28344         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
28345         Likewise.
28346         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
28347         Likewise.
28348         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28349         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28350         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28351         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28352         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
28353         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
28354         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28355         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
28356         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
28357         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
28358         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28359         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
28360         Likewise.
28361         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
28362         Likewise.
28363         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
28364         Likewise.
28365         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
28366         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28367         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
28368         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
28369         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
28370         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
28371         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28372         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
28373         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
28374         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
28375         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
28376         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28377         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28378         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
28379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28380         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28381         Likewise.
28382         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
28383         Likewise.
28384         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
28385         Likewise.
28386         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
28387         Likewise.
28388         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28389         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28390         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
28391         Likewise.
28392         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
28393         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
28394         * sysdeps/posix/opendir.c (__opendirat): Likewise.
28395         * sysdeps/posix/sleep.c: Likewise.
28396         * sysdeps/posix/tempname.c: Likewise.
28397         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
28398         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28399         Likewise.
28400         * sysdeps/powerpc/powerpc32/dl-machine.h
28401         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
28402         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28403         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28404         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
28405         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
28406         Likewise.
28407         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
28408         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
28409         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
28410         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
28411         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
28412         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
28413         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
28414         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
28415         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28416         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
28417         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
28418         (elf_machine_lazy_rel): Likewise.
28419         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28420         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
28421         (elf_machine_lazy_rel): Likewise.
28422         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
28423         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
28424         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
28425         * sysdeps/unix/grantpt.c (grantpt): Likewise.
28426         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
28427         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
28428         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
28429         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28430         Likewise.
28431         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28432         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28433         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
28434         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
28435         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28436         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28437         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
28438         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
28439         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
28440         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28441         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28442         Likewise.
28443         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
28444         (__posix_fallocate64_l64): Likewise.
28445         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
28446         (posix_fallocate): Likewise.
28447         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
28448         Likewise.
28449         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28450         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
28451         (getifaddrs_internal): Likewise.
28452         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
28453         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
28454         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
28455         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28456         * sysdeps/unix/sysv/linux/posix_fallocate64.c
28457         (__posix_fallocate64_l64): Likewise.
28458         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
28459         Likewise.
28460         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
28461         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
28462         (__get_clockfreq): Likewise.
28463         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
28464         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
28465         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
28466         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28467         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28468         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
28469         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
28470         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
28471         Likewise.
28472         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
28473         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
28474         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28475         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
28476         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28477         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
28478         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
28479         Likewise.
28480         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28481         (posix_fallocate): Likewise.
28482         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28483         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
28484         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
28485         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
28486         (elf_machine_rela, elf_machine_rela_relative)
28487         (elf_machine_lazy_rel): Likewise.
28488         * time/asctime.c (asctime_internal): Likewise.
28489         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
28490         * time/tzset.c (__tzset_parse_tz): Likewise.
28491         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28492         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28493         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
28494         * wcsmbs/wcsmbsload.h: Likewise.
28496         [BZ #15894]
28497         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
28499         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
28500         (arena_get2): Remove THREAD_STATS conditionals.
28501         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
28502         (__malloc_stats, int): Likewise.
28504 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
28506         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
28507         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
28509         * manual/setjmp.texi: Fix typos/grammar errors.
28511         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
28512         Only return early when n is <= 0.  Delete unused return statement.
28514         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
28515         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
28516         * debug/tst-longjmp_chk3.c: New file.
28518         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
28519         (test_main): Replace code with set_fortify_handler call.
28520         * debug/test-strcpy_chk.c: Likewise.
28521         * debug/tst-chk1.c: Likewise.
28522         * debug/tst-longjmp_chk.c: Likewise.
28523         * test-skeleton.c: Include fcntl.h & paths.h
28524         (set_fortify_handler): Define.
28526         * debug/tst-longjmp_chk.c: Add header comment and include
28527         ../test-skeleton.c.
28528         (do_test): Mark static.
28529         (TEST_FUNCTION): Define.
28531         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
28532         (IP_PMTUDISC_INTERFACE): Likewise.
28533         (IP_MULTICAST_IF): Likewise.
28534         (IP_MULTICAST_TTL): Likewise.
28535         (IP_MULTICAST_LOOP): Likewise.
28536         (IP_ADD_MEMBERSHIP): Likewise.
28537         (IP_DROP_MEMBERSHIP): Likewise.
28538         (IP_UNBLOCK_SOURCE): Likewise.
28539         (IP_BLOCK_SOURCE): Likewise.
28540         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
28541         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
28542         (IP_MSFILTER): Likewise.
28543         (MCAST_JOIN_GROUP): Likewise.
28544         (MCAST_BLOCK_SOURCE): Likewise.
28545         (MCAST_UNBLOCK_SOURCE): Likewise.
28546         (MCAST_LEAVE_GROUP): Likewise.
28547         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28548         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28549         (MCAST_MSFILTER): Likewise.
28550         (IP_MULTICAST_ALL): Likewise.
28551         (IP_UNICAST_IF): Likewise.
28553         * timezone/Makefile: Delete $(have-ksh) check.
28554         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
28555         * timezone/tzselect.ksh: Add +x mode bits.
28557         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
28558         (ANON_INODE_FS_MAGIC): Likewise.
28559         (BDEVFS_MAGIC): Likewise.
28560         (BINFMTFS_MAGIC): Likewise.
28561         (BTRFS_TEST_MAGIC): Likewise.
28562         (CRAMFS_MAGIC_WEND): Likewise.
28563         (DEBUGFS_MAGIC): Likewise.
28564         (ECRYPTFS_SUPER_MAGIC): Likewise.
28565         (EXT3_SUPER_MAGIC): Likewise.
28566         (EXT4_SUPER_MAGIC): Likewise.
28567         (FUTEXFS_SUPER_MAGIC): Likewise.
28568         (HOSTFS_SUPER_MAGIC): Likewise.
28569         (HUGETLBFS_MAGIC): Likewise.
28570         (MINIX3_SUPER_MAGIC): Likewise.
28571         (MTD_INODE_FS_MAGIC): Likewise.
28572         (NILFS_SUPER_MAGIC): Likewise.
28573         (OPENPROM_SUPER_MAGIC): Likewise.
28574         (PIPEFS_MAGIC): Likewise.
28575         (PSTOREFS_MAGIC): Likewise.
28576         (QNX6_SUPER_MAGIC): Likewise.
28577         (RAMFS_MAGIC): Likewise.
28578         (REISERFS_SUPER_MAGIC_STRING): Likewise.
28579         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
28580         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
28581         (SECURITYFS_MAGIC): Likewise.
28582         (SELINUX_MAGIC): Likewise.
28583         (SMACK_MAGIC): Likewise.
28584         (SOCKFS_MAGIC): Likewise.
28585         (SQUASHFS_MAGIC): Likewise.
28586         (STACK_END_MAGIC): Likewise.
28587         (TMPFS_MAGIC): Likewise.
28588         (USBDEVICE_SUPER_MAGIC): Likewise.
28589         (V9FS_MAGIC): Likewise.
28590         (XENFS_SUPER_MAGIC): Likewise.
28591         (CRAMFS_MAGIC): Fix typo in comment.
28592         (EXT2_SUPER_MAGIC): Update comment.
28593         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
28595 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
28597         * sysdeps/arm: Move directory from ports/sysdeps/arm.
28598         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
28599         * sysdeps/unix/sysv/linux/arm: Move directory from
28600         ports/sysdeps/unix/sysv/linux/arm.
28601         * README: Update listing for arm-*-linux-gnueabi.
28603         * README: Remove mention of am33.
28605 2014-02-07  Roland McGrath  <roland@hack.frob.com>
28607         * bits/sigset.h (__sigemptyset): Use a statement expression rather
28608         than the comma operator, to avoid "rhs of comma has no effect"
28609         compiler warnings.
28610         (__sigfillset, __sigandset, __sigorset): Likewise.
28611         * include/signal.h (__sigemptyset): Likewise.
28612         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
28614 2014-02-07  Allan McRae  <allan@archlinux.org>
28616         * version.h (RELEASE): Set to "development".
28617         (VERSION): Set to "2.19.90"
28618         * NEWS: Add 2.20 section.
28620 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
28622         [BZ #16529]
28623         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
28625 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28627         * manual/contrib.texi: Update entry for Carlos O'Donell,
28628         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
28630 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
28632         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
28634         * sysdeps/unix/sysv/linux/kernel-features.h
28635         [__LINUX_KERNEL_VERSION >= 0x020621]
28636         (__ASSUME_PROC_PID_TASK_COMM): Define.
28638 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28640         [BZ #16398]
28641         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
28642         conversion when destination buffer does not have enough space.
28643         * libio/tst-ftell-partial-wide.c: New test case.
28644         * libio/Makefile (tests): Add tst-ftell-partial-wide.
28646         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
28647         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
28648         Leonard and Allan McRae.
28650 2014-02-04  David S. Miller  <davem@davemloft.net>
28652         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
28653         32-bit.
28655 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28658         New file
28659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28660         New file
28661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28662         New file.
28663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28664         New file.
28665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28666         New file.
28667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28668         New file.
28669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28670         New file.
28671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28672         New file.
28673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28674         New file.
28675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28676         New file.
28677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28678         New file.
28679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28680         New file.
28681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28682         New file.
28684 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28686         * nptl/shlib-versions: Change powerpc*le start to 2.17.
28687         * shlib-versions: Likewise.
28689 2014-02-04  Roland McGrath  <roland@hack.frob.com>
28690             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28692         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
28693         (abilist-pattern): New variable, set to %-le.abilist.
28695         * Makerules (abilist-pattern): New variable.
28696         (vpath): Use $(abilist-pattern) in place of %.abilist.
28697         (check-abi-% pattern rule): Likewise.
28698         (check-abi, update-abi): Likewise.
28700 2014-02-04  Eric Wong  <normalperson@yhbt.net>
28702         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28704 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
28706         * manual/startup.texi: Add next, previous, and top entries for
28707         the `Program Arguments' and `Environment Variables' nodes.
28709 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
28711         * manual/macros.texi: Add comments before MTASC-safety macros.
28713         * manual/users.texi: Document MTASC-safety properties.
28715         * manual/threads.texi (pthread_key_create, pthread_key_delete)
28716         (pthread_getspecific, pthread_setspecific): Format with
28717         @deftypefun, and add @safety note.
28718         * manual/signal.texi: Move comments that analyze the above
28719         functions to their home place.
28721 2014-02-03  Allan McRae  <allan@archlinux.org>
28723         * po/sl.po: Update Slovenian translation from translation project.
28725 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
28727         * manual/time.texi (timegm): Add missing blank after @c.
28728         Reported by Joseph Myers <joseph@codesourcery.com>.
28730 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
28732         * manual/check-safety.sh: New.
28733         * manual/Makefile ($(objpfx)stamp-summary): Run it.
28735         * manual/terminal.texi: Document MTASC-safety properties.
28737         * manual/filesys.texi: Document MTASC-safety properties.
28739         * manual/errno.texi: Document MTASC-safety properties.
28741         * manual/intro.texi: Document safety identifiers and
28742         conditionals.
28744         * manual/string.texi (wcstok): Fix prototype.
28745         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
28747         * manual/time.texi: Document MTASC-safety properties.
28749         * manual/string.texi: Document MTASC-safety properties.
28751         * manual/threads.texi: Document MTASC-safety properties.
28753         * manual/stdio.texi: Document MTASC-safety properties.
28755         * manual/syslog.texi: Document MTASC-safety properties.
28757         * manual/sysinfo.texi: Document MTASC-safety properties.
28759         * manual/startup.texi: Document MTASC-safety properties.
28761         * manual/socket.texi: Document MTASC-safety properties.
28763         * manual/signal.texi: Document MTASC-safety properties.
28765 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
28767         * manual/setjmp.texi: Document MTASC-safety properties.
28769         * manual/search.texi: Document MTASC-safety properties.
28771         * manual/resource.texi: Document MTASC-safety properties.
28773         * manual/process.texi: Document MTASC-safety properties.
28775         * manual/platform.texi: Document MTASC-safety properties.
28777         * manual/pipe.texi: Document MTASC-safety properties.
28779         * manual/pattern.texi: Document MTASC-safety properties.
28781         * manual/message.texi: Document MTASC-safety properties.
28783         [BZ #12751]
28784         * manual/memory.texi: Document MTASC-safety properties.
28786         * manual/math.texi: Document MTASC-safety properties.
28788         * manual/locale.texi: Document MTASC-safety properties.
28790         * manual/llio.texi: Document MTASC-safety properties.
28792         * manual/libdl.texi: New.
28794         * manual/lang.texi: Document MTASC-safety properties.
28796         * manual/job.texi: Document MTASC-safety properties.
28798         * manual/getopt.texi: Document MTASC-safety properties.
28800         * manual/ctype.texi: Document MTASC-safety properties.
28802 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
28804         [BZ #16046]
28805         * csu/libc-tls.c (static_map): Remove variable.
28806         (__libc_setup_tls): Use main executable's link map for TLS data.
28807         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
28808         casing for LM_ID_BASE and GL(dl_nns).
28809         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
28810         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
28811         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
28812         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
28813         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
28814         member.
28815         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
28816         l_phnum members.
28818 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
28820         * manual/debug.texi: Document MTASC-safety properties.
28822 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
28824         [BZ #16510]
28825         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
28826         of __x86_64__ when disabling x87 inline functions.
28828 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
28830         * manual/charset.texi: Document MTASC-safety properties.
28832         * manual/crypt.texi: Document MTASC-safety properties.
28834         * manual/conf.texi: Document MTASC-safety properties.
28836         * manual/arith.texi: Document MTASC-safety properties.
28838         * manual/argp.texi: Document MTASC-safety properties.
28840         * manual/macros.texi: Introduce macros to document multi
28841         thread, asynchronous signal and asynchronous cancellation
28842         safety properties.
28843         * manual/intro.texi: Introduce the properties themselves.
28845 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28847         * sysdeps/sh/sh4/Makefile: New file.
28849 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
28851         * math/gen-libm-test.pl ($srcdir): New variable.
28852         ($auto_input): Use it.
28854 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28856         [BZ #16506]
28857         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
28858         access beyond array bounds when parsing netgroups file.
28860         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
28861         the old buffer before realloc.
28863 2014-01-27  Allan McRae  <allan@archlinux.org>
28865         * po/fr.po: Update French translation from translation project.
28867 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28869         * sysdeps/sh/libm-test-ulps: Regenerate.
28871 2014-01-24  David S. Miller  <davem@davemloft.net>
28873         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
28875 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28877         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
28878         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
28880 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28882         [BZ #16474]
28883         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
28884         string pointers after reallocation.
28886 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28888         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
28889         __SH4A__ instead of __SH_FPU_ANY__.
28891 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28893         * sysdeps/sh/fpu_control.h: New file.
28894         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
28895         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
28896         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
28897         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
28898         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
28899         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
28900         * sysdeps/sh/sys/ucontext.h: Remove.
28901         * sysdeps/sh/sys: Remove directory.
28903 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28905         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
28906         s390/sys/ucontext.h.
28907         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
28908         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
28910 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
28912         [BZ #15605]
28913         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
28915 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28917         [BZ#16431]
28918         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28919         Adjust the vDSO correctly for internal calls.
28920         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
28922 2014-01-20  Allan McRae  <allan@archlinux.org>
28924         * po/ca.po: Update Catalan translation from translation project.
28926 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
28928         * sysdeps/s390/sotruss-lib.c: New file.
28930 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28932         [BZ#16430]
28933         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
28934         (__GI___gettimeofday): Alias for a different internal symbol to avoid
28935         local calls issues by not having a PLT stub required for IFUNC calls.
28936         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
28938 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
28940         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
28941         * math/test-fpucw-static.c: Likewise.
28943 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28945         [BZ #16453]
28946         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28948 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28950         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28951         implementation for powerpc.
28953 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
28955         [BZ #14782]
28956         * sysdeps/posix/system.c (__libc_system): Do not enable
28957         asynchronous cancellation.
28959 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28961         [BZ #16427]
28962         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28963         handling only for numbers special also in the IEEE case.
28965 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28967         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28969 2014-01-11  Allan McRae  <allan@archlinux.org>
28971         * po/bg.po: Update Bulgarian translation from translation project.
28973         * po/de.po: Update German translation from translation project.
28975 2014-01-10  Roland McGrath  <roland@hack.frob.com>
28977         * sysdeps/generic/gcc-compat.h: New file.
28979 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28981         * benchtests/asin-inputs: Correct slow inputs.
28982         * benchtests/acos-inputs: Likewise.
28984 2014-01-10  Allan McRae  <allan@archlinux.org>
28986         * po:sv.po: Update Swedish translation from translation project.
28988         * po/vi.po: Update Vietnamese translation from translation project.
28990         * po/eo.po: Update Esperanto translation from translation project.
28992         * po/cs.po: Update Czech translation from translation project.
28994         * po/nl.po: Update Dutch translation from translation project.
28996         * po/pl.po: Update Polish translation from translation project.
28998         * po/ru.po: Update Russian translation from translation project.
29000         * po/uk.po: Update Ukrainian translation from translation project.
29002 2014-01-08  Brooks Moses  <bmoses@google.com>
29004         * elf/dl-load.c: Fix comment typo.
29006 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
29008         * po/header.pot: Rename to...
29009         * po/pot.header: ... this.
29010         * po/Makefile: Use pot.header.
29012 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
29013             Maxim Kuvyrkov  <maxim@kugelworks.com>
29015         [BZ #16394]
29016         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
29017         SRC and DEST against LEN.
29019 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29021         [BZ #16414]
29022         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
29023         implementation.
29024         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
29026 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29030 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
29032         [BZ #16408]
29033         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
29034         for large positive arguments.
29036 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
29038         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29040         * math/auto-libm-test-in: Mark various tests with
29041         xfail-rounding:ldbl-128ibm.
29042         * math/auto-libm-test-out: Regenerated.
29044         [BZ #16407]
29045         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29046         Increase overflow threshold.
29048 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
29050         [BZ #14286]
29051         * stdio-common/vfprintf.c: Check for integer overflow.
29053 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29055         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
29056         the first argument and return value of __tls_get_addr_internal.
29058 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29060         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
29061         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
29063 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29065         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
29066         * sysdeps/s390/rtld-global-offsets.sym: New file.
29067         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
29068         GLIBC_2.19 symbol.
29069         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
29070         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
29071         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29072         ... this.
29073         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
29074         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29075         ... this.
29076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29077         Regenerate.
29078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29079         Regenerate.
29080         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
29081         halfs of GPRs for high_gprs contexts.
29082         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
29083         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
29084         field.
29085         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
29086         uc_flags field.
29087         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
29088         64 bit versions:
29089         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
29090         for high GPRs (uc_high_gprs) and for future extensions
29091         (__reserved).
29092         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
29093         for future extensions (__reserved).
29094         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
29095         64 bit versions:
29096         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
29097         SC_HIGHGPRS offset definition.
29098         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
29099         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
29101         * Versions.def: Add GLIBC_2.19 for libpthread.
29102         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
29103         siglongjmp for libpthread with GLIBC_2.19 symver.
29104         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
29105         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
29106         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
29107         * sysdeps/s390/__longjmp.c: New file.
29108         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
29109         * sysdeps/s390/longjmp.c: New file.
29110         * sysdeps/s390/setjmp.S: New file.
29111         * sysdeps/s390/sigjmp.S: New file.
29112         * sysdeps/s390/v1-longjmp.c: New file.
29113         * sysdeps/s390/v1-setjmp.h: New file.
29114         * sysdeps/s390/v1-sigjmp.c: New file.
29115         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
29116         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
29117         GLIBC_2.19 version.
29118         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
29119         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
29120         versioned symbols for ____longjmp_chk.
29121         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29122         Likewise.
29123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29124         Regenerate.
29125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29126         Regenerate.
29127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29128         Regenerate.
29129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29130         Regenerate.
29131         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
29132         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
29133         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
29134         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
29135         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
29136         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
29137         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
29138         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
29139         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
29140         * sysdeps/s390/rtld-__longjmp.c: New file.
29141         * sysdeps/s390/rtld-setjmp.S: New file.
29143 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
29145         [BZ #16400]
29146         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29147         Return -__logl (x) for small positive arguments without evaluating
29148         a polynomial.
29150 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
29152         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
29153         Rename to ...
29154         (__ptrace_peeksiginfo_args): ... this.
29155         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29156         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29157         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29159 2014-01-06  Allan McRae  <allan@archlinux.org>
29161         * inet/netinet/in.h: Fix typo in comment.
29163 2014-01-05  Andreas Jaeger  <aj@suse.de>
29165         * sysdeps/i386/fpu/libm-test-ulps: Update.
29167 2014-01-05  Allan McRae  <allan@archlinux.org>
29169         * po/libc.pot: Regenerated.
29171         * malloc/memusagestat.c: Fix gettext call formatting.
29173 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
29175         * nscd/nscd.c: Improve usage() output.
29177 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
29179         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
29180         * sysdeps/unix/sysv/linux/configure: Regenerated.
29181         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
29182         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
29184 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
29186         [BZ #16390]
29187         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29188         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
29190 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29192         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
29193         extra tokens at end of #undef directive.
29194         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29195         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29196         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
29198 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
29200         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29202         * math/auto-libm-test-in: Mark various tests with
29203         xfail-rounding:ldbl-128ibm.
29204         * math/auto-libm-test-out: Regenerated.
29206 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
29208         [BZ #16386]
29209         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
29210         numbers with subnormal high part when calculating exponent.
29212         [BZ #16385]
29213         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
29214         fabs.
29216         [BZ #16384]
29217         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
29218         M_LN2l.
29219         (__ieee754_acoshl): Use __log1pl not __log1p.
29221 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
29223         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
29224         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
29225         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
29226         (grow_heap, heap_trim, _int_new_arena, get_free_list)
29227         (reused_arena, arena_get2): Convert to GNU style.
29228         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
29229         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
29230         (memalign_check, __malloc_set_state): Likewise.
29231         * malloc/mallocbug.c (main): Likewise.
29232         * malloc/malloc.c (__malloc_assert, malloc_init_state)
29233         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
29234         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
29235         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
29236         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
29237         (__posix_memalign, malloc_info): Likewise.
29238         * malloc/malloc.h: Likewise.
29239         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
29240         (mallochook, memalignhook, reallochook, mabort): Likewise.
29241         * malloc/mcheck.h: Likewise.
29242         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
29243         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
29244         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
29245         * malloc/morecore.c (__default_morecore): Likewise.
29246         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
29247         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
29248         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
29249         (print_and_abort): Likewise.
29250         * malloc/obstack.h: Likewise.
29251         * malloc/set-freeres.c (__libc_freeres): Likewise.
29252         * malloc/tst-mallocstate.c (main): Likewise.
29253         * malloc/tst-mtrace.c (main): Likewise.
29254         * malloc/tst-realloc.c (do_test): Likewise.
29256 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29258         [BZ #16366]
29259         * nscd/netgroupcache.c (do_notfound): New function.
29260         (addgetnetgrentX): Use it.
29262         [BZ # 16365]
29263         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
29264         NSS_STATUS_NOTFOUND.
29266 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
29268         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29271 2014-01-01  Allan McRae  <allan@archlinux.org>
29273         * scripts/update-copyrights: Update configure input file suffix.
29275         * NEWS: Update copyright year.
29276         * catgets/gencat.c: Likewise.
29277         * csu/version.c: Likewise.
29278         * debug/catchsegv.sh: Likewise.
29279         * debug/pcprofiledump.c: Likewise.
29280         * debug/xtrace.sh: Likewise.
29281         * elf/ldconfig.c: Likewise.
29282         * elf/ldd.bash.in: Likewise.
29283         * elf/pldd.c: Likewise.
29284         * elf/sotruss.ksh: Likewise.
29285         * elf/sprof.c: Likewise.
29286         * iconv/iconv_prog.c: Likewise.
29287         * iconv/iconvconfig.c: Likewise.
29288         * locale/programs/locale.c: Likewise.
29289         * locale/programs/localedef.c: Likewise.
29290         * login/programs/pt_chown.c: Likewise.
29291         * malloc/memusage.sh: Likewise.
29292         * malloc/memusagestat.c: Likewise.
29293         * malloc/mtrace.pl: Likewise.
29294         * manual/libc.texinfo: Likewise.
29295         * nscd/nscd.c: Likewise.
29296         * nss/getent.c: Likewise.
29297         * nss/makedb.c: Likewise.
29298         * posix/getconf.c: Likewise.
29299         * scripts/test-installation.pl: Likewise.
29301         * All files with FSF copyright notices: Update copyright dates
29302         using scripts/update-copyrights.
29303         * intl/plural.c: Regenerated.
29304         * locale/programs/charmap-kw.h: Likewise.
29305         * locale/programs/locfile-kw.h: Likewise.
29307 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
29309         * sysdeps/unix/sysv/linux/configure: Regenerated.
29310         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
29311         the linux/fanotify.h header.
29312         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
29313         HAVE_LINUX_FANOTIFY_H is defined.
29315 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29317         * benchtests/cos-inputs: New inputs.
29318         * benchtests/sin-inputs: Likewise.
29320         * benchtests/atan-inputs: New inputs. Fix name of multiple
29321         precision fallback inputs.
29323         * benchtests/atanh-inputs: New inputs.
29324         * benchtests/tanh-inputs: Likewise.
29326         * benchtests/acosh-inputs: New inputs.
29327         * benchtests/asinh-inputs: Likewise.
29329         * benchtests/cosh-inputs: New inputs.
29330         * benchtests/sinh-inputs: Likewise.
29332         * benchtests/acos-inputs: Add more inputs.
29333         * benchtests/asin-inputs: Likewise.
29335 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
29337         [BZ #16375]
29338         * manual/arith.texi: Fix spelling.
29339         * manual/charset.texi: Likewise.
29340         * manual/errno.texi: Likewise.
29341         * manual/filesys.texi: Likewise.
29342         * manual/lang.texi: Likewise.
29343         * manual/llio.texi: Likewise.
29344         * manual/locale.texi: Likewise.
29345         * manual/message.texi: Likewise.
29346         * manual/resource.texi: Likewise.
29347         * manual/search.texi: Likewise.
29348         * manual/setjmp.texi: Likewise.
29349         * manual/stdio.texi: Likewise.
29350         * manual/string.texi: Likewise.
29351         * manual/sysinfo.texi: Likewise.
29352         * manual/time.texi: Likewise.
29354 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
29356         * po/sl.po: New file.
29358 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
29360         * .gitignore: Add core/.gdbinit/.gdb_history.
29362 2013-12-27  Allan McRae  <allan@archlinux.org>
29364         [BZ #16369]
29365         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
29366         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
29368 2013-12-24  Brooks Moses  <bmoses@google.com>
29370         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
29371         all compilers that claim C++98 compliance, not just GCC.
29372         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
29373         Likewise.
29375 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
29377         * NEWS: Restore accidentally deleted bug-fix entries.
29379 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
29380             Ondřej Bílka  <neleai@seznam.cz>
29382         [BZ #15073]
29383         * malloc/malloc.c (_int_free): Perform sanity check only if we
29384         have_lock.
29386 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
29388         [BZ #12986]
29389         * manual/stdio.texi (String Input Conversions): Clarify that character
29390         classes are not supported.
29392 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29396 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
29398         [BZ #16337]
29399         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29400         Calculate results for small negative arguments directly rather
29401         than using reflection formula with special underflow handling.
29403         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
29404         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
29405         sysdeps/unix/bsd/bsd4.4/syscalls.list.
29406         (fchflags): Likewise.
29407         (revoke): Likewise.
29408         (setlogin): Likewise.
29409         (sigaltstack): Likewise.
29410         (wait4): Likewise.
29411         (sigblock): Remove.
29412         (sigsetmask): Likewise.
29413         (wait3): Likewise.
29414         (waitpid): Likewise.
29415         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
29416         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
29417         file.
29418         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
29419         * sysdeps/unix/bsd/Makefile: ... here.
29420         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
29421         * sysdeps/unix/bsd/Versions: ... here.
29422         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
29423         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
29424         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
29425         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
29426         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
29427         * sysdeps/unix/bsd/sigblock.c: ... here.
29428         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
29429         * sysdeps/unix/bsd/sigsetmask.c: ... here.
29430         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
29431         * sysdeps/unix/bsd/sigvec.c: ... here.
29432         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
29433         * sysdeps/unix/bsd/tcdrain.c: ... here.
29434         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
29435         * sysdeps/unix/bsd/tcgetattr.c: ... here.
29436         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
29437         * sysdeps/unix/bsd/tcsetattr.c: ... here.
29438         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
29439         * sysdeps/unix/bsd/wait.c: ... here.
29440         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
29441         * sysdeps/unix/bsd/wait3.c: ... here.
29442         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
29443         * sysdeps/unix/bsd/waitpid.c: ... here.
29445 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
29447         [BZ #16356]
29448         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
29449         round-to-nearest for [!USE_AS_EXPM1L].
29450         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
29451         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
29452         more tests of exp and exp10.  Expect some exp10 tests to miss
29453         exceptions or fail in directed rounding modes.
29454         * math/auto-libm-test-out: Regenerated.
29455         * math/libm-test.inc (exp10_tonearest_test_data): New array.
29456         (exp10_test_tonearest): New function.
29457         (exp10_towardzero_test_data): New array.
29458         (exp10_test_towardzero): New function.
29459         (exp10_downward_test_data): New array.
29460         (exp10_test_downward): New function.
29461         (exp10_upward_test_data): New array.
29462         (exp10_test_upward): New function.
29463         (main): Call the new functions.
29464         * sysdeps/i386/fpu/libm-test-ulps: Update.
29465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29467 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
29469         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29470         asinh, atan, atan2, atanh, cbrt, cos and cosh.
29471         * math/auto-libm-test-out: Regenerated.
29472         * math/libm-test.inc (acosh_test_data): Add more tests.
29473         (atanh_test_data): Likewise.
29474         (ceil_test_data): Likewise.
29475         (copysign_test_data): Likewise.
29476         * sysdeps/i386/fpu/libm-test-ulps: Update.
29477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29479         * timezone/checktab.awk: Update from tzcode 2013i.
29480         * timezone/private.h: Likewise.
29481         * timezone/scheck.c: Likewise.
29482         * timezone/tzfile.h: Likewise.
29483         * timezone/tzselect.ksh: Likewise.
29484         * timezone/zdump.c: Likewise.
29485         * timezone/zic.c: Likewise.
29487         * math/auto-libm-test-in: Add tests of cpow.
29488         * math/auto-libm-test-out: Regenerated.
29489         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
29490         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29491         mpc_cc_c.
29492         (func_calc_desc): Add mpc_cc_c union field.
29493         (test_functions): Add cpow.
29494         (special_fill_2pi): New function.
29495         (special_real_inputs): Add 2pi.
29496         (calc_generic_results): Handle mpc_cc_c.
29497         * sysdeps/i386/fpu/libm-test-ulps: Update.
29498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29500         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
29501         csqrt, ctan and ctanh.
29502         * math/auto-libm-test-out: Regenerated.
29503         * math/libm-test.inc (TEST_COND_x86_64): New macro.
29504         (TEST_COND_x86): Likewise.
29505         (ccos_test_data): Use AUTO_TESTS_c_c.
29506         (ccosh_test_data): Likewise.
29507         (cexp_test_data): Likewise.
29508         (clog_test_data): Likewise.
29509         (csqrt_test_data): Likewise.
29510         (ctan_test_data): Likewise.
29511         (ctan_tonearest_test_data): Likewise.
29512         (ctan_towardzero_test_data): Likewise.
29513         (ctan_downward_test_data): Likewise.
29514         (ctan_upward_test_data): Likewise.
29515         (ctanh_test_data): Likewise.
29516         (ctanh_tonearest_test_data): Likewise.
29517         (ctanh_towardzero_test_data): Likewise.
29518         (ctanh_downward_test_data): Likewise.
29519         (ctanh_upward_test_data): Likewise.
29520         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29521         mpc_c_c.
29522         (func_calc_desc): Add mpc_c_c union field.
29523         (FUNC_mpc_c_c): New macro.
29524         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
29525         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
29526         ctanh.
29527         (special_fill_min_subnorm_p120): New function.
29528         (special_real_inputs): Add min_subnorm_p120.
29529         (calc_generic_results): Handle mpc_c_c.
29530         * sysdeps/i386/fpu/libm-test-ulps: Update.
29531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29533 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29535         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
29536         (do_sin_slow): New functions.
29537         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
29538         (cslow2, csloww1, csloww2): Use the new functions.
29540         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
29541         Use M to change sign of result instead of X.  Assume X is
29542         positive.
29543         (csloww1): Likewise.
29544         (__sin): Adjust.
29545         (__cos): Adjust.
29547         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
29548         arguments A and DA.
29549         (__sin): Adjust.
29550         (__cos): Likewise.
29552         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
29553         (__cos): Likewise.
29554         (sloww1): Don't adjust sign of DX.
29555         (csloww1): Likewise.
29556         (sloww2): Use X directly and don't adjust sign of DX.
29557         (csloww2): Likewise.
29559 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29561         * math/auto-libm-test-in: Add tests of cabs and carg.
29562         * math/auto-libm-test-out: Regenerated.
29563         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
29564         (carg_test_data): Likewise.
29565         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29566         mpc_c_f.
29567         (func_calc_desc): Add mpc_c_f union field.
29568         (test_functions): Add cabs and carg.
29569         (calc_generic_results): Handle mpc_c_f.
29571         * sysdeps/powerpc/powerpc32/libgcc-compat.S
29572         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
29573         as a macro and a compat symbol.
29574         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29575         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29576         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29577         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29578         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
29579         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
29580         not use .hidden.
29581         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
29582         Likewise.
29583         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
29584         Likewise.
29585         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
29586         Likewise.
29587         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
29588         Likewise.
29589         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
29590         Likewise.
29591         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
29592         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
29593         from GLIBC_2.3.2.
29595 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29599 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29601         * manual/texinfo.tex: Update to version 2013-11-26.10 with
29602         trailing whitespace removed.
29603         * scripts/config.guess: Update to version 2013-11-29.
29604         * scripts/config.sub: Update to version 2013-10-01.
29606         * math/auto-libm-test-in: Add tests of sincos.
29607         * math/auto-libm-test-out: Regenerated.
29608         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
29609         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29610         mpfr_f_11.
29611         (func_calc_desc): Add mpfr_f_11 union field.
29612         (test_functions): Add sincos.
29613         (calc_generic_results): Handle mpfr_f_11.
29614         * sysdeps/i386/fpu/libm-test-ulps: Update.
29615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29617 2013-12-19  Andreas Schwab  <schwab@suse.de>
29619         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
29620         CALL_MCOUNT.
29621         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29622         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
29623         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
29625 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29627         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
29628         * sysdeps/i386/fpu/libm-test-ulps: Update.
29629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29631         [BZ #16293]
29632         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
29633         round-to-nearest mode when using frndint.
29634         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
29635         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29636         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29637         Likewise.
29638         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
29639         sinh test to fail.
29640         * math/auto-libm-test-out: Regenerated.
29641         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
29642         (TEST_COND_x86): Likewise.
29643         (expm1_tonearest_test_data): New array.
29644         (expm1_test_tonearest): New function.
29645         (expm1_towardzero_test_data): New array.
29646         (expm1_test_towardzero): New function.
29647         (expm1_downward_test_data): New array.
29648         (expm1_test_downward): New function.
29649         (expm1_upward_test_data): New array.
29650         (expm1_test_upward): New function.
29651         (main): Run the new test functions.
29652         * sysdeps/i386/fpu/libm-test-ulps: Update.
29653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29655         * include/features.h: Update comment documenting feature test
29656         macros.  Mention _DEFAULT_SOURCE in comment.
29657         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
29658         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
29659         _BSD_SOURCE and _SVID_SOURCE.
29660         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
29661         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
29662         !_SVID_SOURCE]: Likewise.
29663         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29664         (__USE_POSIX_IMPLICITLY): Define.
29665         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29666         (_POSIX_SOURCE): Undefine and redefine.
29667         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29668         (_POSIX_C_SOURCE): Likewise.
29669         * manual/creature.texi (_DEFAULT_SOURCE): Document.
29670         (Feature Test Macros): Update documentation of default features.
29672 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29674         * benchtests/Makefile: Add bench-strtok.
29675         * benchtests/bench-strtok.c: New file: strtok benchtest.
29677 2013-12-19  Allan McRae  <allan@archlinux.org>
29679         * manual/install.texi: Suppress menu for plain text output.
29680         * INSTALL: Regenerated.
29682 2013-12-18  Brooks Moses  <bmoses@google.com>
29684         [BZ #15846]
29685         * misc/getauxval.c: Include errno.h.
29686         (__getauxval): Set errno to ENOENT if the requested type is not
29687         found.
29688         * misc/sys/auxv.h (getauxval): Document that it may set errno;
29689         don't declare with __attribute_const__.
29690         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
29691         * manual/startup.texi: Document that getauxval sets errno.
29693 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
29695         * math/auto-libm-test-in: Add tests of jn and yn.
29696         * math/auto-libm-test-out: Regenerated.
29697         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
29698         (yn_test_data): Likewise.
29699         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29700         mpfr_if_f.
29701         (func_calc_desc): Add mpfr_if_f union field.
29702         (FUNC_mpfr_if_f): New macro.
29703         (test_functions): Add jn and yn.
29704         (calc_generic_results): Assert type of second input for
29705         mpfr_ff_f.  Handle mpfr_if_f.
29706         (output_for_one_input_case): Disable all checking for arguments
29707         fitting floating-point types in case of an integer argument.
29708         * sysdeps/i386/fpu/libm-test-ulps: Update.
29709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29712         Don't expect fegetround reference in libm.so.
29714 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29716         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
29717         $(config-cflags-nofma).
29719 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
29721         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
29722         * math/auto-libm-test-out: Regenerated.
29724         [BZ #16338]
29725         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
29726         to determine exponent and adjust argument to have exponent of -1.
29727         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
29728         log2.
29729         * math/auto-libm-test-out: Regenerated.
29730         * sysdeps/i386/fpu/libm-test-ulps: Update.
29731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29733 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
29735         * manual/probes.texi: Remove cases when per-thread arenas are
29736         disabled.
29738 2013-12-18  Andreas Schwab  <schwab@suse.de>
29740         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
29741         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
29742         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
29743         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
29744         * sysdeps/i386/i686/multiarch/Makefile: Update.
29745         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
29747 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29749         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
29750         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
29752 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
29754         [BZ #15968]
29755         Support TZ transition times < 00:00:00.
29756         This is needed for version-3 tz-format files; it supports time
29757         stamps past 2037 for America/Godthab (the only entry in the tz
29758         database for which this change is relevant).
29759         * manual/time.texi (TZ Variable): Document transition times
29760         from -167:59:59 through -00:00:01.
29761         * time/tzset.c (tz_rule): Time of day is now signed.
29762         (__tzset_parse_tz): Parse negative time of day.
29764         Document TZ transition times >= 25:00:00.
29765         * manual/time.texi (TZ Variable): Document transition times from
29766         25:00:00 through 167:59:59.  These are already supported, and this
29767         support will help with version-3 tz-format files.
29769         * manual/time.texi (TZ Variable): Modernize North America example
29770         to reflect current (i.e., 2007-and-later) daylight saving rules.
29772         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
29774 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29776         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
29777         * sysdeps/unix/bsd/bits/stat.h: Likewise.
29778         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
29779         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29780         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
29781         * sysdeps/unix/bsd/bsdstat.h: Likewise.
29782         * sysdeps/unix/bsd/clock.c: Likewise.
29783         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
29784         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
29785         * sysdeps/unix/bsd/init-posix.c: Likewise.
29786         * sysdeps/unix/bsd/poll.c: Likewise.
29787         * sysdeps/unix/bsd/ptsname.c: Likewise.
29788         * sysdeps/unix/bsd/seekdir.c: Likewise.
29789         * sysdeps/unix/bsd/setegid.c: Likewise.
29790         * sysdeps/unix/bsd/seteuid.c: Likewise.
29791         * sysdeps/unix/bsd/setgid.c: Likewise.
29792         * sysdeps/unix/bsd/setrgid.c: Likewise.
29793         * sysdeps/unix/bsd/setruid.c: Likewise.
29794         * sysdeps/unix/bsd/setsid.c: Likewise.
29795         * sysdeps/unix/bsd/setuid.c: Likewise.
29796         * sysdeps/unix/bsd/sigaction.c: Likewise.
29797         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
29798         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
29799         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
29800         * sysdeps/unix/bsd/telldir.c: Likewise.
29801         * sysdeps/unix/bsd/times.c: Likewise.
29802         * sysdeps/unix/bsd/usleep.c: Likewise.
29804         * misc/Makefile (install-lib): Remove libbsd-compat.a.
29805         ($(objpfx)libbsd-compat.a): Remove rule.
29807         * include/features.h (__FAVOR_BSD): Do not define.
29808         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
29809         features conflicting with POSIX.
29810         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
29811         (_BSD_SOURCE): Remove description of not being a subset of other
29812         feature test macros.
29813         * manual/job.texi (getpgrp): Do not document BSD version.
29814         (getpgid): Do not document by reference to BSD getpgrp.
29815         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
29816         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
29817         * signal/signal.h [__FAVOR_BSD]: Likewise.
29818         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
29819         instead of making contents conditional on [__FAVOR_BSD].
29820         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
29822 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29826 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29828         [BZ #16314]
29829         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
29830         values below 2**-450, not 2**-500.
29831         * math/auto-libm-test-in: Don't allow spurious underflow from
29832         hypot.
29833         * math/auto-libm-test-out: Regenerated.
29835         [BZ #16316]
29836         [BZ #16330]
29837         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
29838         values of ha and hb and sort them after adjusting subnormal
29839         arguments.
29840         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29841         Likewise.
29842         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
29843         values of ea and eb and sort them after adjusting subnormal
29844         arguments.
29845         * math/auto-libm-test-in: Do not expect some hypot tests of
29846         subnormals to fail.  Add more hypot tests.
29847         * math/auto-libm-test-out: Regenerated.
29849 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29851         [BZ #13304]
29852         * sysdeps/sh/s_fma.c: New file.
29853         * sysdeps/sh/s_fmaf.c: New file.
29854         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
29855         version.
29856         * sysdeps/sh/Implies: Add sh/soft-fp.
29858 2013-12-16  Roland McGrath  <roland@hack.frob.com>
29860         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
29861         level of indirection to members `objname', `errstring', `malloced'.
29862         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
29863         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
29864         it as the __longjmp argument (just pass 1 instead).
29865         (_dl_catch_error): Initialize C with argument pointers and address of
29866         volatile local ERRCODE rather than copying values out of C at return.
29868 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
29870         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
29871         * math/auto-libm-test-out: Regenerated.
29872         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
29873         (hypot_test_data): Likewise.
29874         (pow_test_data): Likewise.
29875         (pow_tonearest_test_data): Likewise.
29876         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29877         mpfr_ff_f.
29878         (func_calc_desc): Add mpfr_ff_f union field.
29879         (FUNC_mpfr_ff_f): New macro.
29880         (test_functions): Add atan2, hypot and pow.
29881         (special_fill_min): New function.
29882         (special_fill_minus_min): Likewise.
29883         (special_fill_min_subnorm): Likewise.
29884         (special_fill_minus_min_subnorm): Likewise.
29885         (special_real_inputs): Add min, -min, min_subnorm and
29886         -min_subnorm.
29887         (calc_generic_results): Handle mpfr_ff_f.
29888         * sysdeps/i386/fpu/libm-test-ulps: Update.
29889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29891 2013-12-16  Will Newton  <will.newton@linaro.org>
29893         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
29894         (Aligned Memory Blocks): Add documentation for aligned_alloc
29895         and suggest it as an alternative to posix_memalign.
29896         (Hooks for Malloc): Document __memalign_hook is also called
29897         for aligned_alloc.  (Summary of Malloc): Add summary for
29898         aligned alloc.  Document __memalign_hook is also called
29899         for aligned_alloc.
29901 2013-12-16  Will Newton  <will.newton@linaro.org>
29903         * manual/memory.texi (Malloc Examples): Clarify default
29904         alignment documentation.  Suggest posix_memalign rather
29905         than memalign or valloc.
29906         (Aligned Memory Blocks): Remove suggestion to use memalign
29907         or valloc.  Remove obsolete comment about BSD.
29908         Document memalign errno values and mark the function obsolete.
29909         Document posix_memalign returned error codes.  Mark valloc
29910         as obsolete.  (Hooks for Malloc): __memalign_hook is also
29911         called for posix_memalign and valloc.
29912         (Summary of Malloc): Add posix_memalign to function summary.
29913         __memalign_hook is also called for posix_memalign and valloc.
29915 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29917         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
29918         TAYLOR_SIN.
29919         (__sin): Adjust.
29920         (__cos): Likewise.
29921         (sloww): Use mynumber union.  Expand ternary operator into
29922         if-else statements.
29923         (cslow): use mynumber union.
29925 2013-12-16  Allan McRae  <allan@archlinux.org>
29927         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
29928         * configure: Regenerated.
29930         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
29932         [BZ #14120]
29933         * configure.ac: Added --enable-maintainer-mode. Check for
29934         autoconf when enabled.
29935         * configure: Regenerated.
29937         * nscd/nscd.service: New file.
29938         * nscd/nscd.tmpfiles: New file.
29940 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
29942         [BZ #12100]
29943         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
29944         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29945         * sysdeps/x86_64/multiarch/strstr.c: ... here.
29946         (strstr): Add __strstr_sse2_unaligned ifunc.
29947         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29948         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29949         (strcasestr): Remove __strcasestr_sse42 ifunc.
29950         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29951         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29954 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29956         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29957         * sysdeps/sh/bits/fenv.h: ... here.
29958         * sysdeps/sh/sh4/fpu/bits: Remove directory.
29960 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29962         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29964         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29965         hypotf multiarch implementations.
29966         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29967         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29968         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29969         multiarch hypot for PPC64.
29970         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29971         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29972         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29973         multiarch hypotf for PPC64.
29975         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29976         modff multiarch implementations.
29977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29980         multiarch modf for PPC64.
29981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29984         multiarch modff for PPC64.
29986         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29987         and logl multiarch implementations.
29988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29991         multiarch logb for PPC64.
29992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29995         multiarch logb for PPC64.
29996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29999         multiarch logb for PPC64.
30001         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
30002         isinff multiarch implementation.
30003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
30004         file.
30005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
30006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
30007         multiarch isinf for PPC64.
30008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
30009         file.
30010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
30011         multiarch isinff for PPC64.
30013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
30014         finitef multiarch implementation.
30015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
30016         file.
30017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
30018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
30019         multiarch finite for PPC64.
30020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
30021         file.
30022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
30023         multiarch finitef for PPC64.
30025         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
30026         lrint multiarch implementation.
30027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
30028         file.
30029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
30030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
30031         multiarch llrint for PPC64.
30032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
30033         multiarch lrint for PPC64.
30035         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
30036         copysignf multiarch implementation.
30037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
30038         file.
30039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
30040         file.
30041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
30042         multiarch copysign for PPC64.
30043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
30044         multiarch copysignf for PPC64.
30046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
30047         multiarch implementation.
30048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
30049         file.
30050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
30051         file.
30052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
30053         file.
30054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
30055         file.
30056         multiarch llround for PPC64.
30057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
30058         multiarch trunc for PPC64.
30059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
30060         multiarch truncf for PPC64.
30062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
30063         multiarch implementation.
30064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
30065         file.
30066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
30067         file.
30068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
30069         file.
30070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
30071         file.
30072         multiarch llround for PPC64.
30073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
30074         multiarch round for PPC64.
30075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
30076         multiarch roundf for PPC64.
30078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
30079         multiarch implementation.
30080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
30081         file.
30082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
30083         file.
30084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
30085         file.
30086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
30087         file.
30088         multiarch llround for PPC64.
30089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
30090         multiarch floor for PPC64.
30091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
30092         multiarch floorf for PPC64.
30094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
30095         multiarch implementation.
30096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
30097         file.
30098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
30099         file.
30100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
30101         file.
30102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
30103         file.
30104         multiarch llround for PPC64.
30105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
30106         multiarch ceil for PPC64.
30107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
30108         multiarch ceilf for PPC64.
30110         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30111         multiarch implementation.
30112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
30113         file.
30114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
30115         file.
30116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
30117         file.
30118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
30119         multiarch llround for PPC64.
30120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
30121         multiarch lround for PPC64.
30123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30124         multiarch implementation.
30125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
30126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
30127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
30128         file.
30129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
30130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
30131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
30132         multiarch isnan for PPC64.
30133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
30134         multiarch isnanf for PPC64.
30136         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
30137         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
30138         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
30139         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
30140         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
30141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
30143         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
30144         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30145         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30146         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30148         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
30149         multiarch implementations.
30150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30151         (__libc_ifunc_impl_list): Likewise.
30152         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
30153         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
30154         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
30155         multiarch stpcpy for PPC64.
30157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
30158         multiarch implementations.
30159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30160         (__libc_ifunc_impl_list): Likewise.
30161         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
30162         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
30163         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
30164         multiarch strcpy for PPC64.
30166         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
30167         redefine function name.
30168         (_wordcopy_fwd_dest_aligned): Likewise.
30169         (_wordcopy_bwd_aligned): Likewise.
30170         (_wordcopy_bwd_dest_aligned): Likewise.
30171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
30172         multiarch implementations.
30173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30174         (__libc_ifunc_impl_list): Likewise.
30175         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
30176         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
30177         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
30178         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
30179         multiarch wcscpy for PPC64.
30181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
30182         multiarch implementations.
30183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30184         (__libc_ifunc_impl_list): Likewise.
30185         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
30186         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
30187         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
30188         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
30189         multiarch wcscpy for PPC64.
30191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
30192         multiarch implementations.
30193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30194         (__libc_ifunc_impl_list): Likewise.
30195         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
30196         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
30197         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
30198         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
30199         multiarch wcsrchr for PPC64.
30201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
30202         multiarch implementations.
30203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30204         (__libc_ifunc_impl_list): Likewise.
30205         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
30206         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
30207         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
30208         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
30209         multiarch wcschr for PPC64.
30211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
30212         multiarch implementations.
30213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30214         (__libc_ifunc_impl_list): Likewise.
30215         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
30216         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
30217         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
30218         multiarch strchrnul for PPC64.
30220         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
30221         implementations.
30222         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30223         (__libc_ifunc_impl_list): Likewise.
30224         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
30225         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
30226         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
30227         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
30228         strchr for PPC64.
30230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
30231         implementations.
30232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30233         (__libc_ifunc_impl_list): Likewise.
30234         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
30235         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
30236         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
30237         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
30238         strncmp for PPC64.
30240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
30241         multiarch implementations.
30242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30243         (__libc_ifunc_impl_list): Likewise.
30244         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
30245         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
30246         strncasecmp for PPC64.
30247         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
30248         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
30249         multiarch strncasecmp_l for PPC64.
30251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
30252         multiarch implementations.
30253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30254         (__libc_ifunc_impl_list): Likewise.
30255         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
30256         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
30257         multiarch strcasecmp for PPC64.
30258         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
30259         file.
30260         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
30261         multiarch strcasecmp_l for PPC64.
30263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
30264         implementations.
30265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30266         (__libc_ifunc_impl_list): Likewise.
30267         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
30268         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
30269         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
30270         strnlen for PPC64.
30272         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
30273         implementations.
30274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30275         (__libc_ifunc_impl_list): Likewise.
30276         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
30277         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
30278         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
30279         strlen for PPC64.
30281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
30282         implementations.
30283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30284         (__libc_ifunc_impl_list): Likewise.
30285         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
30286         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
30287         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
30288         rawmemrchr for PPC64.
30290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
30291         implementation.
30292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30293         (__libc_ifunc_impl_list): Likewise.
30294         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
30295         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
30296         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
30297         memrchr for PPC64.
30299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
30300         implementation.
30301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30302         (__libc_ifunc_impl_list): Likewise.
30303         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
30304         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
30305         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
30306         memchr for PPC64.
30308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
30309         implementation.
30310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30311         (__libc_ifunc_impl_list): Likewise.
30312         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
30313         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
30314         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
30315         mempcpy for PPC64.
30317         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
30318         avoid cretion of __bzero symbol.
30319         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
30320         Likewise.
30321         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
30322         Likewise.
30323         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
30324         Likewise.
30325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
30326         multiarch implementations.
30327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30328         (__libc_ifunc_impl_list): Likewise.
30329         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
30330         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
30331         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
30332         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
30333         bzero for PPC32.
30334         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
30335         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
30336         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
30337         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
30338         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
30339         memset for PPC64.
30340         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
30342         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
30343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
30344         implementations.
30345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30346         (__libc_ifunc_impl_list): Likewise.
30347         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
30348         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
30349         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
30350         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
30351         memcmp for PPC64.
30353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
30354         multiarch for POWER/PPC64.
30355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
30356         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
30357         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
30358         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
30359         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
30360         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
30361         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
30362         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
30363         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
30364         memcpy for PPC64.
30366         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
30367         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
30368         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
30369         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
30370         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
30371         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
30372         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
30373         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
30374         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
30375         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
30376         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
30377         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
30378         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
30379         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
30380         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
30381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
30382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
30383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
30384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
30385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
30386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
30387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
30389 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30391         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
30393 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30395         * benchtests/Makefile (bench): Add exp2 and log2.
30396         (LDLIBS-bench-exp2): Add -lm.
30397         (LDLIBS-bench-log2): Likewise.
30398         * benchtests/exp2-inputs: New inputs file.
30399         * benchtests/log2-inputs: New inputs file.
30400         * benchtests/log-inputs: Add new inputs.
30401         * benchtests/tan-inputs: Likewise.
30403 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30405         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
30406         definition...
30407         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
30408         (csloww2): ... from here.
30410         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
30411         instead of structures.
30412         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
30413         (POLYNOMIAL): Likewise.
30414         (TAYLOR_SLOW): Likewise.
30415         (__sin): Likewise.
30416         (__cos): Likewise.
30417         (slow1): Likewise.
30418         (slow2): Likewise.
30419         (sloww): Likewise.
30420         (sloww1); Likewise.
30421         (sloww2): Likewise.
30422         (bsloww1): Likewise.
30423         (bsloww2): Likewise.
30424         (cslow2): Likewise.
30425         (csloww): Likewise.
30426         (csloww1): Likewise.
30427         (csloww2): Likewise.
30429 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
30431         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
30432         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
30433         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
30434         * malloc/hooks.c (realloc_check): Likewise.
30436         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
30437         * malloc/arena.c: Remove PER_THREAD conditional.
30438         [!PER_THREAD]: Remove code.
30439         (ptmalloc_unlock_all2): Likewise.
30440         (ptmalloc_init): Likewise.
30441         (_int_new_arena): Likewise.
30442         (arena_get2): Likewise.
30443         * malloc/hooks.c (__malloc_get_state): Likewise.
30444         (__malloc_set_state): Likewise.
30445         * malloc/malloc.c: Likewise.
30446         (struct malloc_state): Likewise.
30447         (struct malloc_par): Likewise.
30448         (__libc_realloc): Likewise.
30449         (__libc_mallopt): Likewise.
30451 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30453         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
30455 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
30457         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
30458         macro to a function.  Check for zero perturb_byte.
30459         (_int_malloc, _int_free): Remove zero perturb_byte checks.
30461         * malloc/malloc.c: (force_reg): Remove.
30462         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
30463         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
30464         force_reg by atomic_forced_read.
30465         * malloc/arena.c (ptmalloc_init): Likewise.
30466         * malloc/hooks.c (top_check): Likewise.
30468 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30472 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
30474         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30476 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
30478         * math/auto-libm-test-in: Add tests of lgamma.
30479         * math/auto-libm-test-out: Regenerated.
30480         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
30481         (M_LOG_2_SQRT_PIl): Likewise.
30482         (lgamma_test_data): Use AUTO_TESTS_f_f1.
30483         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30484         mpfr_f_f1.
30485         (func_calc_desc): Add mpfr_f_f1 union field.
30486         (ARGS1): New macro.
30487         (ARGS2): Likewise.
30488         (ARGS3): Likewise.
30489         (ARGS4): Likewise.
30490         (RET1): Likewise.
30491         (RET2): Likewise.
30492         (CALC): Likewise.
30493         (FUNC): Likewise.
30494         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
30495         (test_functions): Add lgamma.
30496         (calc_generic_results): Handle mpfr_f_f1.
30497         * sysdeps/i386/fpu/libm-test-ulps: Update.
30498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30500 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30502         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
30503         __mpn_add_n for PowerPC64/POWER7.
30504         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
30505         __mpn_sub_n for PowerPC64/POWER7.
30507         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
30508         __mpn_addmul_1 for PowerPC64.
30509         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
30510         __mpn_submul_1 for PowerPC64.
30511         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
30512         for PowerPC64.
30513         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
30514         for PowerPC64.
30516 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
30518         [BZ #15089]
30519         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
30521 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30523         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
30525         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
30526         add multiarch folders.
30527         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
30528         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
30529         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
30530         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
30531         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
30532         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
30533         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
30534         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
30535         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
30536         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
30537         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
30538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
30539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
30540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
30541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
30542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
30543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
30545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
30546         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
30547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
30548         New file.
30549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
30550         New file.
30551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
30552         multiarch __ieee754_hypot for PowerPC32.
30553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
30554         New file.
30555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
30556         New file.
30557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
30558         multiarch __ieee754_hypotf for PowerPC32.
30560         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
30561         long_double_symbol only if __logbl is defined.
30562         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
30563         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
30564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
30565         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
30566         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
30567         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
30568         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
30569         path for implementation.
30570         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
30571         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
30572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
30573         logb, and logbl multiarch implementations for PowerPC32.
30574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
30575         file.
30576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
30577         file.
30578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
30579         multiarch logb for PowerPC32.
30580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
30581         file.
30582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
30583         file.
30584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
30585         multiarch logbf for PowerPC32.
30586         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
30587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
30588         file.
30589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
30590         multiarch logbl implementation for PowerPC32.
30592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
30593         and modff multiarch implementations.
30594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
30595         New file.
30596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
30597         New file.
30598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
30599         multiarch modf for PowerPC32.
30600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
30601         New file.
30602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
30603         New file.
30604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
30605         multiarch modff for PowerPC32.
30607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
30608         and lrintf multiarch implementations.
30609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
30610         New file.
30611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
30612         New file.
30613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
30614         multiarch lrint for PowerPC32.
30615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
30616         file: multiarch lrintf for PowerPC32.
30618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
30619         and lroundf multiarch implementations.
30620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
30621         New file.
30622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
30623         New file.
30624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
30625         New file.
30626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
30627         multiarch lround for PowerPC32.
30628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
30629         file: multiarch lroundf for PowerPC32.
30631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
30632         copysign and copysignf multiarch implementations.
30633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
30634         New file.
30635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
30636         New file.
30637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
30638         file: multiarch copysign for PowerPC32.
30639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
30640         file: multiarch copysignf for PowerPC32.
30642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
30643         and truncf multiarch implementations.
30644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
30645         New file.
30646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
30647         file.
30648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
30649         multiarch trunc for PowerPC32.
30650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
30651         New file.
30652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
30653         New file.
30654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
30655         multiarch truncf for PowerPC32.
30657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
30658         and roundf multiarch implementations.
30659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
30660         New file.
30661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
30662         file.
30663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
30664         multiarch round for PowerPC32.
30665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
30666         New file.
30667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
30668         New file.
30669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
30670         multiarch roundf for PowerPC32.
30672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
30673         and floorf multiarch implementations.
30674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
30675         New file.
30676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
30677         file.
30678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
30679         multiarch floor for PowerPC32.
30680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
30681         New file.
30682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
30683         New file.
30684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
30685         multiarch floorf for PowerPC32.
30687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
30688         and ceilf multiarch implementations.
30689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
30690         New file.
30691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
30692         file.
30693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
30694         multiarch ceil for PowerPC32.
30695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
30696         New file.
30697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
30698         file.
30699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
30700         multiarch ceilf for PowerPC32.
30702         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
30703         is defined.
30704         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
30705         FINITEF is defined.
30706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
30707         and finitef multiarch implementations.
30708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
30709         New file.
30710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
30711         file.
30712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
30713         multiarch finite for PowerPC32.
30714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
30715         New file.
30716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
30717         file: multiarch finitef for PowerPC32.
30719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
30720         and isinff multiarch implementations.
30721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
30722         file.
30723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
30724         file.
30725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
30726         multiarch isinf for PowerPC32.
30727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
30728         New file.
30729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
30730         multiarch isinff for PowerPC32.
30732         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
30733         alias when __isnan is defined.
30734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
30735         and isnanf multiarch implementations.
30736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
30737         file.
30738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
30739         file.
30740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
30741         file.
30742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
30743         file.
30744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
30745         multiarch isnan for PowerPC32.
30746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
30747         New file.
30748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
30749         New file.
30750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
30751         multiarch isnanf for PowerPC32.
30753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
30754         and sqrtf multiarch implementations.
30755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
30756         file.
30757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
30758         file.
30759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
30760         multiarch sqrt for PowerPC32.
30761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
30762         file.
30763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
30764         file.
30765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
30766         multiarch sqrtf for PowerPC32.
30768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
30769         and llroundf multiarch implementations.
30770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
30771         New file.
30772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
30773         New file.
30774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
30775         New file.
30776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
30777         file: multiarch llround for PowerPC32.
30778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
30779         file: multiarch llroundf for PowerPC32.
30781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
30782         multiarch PowerPC32 fpu implementations.
30783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
30784         New file.
30785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
30786         New file.
30787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
30788         multiarch llrint for PowerPC32.
30789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
30790         New file.
30791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
30792         New file.
30793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
30794         file.
30796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
30798         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
30799         file.
30800         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
30801         file.
30802         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
30803         file.
30804         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
30805         multiarch wordcopy for PPC32.
30806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30807         wordcopy objects.
30808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30809         (__libc_ifunc_impl_list): Likewise.
30810         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
30811         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
30812         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
30813         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
30814         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
30815         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
30817         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
30818         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
30819         file.
30820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
30821         file.
30822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
30823         file.
30824         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
30825         multiarch wcscpy for PPC32.
30826         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30827         multiarch objects.
30828         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30829         (__libc_ifunc_impl_list): Likewise.
30830         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30831         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30832         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
30833         sysdeps/powerpc/power6/wcscpy.c.
30835         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
30836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
30837         file.
30838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
30839         file.
30840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
30841         file.
30842         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
30843         multiarch wcsrchr for PPC32.
30844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30845         multiarch objects.
30846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30847         (__libc_ifunc_impl_list): Likewise.
30848         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30849         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30850         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
30851         sysdeps/powerpc/power6/wcsrchr.c.
30853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
30854         file.
30855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
30856         file.
30857         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
30858         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
30859         multiarch wcschr for PPc32.
30860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30861         multiarch objects.
30862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30863         (__libc_ifunc_impl_list): Likewise.
30864         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
30865         * sysdeps/powerpc/power6/wcschr.c: ... to here.
30866         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
30867         sysdeps/powerpc/power6/wcschr.c.
30869         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
30870         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
30871         file.
30872         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
30873         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
30874         file: multiarch strchr for PPC32.
30875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
30876         multiarch objects.
30877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30878         (__libc_ifunc_impl_list): Likewise.
30880         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
30881         name.
30882         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
30883         file.
30884         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
30885         file.
30886         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
30887         multiarch strchrnul for PPC32.
30888         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
30889         multiarch objects.
30890         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30891         (__libc_ifunc_impl_list): Likewise.
30893         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
30894         file.
30895         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
30896         multiarch strncasecmp for PPC32.
30897         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
30898         file.
30899         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
30900         multiarch strncasecmp_l for PPC32.
30901         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
30902         strncasecmp multiarch objects.
30903         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30904         (__libc_ifunc_impl_list): Likewise.
30906         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
30907         file.
30908         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
30909         multiarch strncasecmp for PPC32.
30910         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30911         New file.
30912         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
30913         multiarch strcasecmp_l for PPC32.
30914         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
30915         multiarch objects.
30916         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30917         (__libc_ifunc_impl_list): Likewise.
30919         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
30920         file.
30921         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
30922         file.
30923         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
30924         multiarch strncmp for PPC32.
30925         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
30926         multiarch objects.
30927         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30928         (__libc_ifunc_impl_list): Likewise.
30930         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
30931         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
30932         file.
30933         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
30934         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
30935         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
30936         multiarch objects.
30937         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30938         (__libc_ifunc_impl_list): Likewise.
30940         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
30941         file.
30942         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
30943         file.
30944         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30945         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30946         multiarch objects.
30947         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30948         (__libc_ifunc_impl_list): Likewise.
30950         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30951         file.
30952         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30953         file.
30954         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30955         multiarch rawmemchr for PPC32.
30956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30957         multiarch objects.
30958         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30959         (__libc_ifunc_impl_list): Likewise.
30961         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30962         file.
30963         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30964         file.
30965         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30966         file: memrchr multiarch for PPC32.
30967         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30968         multiarch objects.
30969         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30970         (__libc_ifunc_impl_list): Likewise.
30972         * string/memchr.c (__memchr): Using macro to redefine symbol name.
30973         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30974         file.
30975         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30976         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30977         multiarch memchr for PPC32.
30978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30979         multiarch objects.
30980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30981         (__libc_ifunc_impl_list): Likewise.
30983         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30984         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30985         file.
30986         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30987         file.
30988         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30989         file: multiarch mempcpy for PPC32.
30990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30991         multiarch objects.
30992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30993         (__libc_ifunc_impl_list): Likewise.
30995         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30996         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30997         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30998         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30999         multiarch bzero for PPC32.
31000         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
31001         file.
31002         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
31003         file.
31004         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
31005         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
31006         file: multiarch memset for PPC32.
31007         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
31008         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
31009         memset multiarch objects.
31010         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31011         (__libc_ifunc_impl_list): Likewise.
31013         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
31014         file.
31015         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
31016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
31017         memcmp for PPC32.
31018         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
31019         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
31020         multiarch objects.
31021         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31022         (__libc_ifunc_impl_list): Likewise.
31024         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
31025         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
31026         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
31027         file.
31028         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
31029         file.
31030         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
31031         file.
31032         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
31033         multiarch memcpy for PPC32.
31034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
31035         multiarch objects.
31036         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31037         (__libc_ifunc_impl_list): Likewise.
31039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
31040         support multiarch for POWER/PPC32.
31041         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
31042         Likewise.
31043         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
31044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
31045         Implies file to make multiarch folder appers before the fpu and
31046         default folder for power4 configuration.
31048 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31050         * scripts/bench.pl: Append volatile keyword to type.
31052 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31054         * sysdeps/sh/sotruss-lib.c: New file.
31055         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
31057 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31061 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
31063         [BZ #6810]
31064         * math/w_tgamma.c: Include <errno.h>.
31065         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
31066         * math/w_tgammaf.c: Include <errno.h>.
31067         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
31068         * math/w_tgammal.c: Include <errno.h>.
31069         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
31070         * math/auto-libm-test-in: Do not allow missing errno on tgamma
31071         underflow.  Add more tgamma tests.
31072         * math/auto-libm-test-out: Regenerated.
31073         * sysdeps/i386/fpu/libm-test-ulps: Update.
31074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31076         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
31077         sin, sinh, tan, tanh, tgamma, y0 and y1.
31078         * math/auto-libm-test-out: Regenerated.
31079         * math/libm-test.inc (TEST_COND_x86_64): New macro.
31080         (TEST_COND_x86): Likewise.
31081         (M_E2l): Remove macro.
31082         (M_E3l): Likewise.
31083         (M_2_SQRT_PIl): Likewise.
31084         (M_SQRT_PIl): Likewise.
31085         (M_1_DIV_El): Likewise.
31086         (log_test_data): Use AUTO_TESTS_f_f.
31087         (log10_test_data): Likewise.
31088         (log1p_test_data): Likewise.
31089         (log2_test_data): Likewise.
31090         (sin_test_data): Likewise.
31091         (sin_tonearest_test_data): Likewise.
31092         (sin_towardzero_test_data): Likewise.
31093         (sin_downward_test_data): Likewise.
31094         (sin_upward_test_data): Likewise.
31095         (sinh_test_data): Likewise.
31096         (sinh_tonearest_test_data): Likewise.
31097         (sinh_towardzero_test_data): Likewise.
31098         (sinh_downward_test_data): Likewise.
31099         (sinh_upward_test_data): Likewise.
31100         (tan_test_data): Likewise.
31101         (tan_tonearest_test_data): Likewise.
31102         (tan_towardzero_test_data): Likewise.
31103         (tan_downward_test_data): Likewise.
31104         (tan_upward_test_data): Likewise.
31105         (tanh_test_data): Likewise.
31106         (tgamma_test_data): Likewise.
31107         (y0_test_data): Likewise.
31108         (y1_test_data): Likewise.
31109         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
31110         (special_real_inputs): Add pi/4.
31111         * sysdeps/i386/fpu/libm-test-ulps: Update.
31112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31114 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31116         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
31117         "longjmp_target" static probes.
31118         (__longjmp): Rename to __longjmp_symbol.
31119         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31120         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
31121         on which longjmp to generate.
31122         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31123         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
31124         probe.
31125         (__sigsetjmp): Rename to __sigsetjmp_symbol.
31126         (__sigjmp_save): Rename to __sigjmp_save_symbol.
31127         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31128         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
31129         and __sigjmp_save_symbol based on which sigsetjmp to generated.
31130         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
31131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
31132         __longjmp_symbol based on which __longjmp to generate.
31133         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
31134         probe.
31135         (setjmp): Rename to setjmp_symbol.
31136         (__sigsetjmp): Rename to __sigsetjmp_symbol.
31137         (_setjmp): Rename to _setjmp_symbol.
31138         (__sigsetjmp): Rename to __sigsetjmp_symbol.
31139         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
31140         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
31141         which setjmp to generate.
31142         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
31143         "longjmp_target" static probes.
31145 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31147         * benchtests/README: Add note about output arguments.
31148         * benchtests/bench-sincos.c: Remove file.
31149         * benchtests/sincos-inputs: New file.
31150         * scripts/bench.pl: Identify output arguments and define
31151         static variables for them.
31153         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
31155         [BZ #15941]
31156         * Makefile (INSTALL): Add install-plain.texi as the primary
31157         dependency.
31158         * manual/install-plain.texi: New file.
31159         * manual/install.texi: Include node directive only for
31160         non-plaintext output.
31162 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
31164         * stdlib/longlong.h: Update from GCC.
31166         [BZ #6807]
31167         [BZ #15901]
31168         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
31169         * math/w_j0f.c (y0f): Likewise.
31170         * math/w_j0l.c (__y0l): Likewise.
31171         * math/w_j1.c (y1): Likewise.
31172         * math/w_j1f.c (y1f): Likewise.
31173         * math/w_j1l.c (__y1l): Likewise
31174         * math/w_jn.c (yn): Likewise.
31175         * math/w_jnf.c (ynf): Likewise.
31176         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
31177         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
31178         value for Bessel function domain errors outside _SVID_ mode.
31179         Adjust sign of return value for yn (negative integer, 0).
31180         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
31181         by zero in return for negative x and set sign appropriately for
31182         negative n.
31183         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
31184         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31185         * math/libm-test.inc (y0_test_data): Add more tests and adjust
31186         expectations in error cases.
31187         (y1_test_data): Likewise.
31188         (yn_test_data): Likewise.
31189         * sysdeps/i386/fpu/libm-test-ulps: Update.
31190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31192 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31194         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
31195         "64" to "64-v1".  Add "64-v2".
31196         (abi-64-options): Rename to ...
31197         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
31198         (abi-64-condition): Rename to ...
31199         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
31200         (abi-64-ld-soname): Rename to ...
31201         (abi-64-v1-ld-soname): ... this.
31202         (abi-64-v2-options): Define.
31203         (abi-64-v2-condition): Likewise.
31204         (abi-64-v2-ld-soname): Likewise.
31205         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
31206         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
31207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
31208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
31209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
31211 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31212             Alan Modra  <amodra@gmail.com>
31214         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
31215         New versions for use with the ELFv2 ABI.
31216         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
31217         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
31218         declaration.
31219         (struct La_ppc64v2_retval): Likewise.
31220         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
31221         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
31222         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
31223         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
31224         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
31225         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31226         Do not save or restore CR.
31227         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
31228         (_dl_profile_resolve): Do no save or restore CR.  Support extended
31229         return values for ELFv2 ABI.  Fix location of FPR return registers.
31230         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
31231         updated values for _CALL_ELF == 2.
31232         (La_regs, La_retval, int_retval): Likewise.
31234 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31236         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
31237         (FRAME_MIN_SIZE_PARM): Likewise.
31238         (FRAME_BACKCHAIN): Likewise.
31239         (FRAME_CR_SAVE): Likewise.
31240         (FRAME_LR_SAVE): Likewise.
31241         (FRAME_TOC_SAVE): Likewise.
31242         (FRAME_PARM_SAVE): Likewise.
31243         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
31244         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
31245         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
31246         (call_mcount_parm_offset): New macro.
31247         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
31248         (PROF): Use symbolic stack frame offsets.
31249         (TAIL_CALL_SYSCALL_ERROR): Likewise.
31250         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
31251         Redefine in terms of FRAME_MIN_SIZE.
31252         (_dl_runtime_resolve): Use symbolic stack frame offsets.
31253         (_dl_profile_resolve): Likewise.  Update comment.
31254         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
31255         symbols stack frame offsets.
31256         (__sigsetjmp): Likewise.
31257         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
31258         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
31259         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
31260         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
31262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
31263         (FRAME_BACKCHAIN): Remove.
31264         (FRAME_CR_SAVE): Likewise.
31265         (FRAME_LR_SAVE): Likewise.
31266         (FRAME_COMPILER_DW): Likewise.
31267         (FRAME_LINKER_DW): Likewise.
31268         (FRAME_TOC_SAVE): Likewise.
31269         (FRAME_PARM_SAVE): Likewise.
31270         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
31271         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
31272         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
31273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
31274         (CHECK_SP): Use symbolic stack frame offsets.
31275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
31276         zone" instead of caller's parameter save area for temp storage.
31277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31278         Likewise.  Also, use symbolic stack frame offsets.
31279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
31280         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
31281         our own stack frame instead of the caller's.
31282         (__socket): Use symbolic stack frame offsets.
31284 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31285             Alan Modra  <amodra@gmail.com>
31287         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
31288         Define.
31289         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
31290         (PPC64_LOCAL_ENTRY_OFFSET): Define.
31291         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
31292         New function.
31293         (elf_machine_fixup_plt): Call it.
31294         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
31295         reloc arguments.
31296         (elf_machine_rela): Update call to elf_machine_plt_conflict.
31297         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
31298         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
31299         r2 before calling target.
31301 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31302             Alan Modra  <amodra@gmail.com>
31304         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
31305         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
31306         versions of macros to support ELFv2 ABI.
31307         (LOCALENTRY): New macro.
31308         (ENTRY, EALIGN): Use it.
31309         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
31310         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
31311         fall through into ENTRY entry point.
31312         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
31313         Only define if _CALL_ELF != 2.
31315         (elf_machine_matches_host): Verify ABI version matches.
31316         (RTLD_START): Use LOCALENTRY.
31317         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
31318         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
31319         (PLT_ENTRY_WORDS): New macro.
31320         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
31321         (elf_machine_runtime_setup): Support ELFv2 ABI.
31322         (elf_machine_fixup_plt): Likewise.
31323         (elf_machine_plt_conflict): Likewise.
31324         (resolve_ifunc): Likewise.
31325         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31326         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31327         Likewise.
31328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
31329         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
31330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31331         (makecontext): Support ELFv2 ABI.
31332         * elf/elf.h (EF_PPC64_ABI): Define.
31334 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31336         * sysdeps/powerpc/powerpc64/sysdep.h
31337         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
31338         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
31339         (ENTRY) [ASSEMBLER]: ... but instead here ...
31340         (EALIGN) [ASSEMBLER]: ... and here.
31341         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
31342         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
31343         (ENTRY_2) [!ASSEMBLER]: Use it.
31344         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
31345         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
31346         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
31347         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
31348         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
31349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
31350         Use PPC64_LOAD_FUNCPTR.
31352         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
31354 2013-12-04  Alan Modra  <amodra@gmail.com>
31356         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
31357         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
31358         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
31359         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
31361         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
31362         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
31363         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
31364         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
31365         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
31366         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
31368 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31371         (__makecontext): Fix incorrect CFI when backtracing out of
31372         context created via makecontext.
31373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
31374         (__setcontext): Fix incorrect CFI during switch to new context.
31375         (__novec_setcontext): Likewise.
31377 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
31379         [BZ #4772]
31380         * time/strptime_l.c (__strptime_internal): Allow modifiers
31381         in strptime.
31382         * time/tst-strptime.c (day_tests): Add testcase.
31384 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31386         * scripts/bench.pl: Skip over blank lines.
31388 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
31390         [BZ #926]
31391         * manual/time.texi (Calendar Time): Clarify what timezone functions
31392         use.
31394 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31398 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
31400         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
31401         implementation.
31402         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
31403         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
31404         * debug/memset_chk.c (__memset_chk): Likewise.
31405         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
31406         * debug/strncpy_chk.c: Likewise.
31408 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
31410         [BZ #15268]
31411         [BZ #15425]
31412         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
31413         (__ieee754_exp): For possibly underflowing results, check size of
31414         result and force underflow exception if required.
31415         * math/auto-libm-test-in: Add more tests of exp.
31416         * math/auto-libm-test-out: Regenerated.
31417         * sysdeps/i386/fpu/libm-test-ulps: Update.
31418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31420         [BZ #16283]
31421         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
31422         * math/w_exp2f.c (__exp2f): Likewise.
31423         * math/w_exp2l.c (__exp2l): Likewise.
31424         * math/auto-libm-test-in: Do not allow missing errno on exp2
31425         underflow.
31426         * math/auto-libm-test-out: Regenerated.
31428 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
31430         [BZ #16274]
31431         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
31432         handle filename validation.
31433         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
31434         (do_open): Delete.
31436 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
31438         [BZ #6786]
31439         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
31440         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
31441         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
31442         <float.h>.
31443         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
31444         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
31445         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
31446         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
31447         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
31448         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
31449         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
31450         * math/auto-libm-test-in: Don't allow missing errno from erfc.
31451         Add more erfc tests.
31452         * math/auto-libm-test-out: Regenerated.
31453         * sysdeps/i386/fpu/libm-test-ulps: Update.
31454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31456         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
31457         exp2, expm1, j0 and j1.
31458         * math/auto-libm-test-out: Regenerated.
31459         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
31460         (erfc_test_data): Likewise.
31461         (exp_test_data): Likewise.
31462         (exp_tonearest_test_data): Likewise.
31463         (exp_towardzero_test_data): Likewise.
31464         (exp_downward_test_data): Likewise.
31465         (exp_upward_test_data): Likewise.
31466         (exp10_test_data): Likewise.
31467         (exp2_test_data): Likewise.
31468         (expm1_test_data): Likewise.
31469         (j0_test_data): Likewise.
31470         (j1_test_data): Likewise.
31471         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
31472         (input_flag_type): Add flag_xfail_rounding.
31473         (input_flags): Add xfail-rounding.
31474         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
31475         (output_for_one_input_case): Handle flag_xfail_rounding.
31476         * sysdeps/i386/fpu/libm-test-ulps: Update.
31477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31479 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
31481         [BZ #16289]
31482         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
31483         division by 0.
31485 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31487         [BZ #16195]
31488         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
31489         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
31490         (STAP_PROBE0): New macro.
31491         (STAP_PROBE1): Likewise.
31492         (STAP_PROBE2): Likewise.
31493         (STAP_PROBE3): Likewise.
31494         (STAP_PROBE4): Likewise.
31496 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
31498         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
31500 2013-12-02  Steve Ellcey  <sellcey@mips.com>
31502         * benchtests/Makefile (bench): Add sqrt.
31503         (LDLIBS-bench-sqrt): New.
31504         * benchtests/sqrt-input: New.
31506 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
31508         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
31509         (GAIH_EAI): Likewise.
31510         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
31511         (gaih_inet): Likewise.
31512         (getaddrinfo): Don't use GAIH_EAI.
31514         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
31515         (struct gaih): Remove definition.
31517 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31519         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
31520         Use HERRNOP directly.
31522 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31526 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
31528         * math/gen-auto-libm-tests.c (test_functions): Add more
31529         single-argument functions.
31530         (special_fill_pi_2): New function.
31531         (special_fill_minus_pi_2): Likewise.
31532         (special_fill_pi_6): Likewise.
31533         (special_fill_minus_pi_6): Likewise.
31534         (special_fill_pi_3): Likewise.
31535         (special_fill_2pi_3): Likewise.
31536         (special_fill_e): Likewise.
31537         (special_fill_1_e): Likewise.
31538         (special_fill_e_minus_1): Likewise.
31539         (special_real_inputs): Add more special inputs.
31540         (output_for_one_input_case): Do not require ERANGE on underflow to
31541         zero if round-to-nearest result does not underflow to zero, unless
31542         exact results required.
31543         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
31544         atan, atanh, cbrt, cos and cosh.
31545         * math/auto-libm-test-out: Regenerated.
31546         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
31547         (acos_tonearest_test_data): Likewise.
31548         (acos_towardzero_test_data): Likewise.
31549         (acos_downward_test_data): Likewise.
31550         (acos_upward_test_data): Likewise.
31551         (acosh_test_data): Likewise.
31552         (asin_test_data): Likewise.
31553         (asin_tonearest_test_data): Likewise.
31554         (asin_towardzero_test_data): Likewise.
31555         (asin_upward_test_data): Likewise.
31556         (asinh_test_data): Likewise.
31557         (atan_test_data): Likewise.
31558         (atanh_test_data): Likewise.
31559         (cbrt_test_data): Likewise.
31560         (cos_test_data): Likewise.
31561         (cos_tonearest_test_data): Likewise.
31562         (cos_towardzero_test_data): Likewise.
31563         (cos_downward_test_data): Likewise.
31564         (cos_upward_test_data): Likewise.
31565         (cosh_test_data): Likewise.
31566         (cosh_tonearest_test_data): Likewise.
31567         (cosh_towardzero_test_data): Likewise.
31568         (cosh_downward_test_data): Likewise.
31569         (cosh_upward_test_data): Likewise.
31570         * sysdeps/i386/fpu/libm-test-ulps: Update.
31571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31573 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
31575         [BZ #6787]
31576         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
31577         * math/w_exp10f.c (__exp10f): Likewise.
31578         * math/w_exp10l.c (__exp10l): Likewise.
31579         * math/libm-test.inc (exp10_test_data): Add more tests and expect
31580         errno settings in existing tests.
31582         [BZ #14032]
31583         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
31584         precision control set to double precision.
31585         * sysdeps/i386/fpu/w_sqrt.c: New file.
31586         * math/auto-libm-test-in: Add more tests.
31587         * math/auto-libm-test-out: Update.
31589         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
31590         (sqrt_test_tonearest): New function.
31591         (sqrt_towardzero_test_data): New variable.
31592         (sqrt_test_towardzero): New function.
31593         (sqrt_downward_test_data): New variable.
31594         (sqrt_test_downward): New function.
31595         (sqrt_upward_test_data): New variable.
31596         (sqrt_test_upward): New function.
31597         (main): Call the new functions.
31599         * math/gen-auto-libm-tests.c: New file.
31600         * math/auto-libm-test-in: Likewise.
31601         * math/auto-libm-test-out: New generated file.
31602         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
31603         variables.
31604         (%beautify): Add generated representations of zero.
31605         (top level): Set $auto_input and call parse_auto_input.
31606         (beautify): Remove trailing "f" from hex float constants.
31607         (parse_args): Handle XFAIL_TEST.
31608         (convert_condition): New function.
31609         (or_value): Likewise.
31610         (or_cond_value): Likewise.
31611         (generate_testfile): Handle AUTO_TESTS_* lines.
31612         (parse_auto_input): New function.
31613         * math/libm-test.inc (XFAIL_TEST): New macro.
31614         (ERRNO_UNCHANGED): Update value.
31615         (ERRNO_EDOM): Likewise.
31616         (ERRNO_ERANGE): Likewise.
31617         (IGNORE_RESULT): Likewise.
31618         (TEST_COND_flt_32): New macro.
31619         (TEST_COND_dbl_64): Likewise.
31620         (TEST_COND_ldbl_96_intel): Likewise.
31621         (TEST_COND_ldbl_96_m68k): Likewise.
31622         (TEST_COND_ldbl_128): Likewise.
31623         (TEST_COND_ldbl_128ibm): Likewise.
31624         (TEST_COND_long32): Likewise.
31625         (TEST_COND_long64): Likewise.
31626         (TEST_COND_before_rounding): Likewise.
31627         (TEST_COND_after_rounding): Likewise.
31628         (enable_test): Handle XFAIL_TEST flag.
31629         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
31630         with finite results.
31631         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
31632         auto-libm-test-out.
31634 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31635             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31637         [BZ #16214]
31638         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
31639         __tls_get_addr_internal instead of __tls_get_offset in order to
31640         avoid GOT pointer dependency.  Make rtld export
31641         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
31642         __tls_get_addr since we are a __tls_get_offset platform.
31643         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
31644         GOT pointer being set up before.
31645         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
31647 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
31649         * manual/math.texi (Errors in Math Functions): Document accuracy
31650         goals.
31652         [BZ #15004]
31653         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
31654         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
31655         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31656         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31657         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31658         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31659         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31660         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31661         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31662         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31663         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31664         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31665         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31666         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31667         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31668         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31670         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
31671         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
31672         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
31673         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
31674         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
31675         Likewise.
31676         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
31677         Likewise.
31678         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
31679         Likewise.
31680         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
31681         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
31682         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
31683         atomic-feupdateenv and flt-rounds.
31684         * sysdeps/powerpc/nofpu/Versions (libc): Add
31685         __atomic_feholdexcept, __atomic_feclearexcept,
31686         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
31687         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
31688         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
31689         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
31690         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
31691         here.
31692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31693         Update.
31695         * manual/arith.texi (FP Exceptions): Document that exceptions may
31696         not be raised when matherr is used.
31697         (Math Error Reporting): Document overflow in directed rounding
31698         modes.  Document that errno may not be set when finite values are
31699         returned on overflow.  Document intent to set errno on underflow
31700         only for underflow to zero.
31702         [BZ #16271]
31703         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
31704         round-to-nearest then adjust result for other rounding modes.
31705         * include/fenv.h (fegetround): Use libm_hidden_proto.
31706         * math/fegetround.c (fegetround): Use libm_hidden_def.
31707         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31708         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31709         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31710         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31711         Likewise.
31712         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
31713         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31714         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31715         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
31717 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31719         [BZ #16077]
31720         * nss/Versions (libnss_files): Add
31721         _nss_files_gethostbyname3_r.
31722         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
31723         New function.
31724         (HOST_DB_LOOKUP): Remove macro.
31725         (_nss_files_gethostbyname_r): Implement function without the
31726         HOST_DB_LOOKUP macro.
31727         (_nss_files_gethostbyname2_r): Likewise.
31729 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
31731         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
31733 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
31735         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
31736         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
31737         warning.
31739 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31741         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
31742         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
31743         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31744         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31745         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
31746         __fe_nomask_env_priv and attribute_hidden.
31747         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
31748         (libc_feupdateenv_test_ppc): Likewise.
31749         (libc_feresetround_ppc): Likewise.
31750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31751         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
31752         compat_symbol macro.
31753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31754         (__fe_nomask_env): Likewise.
31755         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
31757 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31759         * string/Makefile: Remove ifunc tests.
31760         * string/test-string.h: Define TEST_IFUNC.
31761         * string/test-bcopy-ifunc.c: Remove.
31762         * string/test-bzero-ifunc.c: Likewise.
31763         * string/test-memccpy-ifunc.c: Likewise.
31764         * string/test-memchr-ifunc.c: Likewise.
31765         * string/test-memcmp-ifunc.c: Likewise.
31766         * string/test-memcpy-ifunc.c: Likewise.
31767         * string/test-memmem-ifunc.c: Likewise.
31768         * string/test-memmove-ifunc.c: Likewise.
31769         * string/test-mempcpy-ifunc.c: Likewise.
31770         * string/test-memrchr-ifunc.c: Likewise.
31771         * string/test-memset-ifunc.c: Likewise.
31772         * string/test-rawmemchr-ifunc.c: Likewise.
31773         * string/test-stpcpy-ifunc.c: Likewise.
31774         * string/test-stpncpy-ifunc.c: Likewise.
31775         * string/test-strcasecmp-ifunc.c: Likewise.
31776         * string/test-strcasestr-ifunc.c: Likewise.
31777         * string/test-strcat-ifunc.c: Likewise.
31778         * string/test-strchr-ifunc.c: Likewise.
31779         * string/test-strchrnul-ifunc.c: Likewise.
31780         * string/test-strcmp-ifunc.c: Likewise.
31781         * string/test-strcpy-ifunc.c: Likewise.
31782         * string/test-strcspn-ifunc.c: Likewise.
31783         * string/test-strlen-ifunc.c: Likewise.
31784         * string/test-strncasecmp-ifunc.c: Likewise.
31785         * string/test-strncat-ifunc.c: Likewise.
31786         * string/test-strncmp-ifunc.c: Likewise.
31787         * string/test-strncpy-ifunc.c: Likewise.
31788         * string/test-strnlen-ifunc.c: Likewise.
31789         * string/test-strpbrk-ifunc.c: Likewise.
31790         * string/test-strrchr-ifunc.c: Likewise.
31791         * string/test-strspn-ifunc.c: Likewise.
31792         * string/test-strstr-ifunc.c: Likewise.
31794 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31796         * benchtests/Makefile: Remove ifunc tests.
31797         * benchtests/bench-string.h: Define TEST_IFUNC.
31798         * benchtests/bench-bcopy-ifunc.c: Remove.
31799         * benchtests/bench-bzero-ifunc.c: Likewise.
31800         * benchtests/bench-memccpy-ifunc.c: Likewise.
31801         * benchtests/bench-memchr-ifunc.c: Likewise.
31802         * benchtests/bench-memcmp-ifunc.c: Likewise.
31803         * benchtests/bench-memcpy-ifunc.c: Likewise.
31804         * benchtests/bench-memmem-ifunc.c: Likewise.
31805         * benchtests/bench-memmove-ifunc.c: Likewise.
31806         * benchtests/bench-mempcpy-ifunc.c: Likewise.
31807         * benchtests/bench-memrchr-ifunc.c: Likewise.
31808         * benchtests/bench-memset-ifunc.c: Likewise.
31809         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
31810         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
31811         * benchtests/bench-stpcpy-ifunc.c: Likewise.
31812         * benchtests/bench-stpncpy-ifunc.c: Likewise.
31813         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
31814         * benchtests/bench-strcasestr-ifunc.c: Likewise.
31815         * benchtests/bench-strcat-ifunc.c: Likewise.
31816         * benchtests/bench-strchr-ifunc.c: Likewise.
31817         * benchtests/bench-strchrnul-ifunc.c: Likewise.
31818         * benchtests/bench-strcmp-ifunc.c: Likewise.
31819         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
31820         * benchtests/bench-strcpy-ifunc.c: Likewise.
31821         * benchtests/bench-strcspn-ifunc.c: Likewise.
31822         * benchtests/bench-strlen-ifunc.c: Likewise.
31823         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
31824         * benchtests/bench-strncat-ifunc.c: Likewise.
31825         * benchtests/bench-strncmp-ifunc.c: Likewise.
31826         * benchtests/bench-strncpy-ifunc.c: Likewise.
31827         * benchtests/bench-strnlen-ifunc.c: Likewise.
31828         * benchtests/bench-strpbrk-ifunc.c: Likewise.
31829         * benchtests/bench-strrchr-ifunc.c: Likewise.
31830         * benchtests/bench-strsep-ifunc.c: Likewise.
31831         * benchtests/bench-strspn-ifunc.c: Likewise.
31832         * benchtests/bench-strstr-ifunc.c: Likewise.
31834 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31836         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
31838 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31840         * resolv/netdb.h: Use __glibc_reserved instead __unused.
31841         * rt/aio.h: Likewise.
31842         * sysdeps/gnu/bits/utmp.h: Likewise.
31843         * sysdeps/gnu/bits/utmpx.h: Likewise.
31844         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31845         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
31846         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
31847         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
31848         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
31849         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
31850         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
31851         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
31852         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
31853         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
31854         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
31855         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
31856         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
31857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
31858         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31859         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
31860         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
31861         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
31862         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
31863         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
31864         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
31865         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31866         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
31867         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31868         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31870         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
31871         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
31872         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
31873         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
31874         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
31875         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
31876         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
31877         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31878         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
31879         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
31880         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
31881         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
31882         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
31883         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
31884         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
31885         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31887 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
31889         [BZ #16245]
31890         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
31891         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
31893 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
31895         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
31896         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31897         Likewise.
31899 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31901         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
31902         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
31903         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
31904         (__fesetround): Remove define.
31905         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
31906         rounding and exceptions handling.
31907         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
31908         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
31909         (__fe_nomask_env): Likewise.
31910         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
31911         __fegetround instead of fegetround.
31912         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31913         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
31915 2013-11-21  Roland McGrath  <roland@hack.frob.com>
31917         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
31918         it's there.
31920         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
31922 2013-11-21  Meador Inge  <meadori@codesourcery.com>
31924         [BZ #11157]
31925         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
31926         (encrypt_r): Likewise.
31927         * malloc/obstack.h (obstack_free): Likewise.
31928         * posix/unistd.h (encrypt): Likewise.
31930 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
31932         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
31933         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
31934         DL_CALL_DT_FINI() that call the functions directly.
31935         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
31936         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
31937         * elf/dl-fini.c: Likewise.
31939 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
31941         * malloc/hooks.c (memalign_check): Add alignment rounding.
31942         * malloc/malloc.c (_mid_memalign): New function.
31943         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
31944         Implement by calling _mid_memalign.
31945         * manual/probes.texi (Memory Allocation Probes): Remove
31946         memory_valloc_retry and memory_pvalloc_retry.
31948 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31950         * locale/programs/locarchive.c (open_archive): Add const
31951         qualifier to ARCHIVEFNAME and copy default fname to
31952         DEFAULT_FNAME.
31954         [BZ #15601]
31955         * libio/tst-widetext.input: Rename Oriya to Odia.
31956         * locale/iso-639.def: Likewise.
31958         * manual/probes.texi (Mathematical Function Probes): Add
31959         documentation for sin, cos, asin and acos probes.
31960         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31961         (__sin32): Add slowasin probe.
31962         (__cos32): Add slowacos probe.
31963         (__mpsin): Add slowsin probe.
31964         (__mpcos): Add slowcos probe.
31966 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
31968         [BZ #15483]
31969         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31970         thread-local __sim_exceptions_thread and global
31971         __sim_exceptions_global.
31972         (__sim_disabled_exceptions): Change to thread-local
31973         __sim_disabled_exceptions_thread and global
31974         __sim_disabled_exceptions_global.
31975         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31976         and global __sim_round_mode_global.
31977         (__simulate_exceptions): Use thread-local floating-point state and
31978         set global state from it as needed.
31979         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31980         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31981         __sim_round_mode_thread.
31982         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31983         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31984         and global __sim_exceptions_global.
31985         (__sim_disabled_exceptions): Change to thread-local
31986         __sim_disabled_exceptions_thread and global
31987         __sim_disabled_exceptions_global.
31988         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31989         and global __sim_round_mode_global.
31990         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31991         (SIM_SET_GLOBAL): Likewise.
31992         * sysdeps/powerpc/soft-fp/sfp-machine.h
31993         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31994         __sim_round_mode_thread.
31995         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31996         __sim_disabled_exceptions_thread.
31997         (__sim_exceptions): Change to __sim_exceptions_thread.
31998         (__sim_disabled_exceptions): Change to
31999         __sim_disabled_exceptions_thread.
32000         (__sim_round_mode): Change to __sim_round_mode_thread.
32001         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
32002         thread-local floating-point state and set global state from it as
32003         needed.
32004         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
32005         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
32006         (__sim_disabled_exceptions): Remove extern declaration.
32007         (feenableexcept): Use thread-local floating-point state and set
32008         global state from it as needed.
32009         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
32010         extern declaration.
32011         (__sim_disabled_exceptions): Likewise.
32012         (__sim_round_mode): Likewise.
32013         (__fegetenv): Use thread-local floating-point state.
32014         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
32015         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
32016         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
32017         floating-point state and set global state from it as needed.
32018         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
32019         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32020         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
32021         Likewise.
32022         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
32023         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
32024         Likewise.
32025         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
32026         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
32027         Use __sim_round_mode_thread.
32028         * math/test-fenv-tls.c: New file.
32029         * math/Makefile (tests): Add test-fenv-tls.
32030         ($(objpfx)test-fenv-tls): Depend on
32031         $(common-objpfx)nptl/libpthread.so.
32033 2013-11-19  Andreas Schwab  <schwab@suse.de>
32035         * locale/programs/locale.c (show_info): Decode wordarray elements.
32036         * locale/categories.def (LC_MONETARY): Add element for
32037         _NL_MONETARY_CRNCYSTR.
32038         * locale/C-monetary.c (conversion_rate): New variable.
32039         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
32040         element.
32042 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
32044         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
32045         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
32047 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
32049         * elf/Makefile (tst-auxv): New test.
32050         * elf/tst-auxv.c: New
32051         * elf/rtld.c (dl_main): Adjust AT_EXECFN
32053 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
32055         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
32056         (hidden_proto): Caller changed.
32057         (hidden_tls_proto): New macro.
32058         (libc_hidden_tls_proto): Likewise.
32059         (rtld_hidden_tls_proto): Likewise.
32060         (libm_hidden_tls_proto): Likewise.
32061         (libresolv_hidden_tls_proto): Likewise.
32062         (librt_hidden_tls_proto): Likewise.
32063         (libdl_hidden_tls_proto): Likewise.
32064         (libnss_files_hidden_tls_proto): Likewise.
32065         (libnsl_hidden_tls_proto): Likewise.
32066         (libnss_nisplus_hidden_tls_proto): Likewise.
32067         (libutil_hidden_tls_proto): Likewise.
32069 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
32071         [BZ #10253]
32072         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
32073         (decompose_rpath): Defer expansion to fillin_rpath.
32074         (_dl_init_paths): Pass linkmap to fillin_rpath.
32076 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32078         * benchtests/Makefile: Add strsep.
32079         * benchtests/bench-strsep.c: New file: strsep benchtest.
32080         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
32082 2013-11-18  Andreas Schwab  <schwab@suse.de>
32084         * locale/programs/locale.c (show_info) [case byte]: Check for
32085         '\377' instead of '\177'.
32086         * locale/C-monetary.c (not_available): Always use "\377".
32087         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
32088         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
32089         detect unavailable sign_posn locale elements.
32090         * locale/localeconv.c (__localeconv): For grouping and
32091         mon_grouping handle "\177" and "\377" like no grouping.
32092         (INT_ELEM): New macro.  Use it to set all numeric members.
32093         * locale/programs/ld-monetary.c (monetary_read)
32094         <tok_mon_grouping>: Normalize single -1 to the empty string.
32095         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
32096         Likewise.
32098 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
32100         [BZ #16055]
32101         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
32102         when we match (nil).
32103         * stdio-common/tst-sscanf.c (struct test): Add testcase.
32105 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
32107         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
32108         (NO_TEST_INLINE): Update value.
32109         (ERRNO_UNCHANGED): Likewise.
32110         (ERRNO_EDOM): Likewise.
32111         (ERRNO_ERANGE): Likewise.
32112         (IGNORE_RESULT): Likewise.
32113         (check_float_internal): Check signs of NaN results if
32114         TEST_NAN_SIGN used.
32115         (check_complex): Pass TEST_NAN_SIGN flag through to second
32116         check_float_internal call.
32117         (copysign_test_data): Add tests with quiet NaNs as second
32118         argument.  Use TEST_NAN_SIGN.
32119         (fabs_test_data): Add test of negative quiet NaN argument.  Use
32120         TEST_NAN_SIGN.
32121         (signbit_test_data): Add tests of quiet NaN argument.
32122         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
32124         * math/gen-libm-test.pl (show_exceptions): Take extra argument
32125         $ignore_result.
32126         (parse_args): Handle function results specified as IGNORE.
32127         * math/libm-test.inc (IGNORE_RESULT): New macro.
32128         (check_float_internal): Do not check numerical result if flag
32129         IGNORE_RESULT set.
32130         (check_complex): Pass through IGNORE_RESULT to second
32131         check_float_internal call.
32132         (check_int): Do not check numerical result if flag IGNORE_RESULT
32133         set.
32134         (check_long): Likewise.
32135         (check_bool): Likewise.
32136         (check_longlong): Likewise.
32137         (lrint_test_data): Add tests of infinite and NaN arguments.
32138         (lrint_tonearest_test_data): Likewise.
32139         (lrint_towardzero_test_data): Likewise.
32140         (lrint_downward_test_data): Likewise.
32141         (lrint_upward_test_data): Likewise.
32142         (llrint_test_data): Likewise.
32143         (llrint_tonearest_test_data): Likewise.
32144         (llrint_towardzero_test_data): Likewise.
32145         (llrint_downward_test_data): Likewise.
32146         (llrint_upward_test_data): Likewise.
32147         (lround_test_data): Likewise.
32148         (llround_test_data): Likewise.
32150         * math/libm-test.inc (NO_TEST_INLINE): New macro.
32151         (ERRNO_UNCHANGED): Update value.
32152         (ERRNO_EDOM): Likewise.
32153         (ERRNO_ERANGE): Likewise.
32154         (NO_TEST_INLINE_FLOAT): New macro.
32155         (NO_TEST_INLINE_DOUBLE): Likewise.
32156         (enable_test): New function.
32157         (RUN_TEST_f_f): Check enable_test before running test.
32158         (RUN_TEST_2_f): Likewise.
32159         (RUN_TEST_fff_f): Likewise.
32160         (RUN_TEST_c_f): Likewise.
32161         (RUN_TEST_f_f1): Likewise.
32162         (RUN_TEST_fF_f1): Likewise.
32163         (RUN_TEST_fI_f1): Likewise.
32164         (RUN_TEST_ffI_f1): Likewise.
32165         (RUN_TEST_c_c): Likewise.
32166         (RUN_TEST_cc_c): Likewise.
32167         (RUN_TEST_f_i): Likewise.
32168         (RUN_TEST_f_i_tg): Likewise.
32169         (RUN_TEST_ff_i_tg): Likewise.
32170         (RUN_TEST_f_b): Likewise.
32171         (RUN_TEST_f_b_tg): Likewise.
32172         (RUN_TEST_f_l): Likewise.
32173         (RUN_TEST_f_L): Likewise.
32174         (RUN_TEST_fFF_11): Likewise.
32175         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
32176         conditionals.
32177         (cosh_test_data): Likewise.
32178         (exp_test_data): Likewise.
32179         (expm1_test_data): Likewise.
32180         (hypot_test_data): Likewise.
32181         (pow_test_data): Likewise.
32182         (sinh_test_data): Likewise.
32183         (tanh_test_data): Likewise.
32184         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
32185         flags argument.
32187         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
32188         tests with quiet NaN input and output.
32189         (acosh_test_data): Likewise.
32190         (asin_test_data): Likewise.
32191         (asinh_test_data): Likewise.
32192         (atan_test_data): Likewise.
32193         (atanh_test_data): Likewise.
32194         (atan2_test_data): Likewise.
32195         (cbrt_test_data): Likewise.
32196         (cos_test_data): Likewise.
32197         (cosh_test_data): Likewise.
32198         (erf_test_data): Likewise.
32199         (erfc_test_data): Likewise.
32200         (exp_test_data): Likewise.
32201         (exp10_test_data): Likewise.
32202         (exp2_test_data): Likewise.
32203         (expm1_test_data): Likewise.
32204         (hypot_test_data): Likewise.
32205         (j0_test_data): Likewise.
32206         (j1_test_data): Likewise.
32207         (jn_test_data): Likewise.
32208         (lgamma_test_data): Likewise.
32209         (log_test_data): Likewise.
32210         (log10_test_data): Likewise.
32211         (log1p_test_data): Likewise.
32212         (log2_test_data): Likewise.
32213         (pow_test_data): Likewise.
32214         (scalb_test_data): Likewise.
32215         (sin_test_data): Likewise.
32216         (sincos_test_data): Likewise.
32217         (sinh_test_data): Likewise.
32218         (tan_test_data): Likewise.
32219         (tanh_test_data): Likewise.
32220         (tgamma_test_data): Likewise.
32221         (y0_test_data): Likewise.
32222         (y1_test_data): Likewise.
32223         (yn_test_data): Likewise.
32225         [BZ #16167]
32226         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
32227         argument being NaN and avoid computations with second argument in
32228         that case.
32229         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32230         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32231         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32233 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
32235         * locale/iso-639.def: Add Chitwani Tharu (the).
32237 2013-11-14  Andreas Schwab  <schwab@suse.de>
32239         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
32240         word instead of empty string.
32242 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32245         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
32246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32247         (__fe_nomask_env): Likewise.
32249 2013-11-13  Steve Ellcey  <sellcey@mips.com>
32251         * benchtests/bench-timing.h: Include time.h.
32253 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
32255         [BZ #15997]
32256         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
32257         to 3.4.0 for x32.
32258         * sysdeps/unix/sysv/linux/configure: Regenerated.
32260 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
32262         [BZ #16151]
32263         * stdlib/strtod_l.c (round_and_return): Do not consider
32264         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
32265         exponent one less than half the least subnormal exponent.
32266         * stdlib/test-strtod-round-data: Add more tests.
32267         * stdlib/tst-strtod-round.c (tests): Regenerated.
32269 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32271         [BZ #14143]
32272         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
32273         (__fe_mask_env): Likewise.
32274         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
32275         libm_hidden_proto and add function prototype.
32276         (__fe_mask_env): Add function prototype.
32277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32278         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
32279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32280         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
32281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32282         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
32284 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32286         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
32287         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
32289 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32291         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
32292         of htab_find_slot().
32294 2013-11-11  David S. Miller  <davem@davemloft.net>
32296         [BZ #16150]
32297         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
32298         symbol in the non-vis3 case in static builds.
32299         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
32300         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
32301         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
32302         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
32304 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
32306         [BZ #387]
32307         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
32308         it is empty.
32310 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32312         * benchtests/Makefile: Add bench-strtod.
32313         * benchtests/bench-strtod.c: New file: strtod benchtest
32315 2013-11-11  Andreas Schwab  <schwab@suse.de>
32317         [BZ #16153]
32318         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
32319         terminating NUL in key length.
32321 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32323         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
32324         Add artificial ODP entry for vDSO symbol for PPC64.
32325         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
32326         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32328 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
32330         [BZ #15374]
32331         * nss/getent.c (services_keys): Recognize services starting with digit.
32333 2013-11-06  David S. Miller  <davem@davemloft.net>
32335         [BZ #15985]
32336         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
32337         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
32339 2013-11-06  Will Newton  <will.newton@linaro.org>
32341         * manual/memory.texi (Malloc Examples): Remove register
32342         keyword from examples.
32344 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
32346         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
32348 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
32350         [BZ #6981]
32351         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
32352         depending on [__GCC_IEC_559 > 0].
32353         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
32354         depending on [__GCC_IEC_559_COMPLEX > 0].
32356 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
32358         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
32359         to iso-639.def.
32361 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
32363         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
32365 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
32367         [BZ #16112]
32368         * malloc/malloc (malloc_info): Do not handle first bin as
32369         special case.
32371 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
32373         * locale/iso-639.def: Add Central Nahuatl (nhn).
32375 2013-11-01  Bruno Haible  <bruno@clisp.org>
32377         [BZ #7003]
32378         * manual/math.texi (BSD Random): Specify range upper bound as
32379         in POSIX.
32381 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
32383         * locale/iso-639.def: Add Meadow Mari (mhr).
32385 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
32387         [BZ #14752], [BZ #15763]
32388         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
32389         Validate name.
32390         * rt/tst_shm.c: Add test for escaping directory.
32392 2013-10-31  Andreas Schwab  <schwab@suse.de>
32394         [BZ #15917]
32395         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
32396         followed by 'x' as part of digit sequence.
32397         * stdio-common/tst-sscanf.c (double_tests2): New tests.
32399 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
32401         [BZ #16037]
32402         * configure.ac: allow GNU Make 4.0 and greater.
32403         * configure: Regenerated.
32405 2013-10-30  Will Newton  <will.newton@linaro.org>
32407         [BZ #16038]
32408         * malloc/hooks.c (memalign_check): Limit alignment to the
32409         maximum representable power of two.
32410         * malloc/malloc.c (__libc_memalign): Likewise.
32411         * malloc/tst-memalign.c (do_test): Add test for very
32412         large alignment values.
32413         * malloc/tst-posix_memalign.c (do_test): Likewise.
32415 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
32417         [BZ #11087]
32418         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
32419         (munmap_chunk): Likewise.
32420         (mremap_chunk): Likewise.
32422 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
32424         [BZ #15799]
32425         * stdlib/div.c (div): Remove obsolete code.
32426         * stdlib/ldiv.c (ldiv): Likewise.
32427         * stdlib/lldiv.c (lldiv): Likewise.
32429 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32431         [BZ #16071]
32432         * nss/nss_files/files-XXX.c (get_contents_ret): New
32433         enumerator.
32434         (get_contents): New function.
32435         (internal_getent): Use it.  Expand size of LINEBUFLEN.
32437 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
32439         * configure.in: Moved to ...
32440         * configure.ac: ... here. Change reference to configure.in
32441         to configure.ac.
32442         * sysdeps/arm/preconfigure.ac: ... here.
32443         configure.in to configure.ac.
32444         * sysdeps/gnu/configure.in: Moved to ...
32445         * sysdeps/gnu/configure.ac: ... here.
32446         * sysdeps/i386/configure.in: Moved to ...
32447         * sysdeps/i386/configure.ac: ... here.
32448         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
32449         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
32450         * sysdeps/mach/configure.in: Moved to ...
32451         * sysdeps/mach/configure.ac: ... here.
32452         * sysdeps/mach/hurd/configure.in: Moved to ...
32453         * sysdeps/mach/hurd/configure.ac: ... here.
32454         * sysdeps/powerpc/configure.in: Moved to ...
32455         * sysdeps/powerpc/configure.ac: ... here.
32456         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
32457         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
32458         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
32459         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
32460         * sysdeps/s390/s390-32/configure.in: Moved to ...
32461         * sysdeps/s390/s390-32/configure.ac: ... here.
32462         * sysdeps/s390/s390-64/configure.in: Moved to ...
32463         * sysdeps/s390/s390-64/configure.ac: ... here.
32464         * sysdeps/sh/configure.in: Moved to ...
32465         * sysdeps/sh/configure.ac: ... here.
32466         * sysdeps/sparc/configure.in: Moved to ...
32467         * sysdeps/sparc/configure.ac: ... here.
32468         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
32469         * sysdeps/unix/sysv/linux/configure.ac: ... here.
32470         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
32471         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
32472         * sysdeps/x86_64/configure.in: Moved to ...
32473         * sysdeps/x86_64/configure.ac: ... here.
32474         * sysdeps/x86_64/preconfigure.in: Moved to ...
32475         * sysdeps/x86_64/preconfigure.ac: ... here.
32476         * aclocal.m4: Change reference to configure.in to configure.ac.
32477         * config.h.in: Likewise.
32478         * manual/install.texi: Likewise.
32479         * manual/maint.texi: Likewise.
32480         * Makefile: Likewise.
32481         * malloc/Makefile: Likewise.
32482         * nscd/Makefile: Likewise.
32483         * Makeconfig: Change reference to configure.in and
32484         preconfigure.in to configure.ac and preconfigure.ac
32485         respectively.
32486         * INSTALL: Regenerated.
32487         * configure: Likewise.
32488         * sysdeps/gnu/configure: Likewise.
32489         * sysdeps/i386/configure: Likewise.
32490         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
32491         * sysdeps/mach/configure: Likewise.
32492         * sysdeps/mach/hurd/configure: Likewise.
32493         * sysdeps/powerpc/configure: Likewise.
32494         * sysdeps/powerpc/powerpc32/configure: Likewise.
32495         * sysdeps/powerpc/powerpc64/configure: Likewise.
32496         * sysdeps/s390/s390-32/configure: Likewise.
32497         * sysdeps/s390/s390-64/configure: Likewise.
32498         * sysdeps/sh/configure: Likewise.
32499         * sysdeps/sparc/configure: Likewise.
32500         * sysdeps/unix/sysv/linux/configure: Likewise.
32501         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
32502         * sysdeps/x86_64/configure: Likewise.
32503         * sysdeps/x86_64/preconfigure: Likewise.
32505 2013-10-29  Andreas Schwab  <schwab@suse.de>
32507         * stdio-common/Makefile (tst-swscanf-ENV): Define.
32509 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32511         * benchtests/pow-inputs: Add new inputs.
32513         * benchtests/exp-inputs: Add new inputs.
32515         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
32516         conditional check for return value.
32517         (__cos32): Likewise.
32519 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32521         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
32522         to provide a boost for large inputs with word alignment.
32523         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
32524         implementation based on optimized PPC64 strcpy.
32525         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
32526         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
32527         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
32528         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
32530 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
32532         [BZ #2801]
32533         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
32535 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
32537         [BZ #14876]
32538         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
32539         * time/tst-strptime.c (day_tests): Add testcase.
32541 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
32543         [BZ #14029]
32544         * manual/pattern.texi: Acknowledge that fnmatch can fail.
32546 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
32548         [BZ #16074]
32549         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
32550         MAP_FAILED on error.
32552 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32554         [BZ #16072]
32555         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
32556         heap for large requests.
32558 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
32560         [BZ #9954]
32561         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
32562         result if the result has no associated interface.
32563         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
32564         interface for all 127.X.Y.Z addresses.
32566 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
32568         * locale/iso-639.def: Add Ligurian (lij)
32570 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
32572         [BZ #15825]
32573         * sunrpc/rpc_main.c: Document rpcgen -5.
32575 2013-10-19  Michael Stahl  <mstahl@redhat.com>
32577         * elf/rtld.c (do_preload): Print the reason why preloading failed.
32579 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
32581         [BZ #10278]
32582         * posix/glob.c: Match only directories when trailing slash is present.
32583         * posix/tst-gnuglob.c (my_opendir): Do not open files.
32584         (main): Add testcase.
32586 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
32588         [BZ #15670]
32589         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
32591 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
32593         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
32594         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
32595         AUTH_DES and cindex for FIPS 140-2.
32596         (DES Encryption): Add cindex FIPS 46-3.
32598         * locale/locarchive.h (struct locarhandle): Add fname.
32599         * locale/programs/localedef.c (main): Pass ARGV[remaining]
32600         if an optional argument was specified to --list-archive,
32601         otherwise NULL.
32602         * locale/programs/locarchive.c (show_archive_content): Take new
32603         argument fname and pass it via ah.fname to open_archive.
32604         * locale/programs/localedef.h: Update decl.
32605         (open_archive): If AH->fname is non-null, open that file
32606         rather than the default file name, and don't ignore ENOENT.
32607         (create_archive): Set AH.fname to NULL.
32608         (delete_locales_from_archive): Likewise.
32609         (add_locales_to_archive): Likewise.
32610         * locale/programs/locfile.c (write_all_categories): Likewise.
32612 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
32613             Aldy Hernandez  <aldyh@redhat.com>
32615         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
32616         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
32617         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
32618         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
32619         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
32620         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
32621         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
32622         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
32623         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
32624         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
32625         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
32626         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
32627         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
32628         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
32629         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
32630         Likewise.
32631         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
32632         Likewise.
32633         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
32634         Likewise.
32635         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
32636         Likewise.
32637         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
32638         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
32639         Likewise.
32640         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
32641         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
32642         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
32643         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
32644         Likewise.
32645         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
32646         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
32647         * sysdeps/powerpc/preconfigure: Likewise.
32648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
32649         Likewise.
32650         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
32651         Replace contents of file by #include of <fenv_libc.h>.
32652         * sysdeps/powerpc/soft-fp/sfp-machine.h
32653         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
32654         and <sys/prctl.h>.
32655         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
32656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
32657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
32658         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
32659         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
32660         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
32661         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
32662         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
32663         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
32664         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
32665         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
32666         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
32667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32668         Allow copysignl PLT reference to be missing.
32670 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
32671             Joseph Myers  <joseph@codesourcery.com
32673         [BZ #15948]
32674         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
32675         single character.
32676         (add_to_tablewc): Assert sequence of wide characters is nonempty.
32678 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32680         * elf/tst-tls-dlinfo.c: Don't include tls.h.
32681         * elf/tst-tls1.c: Likewise.
32682         * elf/tst-tls10.h: Likewise.
32683         * elf/tst-tls14.c: Likewise.
32684         * elf/tst-tls2.c: Likewise.
32685         * elf/tst-tls3.c: Likewise.
32686         * elf/tst-tls4.c: Likewise.
32687         * elf/tst-tls5.c: Likewise.
32688         * elf/tst-tls6.c: Likewise.
32689         * elf/tst-tls7.c: Likewise.
32690         * elf/tst-tls8.c: Likewise.
32691         * elf/tst-tls9.c: Likewise.
32692         * elf/tst-tlsmod1.c: Likewise.
32693         * elf/tst-tlsmod13.c: Likewise.
32694         * elf/tst-tlsmod13a.c: Likewise.
32695         * elf/tst-tlsmod14a.c: Likewise.
32696         * elf/tst-tlsmod16a.c: Likewise.
32697         * elf/tst-tlsmod16b.c: Likewise.
32698         * elf/tst-tlsmod2.c: Likewise.
32699         * elf/tst-tlsmod3.c: Likewise.
32700         * elf/tst-tlsmod4.c: Likewise.
32701         * elf/tst-tlsmod5.c: Likewise.
32702         * elf/tst-tlsmod6.c: Likewise.
32704 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
32706         [BZ #12486]
32707         * malloc/malloc.c: remove checks for statistics.
32709 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
32711         [BZ #15277]
32712         * inet/inet_net.c (inet_network): Detect additional invalid strings.
32713         * inet/tst-network.c: Add testcase.
32715 2013-10-17  Andreas Schwab  <schwab@suse.de>
32717         [BZ #15218]
32718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
32719         to determine canonical name.
32721 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
32723         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
32724         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
32725         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32726         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32727         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32728         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32729         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32730         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32731         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32732         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32733         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32734         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32735         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32736         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32737         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32738         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32739         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32740         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32741         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32742         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32743         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32744         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32745         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32746         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
32747         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
32748         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32749         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32750         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
32751         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32752         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
32753         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32754         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32755         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32756         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32757         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32758         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32759         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32760         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32761         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32762         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32763         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32764         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32765         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32766         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32767         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32768         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32769         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32770         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32771         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32772         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32773         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32774         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32775         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32776         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32777         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32778         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32779         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32780         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32782 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
32784         [BZ #16041]
32785         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
32786         make result into a quiet NaN.
32788 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
32790         * soft-fp/adddf3.c: Fix horizontal whitespace.
32791         * soft-fp/addsf3.c: Likewise.
32792         * soft-fp/addtf3.c: Likewise.
32793         * soft-fp/divdf3.c: Likewise.
32794         * soft-fp/divsf3.c: Likewise.
32795         * soft-fp/divtf3.c: Likewise.
32796         * soft-fp/double.h: Likewise.
32797         * soft-fp/eqdf2.c: Likewise.
32798         * soft-fp/eqsf2.c: Likewise.
32799         * soft-fp/eqtf2.c: Likewise.
32800         * soft-fp/extenddftf2.c: Likewise.
32801         * soft-fp/extended.h: Likewise.
32802         * soft-fp/extendsfdf2.c: Likewise.
32803         * soft-fp/extendsftf2.c: Likewise.
32804         * soft-fp/extendxftf2.c: Likewise.
32805         * soft-fp/fixdfdi.c: Likewise.
32806         * soft-fp/fixdfsi.c: Likewise.
32807         * soft-fp/fixdfti.c: Likewise.
32808         * soft-fp/fixsfdi.c: Likewise.
32809         * soft-fp/fixsfsi.c: Likewise.
32810         * soft-fp/fixsfti.c: Likewise.
32811         * soft-fp/fixtfdi.c: Likewise.
32812         * soft-fp/fixtfsi.c: Likewise.
32813         * soft-fp/fixtfti.c: Likewise.
32814         * soft-fp/fixunsdfdi.c: Likewise.
32815         * soft-fp/fixunsdfsi.c: Likewise.
32816         * soft-fp/fixunsdfti.c: Likewise.
32817         * soft-fp/fixunssfdi.c: Likewise.
32818         * soft-fp/fixunssfsi.c: Likewise.
32819         * soft-fp/fixunssfti.c: Likewise.
32820         * soft-fp/fixunstfdi.c: Likewise.
32821         * soft-fp/fixunstfsi.c: Likewise.
32822         * soft-fp/fixunstfti.c: Likewise.
32823         * soft-fp/floatdidf.c: Likewise.
32824         * soft-fp/floatdisf.c: Likewise.
32825         * soft-fp/floatditf.c: Likewise.
32826         * soft-fp/floatsidf.c: Likewise.
32827         * soft-fp/floatsisf.c: Likewise.
32828         * soft-fp/floatsitf.c: Likewise.
32829         * soft-fp/floattidf.c: Likewise.
32830         * soft-fp/floattisf.c: Likewise.
32831         * soft-fp/floattitf.c: Likewise.
32832         * soft-fp/floatundidf.c: Likewise.
32833         * soft-fp/floatundisf.c: Likewise.
32834         * soft-fp/floatunditf.c: Likewise.
32835         * soft-fp/floatunsidf.c: Likewise.
32836         * soft-fp/floatunsisf.c: Likewise.
32837         * soft-fp/floatunsitf.c: Likewise.
32838         * soft-fp/floatuntidf.c: Likewise.
32839         * soft-fp/floatuntisf.c: Likewise.
32840         * soft-fp/floatuntitf.c: Likewise.
32841         * soft-fp/fmadf4.c: Likewise.
32842         * soft-fp/fmasf4.c: Likewise.
32843         * soft-fp/fmatf4.c: Likewise.
32844         * soft-fp/gedf2.c: Likewise.
32845         * soft-fp/gesf2.c: Likewise.
32846         * soft-fp/getf2.c: Likewise.
32847         * soft-fp/ledf2.c: Likewise.
32848         * soft-fp/lesf2.c: Likewise.
32849         * soft-fp/letf2.c: Likewise.
32850         * soft-fp/muldf3.c: Likewise.
32851         * soft-fp/mulsf3.c: Likewise.
32852         * soft-fp/multf3.c: Likewise.
32853         * soft-fp/negdf2.c: Likewise.
32854         * soft-fp/negsf2.c: Likewise.
32855         * soft-fp/negtf2.c: Likewise.
32856         * soft-fp/op-1.h: Likewise.
32857         * soft-fp/op-2.h: Likewise.
32858         * soft-fp/op-4.h: Likewise.
32859         * soft-fp/op-8.h: Likewise.
32860         * soft-fp/op-common.h: Likewise.
32861         * soft-fp/quad.h: Likewise.
32862         * soft-fp/single.h: Likewise.
32863         * soft-fp/soft-fp.h: Likewise.
32864         * soft-fp/sqrtdf2.c: Likewise.
32865         * soft-fp/sqrtsf2.c: Likewise.
32866         * soft-fp/sqrttf2.c: Likewise.
32867         * soft-fp/subdf3.c: Likewise.
32868         * soft-fp/subsf3.c: Likewise.
32869         * soft-fp/subtf3.c: Likewise.
32870         * soft-fp/truncdfsf2.c: Likewise.
32871         * soft-fp/trunctfdf2.c: Likewise.
32872         * soft-fp/trunctfsf2.c: Likewise.
32873         * soft-fp/trunctfxf2.c: Likewise.
32874         * soft-fp/unorddf2.c: Likewise.
32875         * soft-fp/unordsf2.c: Likewise.
32876         * soft-fp/unordtf2.c: Likewise.
32878 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
32880         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
32881         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
32883 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
32885         * elf/dl-libc.c: Clear initfini list after freeing.
32887 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
32889         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
32890         * soft-fp/addsf3.c: Likewise.
32891         * soft-fp/addtf3.c: Likewise.
32892         * soft-fp/divdf3.c: Likewise.
32893         * soft-fp/divsf3.c: Likewise.
32894         * soft-fp/divtf3.c: Likewise.
32895         * soft-fp/double.h: Likewise.
32896         * soft-fp/eqdf2.c: Likewise.
32897         * soft-fp/eqsf2.c: Likewise.
32898         * soft-fp/eqtf2.c: Likewise.
32899         * soft-fp/extenddftf2.c: Likewise.
32900         * soft-fp/extended.h: Likewise.
32901         * soft-fp/extendsfdf2.c: Likewise.
32902         * soft-fp/extendsftf2.c: Likewise.
32903         * soft-fp/extendxftf2.c: Likewise.
32904         * soft-fp/fixdfdi.c: Likewise.
32905         * soft-fp/fixdfsi.c: Likewise.
32906         * soft-fp/fixdfti.c: Likewise.
32907         * soft-fp/fixsfdi.c: Likewise.
32908         * soft-fp/fixsfsi.c: Likewise.
32909         * soft-fp/fixsfti.c: Likewise.
32910         * soft-fp/fixtfdi.c: Likewise.
32911         * soft-fp/fixtfsi.c: Likewise.
32912         * soft-fp/fixtfti.c: Likewise.
32913         * soft-fp/fixunsdfdi.c: Likewise.
32914         * soft-fp/fixunsdfsi.c: Likewise.
32915         * soft-fp/fixunsdfti.c: Likewise.
32916         * soft-fp/fixunssfdi.c: Likewise.
32917         * soft-fp/fixunssfsi.c: Likewise.
32918         * soft-fp/fixunssfti.c: Likewise.
32919         * soft-fp/fixunstfdi.c: Likewise.
32920         * soft-fp/fixunstfsi.c: Likewise.
32921         * soft-fp/fixunstfti.c: Likewise.
32922         * soft-fp/floatdidf.c: Likewise.
32923         * soft-fp/floatdisf.c: Likewise.
32924         * soft-fp/floatditf.c: Likewise.
32925         * soft-fp/floatsidf.c: Likewise.
32926         * soft-fp/floatsisf.c: Likewise.
32927         * soft-fp/floatsitf.c: Likewise.
32928         * soft-fp/floattidf.c: Likewise.
32929         * soft-fp/floattisf.c: Likewise.
32930         * soft-fp/floattitf.c: Likewise.
32931         * soft-fp/floatundidf.c: Likewise.
32932         * soft-fp/floatundisf.c: Likewise.
32933         * soft-fp/floatunsidf.c: Likewise.
32934         * soft-fp/floatunsisf.c: Likewise.
32935         * soft-fp/floatuntidf.c: Likewise.
32936         * soft-fp/floatuntisf.c: Likewise.
32937         * soft-fp/floatuntitf.c: Likewise.
32938         * soft-fp/fmadf4.c: Likewise.
32939         * soft-fp/fmasf4.c: Likewise.
32940         * soft-fp/fmatf4.c: Likewise.
32941         * soft-fp/gedf2.c: Likewise.
32942         * soft-fp/gesf2.c: Likewise.
32943         * soft-fp/getf2.c: Likewise.
32944         * soft-fp/ledf2.c: Likewise.
32945         * soft-fp/lesf2.c: Likewise.
32946         * soft-fp/letf2.c: Likewise.
32947         * soft-fp/muldf3.c: Likewise.
32948         * soft-fp/mulsf3.c: Likewise.
32949         * soft-fp/multf3.c: Likewise.
32950         * soft-fp/negdf2.c: Likewise.
32951         * soft-fp/negsf2.c: Likewise.
32952         * soft-fp/negtf2.c: Likewise.
32953         * soft-fp/op-1.h: Likewise.
32954         * soft-fp/op-2.h: Likewise.
32955         * soft-fp/op-4.h: Likewise.
32956         * soft-fp/op-8.h: Likewise.
32957         * soft-fp/op-common.h: Likewise.
32958         * soft-fp/quad.h: Likewise.
32959         * soft-fp/single.h: Likewise.
32960         * soft-fp/soft-fp.h: Likewise.
32961         * soft-fp/sqrtdf2.c: Likewise.
32962         * soft-fp/sqrtsf2.c: Likewise.
32963         * soft-fp/sqrttf2.c: Likewise.
32964         * soft-fp/subdf3.c: Likewise.
32965         * soft-fp/subsf3.c: Likewise.
32966         * soft-fp/subtf3.c: Likewise.
32967         * soft-fp/truncdfsf2.c: Likewise.
32968         * soft-fp/trunctfdf2.c: Likewise.
32969         * soft-fp/trunctfsf2.c: Likewise.
32970         * soft-fp/trunctfxf2.c: Likewise.
32971         * soft-fp/unorddf2.c: Likewise.
32972         * soft-fp/unordsf2.c: Likewise.
32973         * soft-fp/unordtf2.c: Likewise.
32975 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
32977         [BZ #15672]
32978         * misc/error.c (error_tail): Fix possible buffer overflow.
32980 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
32982         [BZ #13028]
32983         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32984         address.
32986 2013-10-14  P. J. McDermott  <pj@pehjota.net>
32988         [BZ #832]
32989         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
32990         testing pipefail option.
32992 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
32994         * soft-fp/double.h: Indent preprocessor directives inside #if.
32995         * soft-fp/extended.h: Likewise.
32996         * soft-fp/op-2.h: Likewise.
32997         * soft-fp/op-4.h: Likewise.
32998         * soft-fp/op-common.h: Likewise.
32999         * soft-fp/quad.h: Likewise.
33000         * soft-fp/single.h: Likewise.
33001         * soft-fp/soft-fp.h: Likewise.
33003 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
33005         * iconv/iconv_prog.c: Fix typos.
33006         * stdio-common/psiginfo-data.h: Likewise.
33008 2013-10-12   Reuben Thomas <rrt@sc3d.org>
33010         [BZ #15764]
33011         * locale/setlocale.c: Fix typo.
33013 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
33015         [BZ #16036]
33016         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
33017         signaling NaN arguments.
33018         * soft-fp/unordsf2.c (__unordsf2): Likewise.
33019         * soft-fp/unordtf2.c (__unordtf2): Likewise.
33021         [BZ #14910]
33022         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
33023         unordered operands.
33024         * soft-fp/gesf2.c (__gesf2): Likewise.
33025         * soft-fp/getf2.c (__getf2): Likewise.
33026         * soft-fp/ledf2.c (__ledf2): Likewise.
33027         * soft-fp/lesf2.c (__lesf2): Likewise.
33028         * soft-fp/letf2.c (__letf2): Likewise.
33030         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
33031         * soft-fp/eqsf2.c (__eqsf2): Likewise.
33032         * soft-fp/eqtf2.c (__eqtf2): Likewise.
33033         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
33034         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
33035         * soft-fp/fixdfti.c (__fixdfti): Likewise.
33036         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
33037         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
33038         * soft-fp/fixsfti.c (__fixsfti): Likewise.
33039         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
33040         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
33041         * soft-fp/fixtfti.c (__fixtfti): Likewise.
33042         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
33043         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
33044         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
33045         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
33046         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
33047         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
33048         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
33049         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
33050         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
33051         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
33052         * soft-fp/floatdisf.c (__floatdisf): Likewise.
33053         * soft-fp/floatsisf.c (__floatsisf): Likewise.
33054         * soft-fp/floattidf.c (__floattidf): Likewise.
33055         * soft-fp/floattisf.c (__floattisf): Likewise.
33056         * soft-fp/floattitf.c (__floattitf): Likewise.
33057         * soft-fp/floatundidf.c (__floatundidf): Likewise.
33058         * soft-fp/floatundisf.c (__floatundisf): Likewise.
33059         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
33060         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
33061         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
33062         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
33063         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
33064         * soft-fp/gesf2.c (__gesf2): Likewise.
33065         * soft-fp/getf2.c (__getf2): Likewise.
33066         * soft-fp/ledf2.c (__ledf2): Likewise.
33067         * soft-fp/lesf2.c (__lesf2): Likewise.
33068         * soft-fp/letf2.c (__letf2): Likewise.
33070         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
33071         Undefine and redefine.
33072         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
33073         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
33074         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
33075         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
33076         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33077         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
33078         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33079         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
33080         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33081         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
33082         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33083         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
33084         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33085         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
33086         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
33088         [BZ #16032]
33089         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
33090         without decrementing exponent if mantissa >= that for the
33091         denominator, not >.
33092         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
33093         denominator, not >.  Decrement exponent in < case instead of
33094         incrementing in >= case.
33095         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
33096         without decrementing exponent if mantissa >= that for the
33097         denominator, not >.
33099         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
33100         computing saturated result for unsigned overflow.
33102 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33103             Jeff Law  <law@redhat.com>
33105         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
33106         (atan2Mp): Add systemtap probe marker.
33107         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
33108         (__ieee754_log): Add systemtap probe marker.
33109         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
33110         (atanMp): Add systemtap probe marker.
33111         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
33112         (tanMp): Add systemtap probe marker.
33113         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
33114         (__slowexp): Add systemtap probe marker.
33115         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
33116         (__slowpow): Add systemtap probe marker.
33117         * manual/probes.texi: Document probes.
33119 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
33121         [BZ #15362]
33122         * libio/fileops.c (_IO_new_file_write): Return count of bytes
33123         written.
33124         (_IO_new_file_xsputn): Don't return EOF if nothing has been
33125         written.
33126         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
33127         written to buffer but not flushed.
33128         * libio/iofwrite_u.c:  Likewise.
33129         * libio/iopadn.c:  Return bytes returned even if EOF was
33130         encountered.
33131         * libio/iowpadn.c:  Likewise.
33132         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
33133         if _IO_padn does not write the whole buffer.
33134         [!COMPILE_WPRINTF] (PAD): Likewise.
33136 2013-10-10  David S. Miller  <davem@davemloft.net>
33138         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
33139         directory block.
33141 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
33143         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
33144         instead of FSF address.
33145         * soft-fp/fixdfti.c: Likewise.
33146         * soft-fp/fixsfti.c: Likewise.
33147         * soft-fp/fixtfti.c: Likewise.
33148         * soft-fp/fixunsdfti.c: Likewise.
33149         * soft-fp/fixunssfti.c: Likewise.
33150         * soft-fp/fixunstfti.c: Likewise.
33151         * soft-fp/floattidf.c: Likewise.
33152         * soft-fp/floattisf.c: Likewise.
33153         * soft-fp/floattitf.c: Likewise.
33154         * soft-fp/floatuntidf.c: Likewise.
33155         * soft-fp/floatuntisf.c: Likewise.
33156         * soft-fp/floatuntitf.c: Likewise.
33157         * soft-fp/trunctfxf2.c: Likewise.
33159         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
33160         * soft-fp/fixdfti.c: Likewise.
33161         * soft-fp/fixsfti.c: Likewise.
33162         * soft-fp/fixtfti.c: Likewise.
33163         * soft-fp/fixunsdfti.c: Likewise.
33164         * soft-fp/fixunssfti.c: Likewise.
33165         * soft-fp/fixunstfti.c: Likewise.
33166         * soft-fp/floattidf.c: Likewise.
33167         * soft-fp/floattisf.c: Likewise.
33168         * soft-fp/floattitf.c: Likewise.
33169         * soft-fp/floatuntidf.c: Likewise.
33170         * soft-fp/floatuntisf.c: Likewise.
33171         * soft-fp/floatuntitf.c: Likewise.
33172         * soft-fp/trunctfxf2.c: Likewise.
33174 2013-10-10  David S. Miller  <davem@davemloft.net>
33176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33178 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
33180         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33181         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
33182         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
33183         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
33184         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
33185         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
33186         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
33188         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
33189         for NaNs before doing comparisons on argument.
33190         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
33191         Likewise.
33193 2013-10-10  Will Newton  <will.newton@linaro.org>
33195         * malloc/hooks.c (memalign_check): Ensure the value of bytes
33196         passed to _int_memalign does not overflow.
33198 2013-10-10  Torvald Riegel  <triegel@redhat.com>
33200         * scripts/bench.pl: Add include-sources directive.
33201         * benchtests/README: Update documentation.
33203 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
33205         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
33206         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
33207         instead of FP_INIT_ROUNDMODE.
33208         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
33209         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
33211         [BZ #16034]
33212         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
33213         copy class of input value.
33214         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
33215         not handle exceptions.
33216         * soft-fp/negsf2.c (__negsf2): Likewise.
33217         * soft-fp/negtf2.c (__negtf2): Likewise.
33218         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
33220 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
33222         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
33223         semicolon.  From Linux kernel.
33225 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
33227         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
33229 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
33231         [BZ #156]
33232         * manual/socket.texi: Added statement about buffer
33233         for gethostbyname2_r.
33235 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
33237         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
33238         Use .p2align directive instead, throughout.
33239         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33240         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33241         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
33242         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33243         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33244         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33245         * sysdeps/x86_64/strchr.S: Likewise.
33246         * sysdeps/x86_64/strrchr.S: Likewise.
33248 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33250         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
33252         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
33254         * sysdeps/generic/math_private.h (__mpsin1): Remove
33255         declaration.
33256         (__mpcos1): Likewise.
33257         (__mpsin): New argument __range_reduce.
33258         (__mpcos): Likewise.
33259         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33260         (slow): Use __mpsin and __mpcos.
33261         (slow1): Likewise.
33262         (slow2): Likewise.
33263         (sloww): Likewise.
33264         (sloww1): Likewise.
33265         (sloww2): Likewise.
33266         (bsloww): Likewise.
33267         (bsloww1): Likewise.
33268         (bsloww2): Likewise.
33269         (cslow2): Likewise.
33270         (csloww): Likewise.
33271         (csloww1): Likewise.
33272         (csloww2): Likewise.
33273         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
33274         range_reduce.  Merge in __mpsin1.
33275         (__mpcos): Likewise.
33276         (__mpsin1): Remove.
33277         (__mpcos1): Likewise.
33279 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
33281         * locale/loadlocale.c (_nl_intern_locale_data): Use
33282         LOCFILE_ALIGNED_P.
33283         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
33284         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
33285         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
33286         obstack data is appropriately aligned.
33287         (obstack_int32_grow_fast): Likewise.
33288         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
33289         * locale/programs/locfile.c (add_locale_uint32): Likewise.
33290         (add_locale_uint32_array): Likewise.
33292 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33294         * benchtests/Makefile: Remove ARGLIST and RET variables.
33295         ($(objpfx)bench-%.c): Pass only function name to the script.
33296         * benchtests/README: Update documentation.
33297         * benchtests/acos-inputs: Add new directives.
33298         * benchtests/acosh-inputs: Likewise.
33299         * benchtests/asin-inputs: Likewise.
33300         * benchtests/asinh-inputs: Likewise.
33301         * benchtests/atan-inputs: Likewise.
33302         * benchtests/atanh-inputs: Likewise.
33303         * benchtests/cos-inputs: Likewise.
33304         * benchtests/cosh-inputs: Likewise.
33305         * benchtests/exp-inputs: Likewise.
33306         * benchtests/log-inputs: Likewise.
33307         * benchtests/pow-inputs: Likewise.
33308         * benchtests/rint-inputs: Likewise.
33309         * benchtests/sin-inputs: Likewise.
33310         * benchtests/sinh-inputs: Likewise.
33311         * benchtests/tan-inputs: Likewise.
33312         * benchtests/tanh-inputs: Likewise.
33313         * scripts/bench.pl: Add support for new directives.
33315 2013-10-07  Alan Modra  <amodra@gmail.com>
33317         * README: Fix careless merge.
33319 2013-10-05  Alan Modra  <amodra@gmail.com>
33321         * NEWS: Mention powerpc64le support and bugs fixed.
33322         * README: Both big-endian and little-endian powerpc64 supported.
33324 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33326         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
33327         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
33328         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
33329         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
33331 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
33333         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
33334         match prototype.
33336 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
33338         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
33339         Move -mhard-float appending from
33340         ports/sysdeps/powerpc/powerpc32/Makefile.
33341         [$(with-fp) = yes] (ASFLAGS): Likewise.
33342         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
33343         * sysdeps/powerpc/nofpu: Move directory from
33344         ports/sysdeps/powerpc/nofpu.
33345         * sysdeps/powerpc/soft-fp: Move directory from
33346         ports/sysdeps/powerpc/soft-fp.
33347         * sysdeps/powerpc/powerpc32/405: Move directory from
33348         ports/sysdeps/powerpc/powerpc32/405.
33349         * sysdeps/powerpc/powerpc32/440: Move directory from
33350         ports/sysdeps/powerpc/powerpc32/440.
33351         * sysdeps/powerpc/powerpc32/464: Move directory from
33352         ports/sysdeps/powerpc/powerpc32/464.
33353         * sysdeps/powerpc/powerpc32/476: Move directory from
33354         ports/sysdeps/powerpc/powerpc32/476.
33355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
33356         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
33357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
33358         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
33359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
33360         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
33361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
33362         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
33363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
33364         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
33365         * README: Update for powerpc-*-linux-gnu software floating point
33366         support in libc.
33368         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
33369         case to powerpc/powerpc32*.
33370         * sysdeps/unix/sysv/linux/configure: Regenerated.
33372         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
33373         (_FPU_MASK_OM): Define as 0x04.
33374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
33375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
33376         0x00c10080.
33377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
33378         0x0000003c.
33379         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
33381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
33382         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
33383         getcontext_e500.
33384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
33385         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
33386         setcontext_e500.
33387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
33388         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
33389         and setcontext_e500.
33391 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
33393         * locale/iso-3166.def: Update iso-1366.def and related occurrences
33395 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33397         * manual/threads.texi (Default Thread Attributes): Fix typo.
33399 2013-10-04  Will Newton  <will.newton@linaro.org>
33401         * malloc/Makefile: Add tst-memalign.
33402         * malloc/tst-memalign.c: New file.
33404         * malloc/tst-posix_memalign.c: Add comments.
33405         (do_test): Add comments and call free on all potentially
33406         allocated pointers. Add space after cast.
33408         * malloc/tst-pvalloc.c: Add comments.
33409         (do_test): Add comments and call free on all potentially
33410         allocated pointers. Remove duplicate check for NULL pointer.
33411         Add space after cast.
33413         * malloc/tst-valloc.c: Add comments.
33414         (do_test): Add comments and call free on all potentially
33415         allocated pointers. Remove duplicate check for NULL pointer.
33416         Add space after cast.
33418 2013-10-04  Alan Modra  <amodra@gmail.com>
33420         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33421         Use stdint types in rather than __attribute__((mode())).
33422         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33424 2013-10-04  Alan Modra  <amodra@gmail.com>
33426         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33427         Correct handling of unaligned relocs for little-endian.
33428         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33430 2013-10-04  Alan Modra  <amodra@gmail.com>
33432         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
33433         * configure: Regenerate.
33434         * nptl/shlib-versions: Powerpc*le starts at 2.18.
33435         * shlib-versions: Likewise.
33437 2013-10-04  Alan Modra  <amodra@gmail.com>
33439         * string/tester.c (test_memrchr): Increment reported test cycle.
33441 2013-10-04  Alan Modra  <amodra@gmail.com>
33443         * string/test-memcpy.c (do_one_test): When reporting errors, print
33444         string address and don't overrun end of string.
33446 2013-10-04  Alan Modra  <amodra@gmail.com>
33448         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
33449         insrdi.  Make better use of reg selection to speed exit slightly.
33450         Schedule entry path a little better.  Remove useless "are we done"
33451         checks on entry to main loop.  Handle wrapping around zero address.
33452         Correct main loop count.  Handle single left-over word from main
33453         loop inline rather than by using loop_small.  Remove extra word
33454         case in loop_small caused by wrong loop count.  Add little-endian
33455         support.
33456         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33457         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
33458         cache hint.
33459         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33460         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
33461         support.  Avoid rlwimi.
33462         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
33464 2013-10-04  Alan Modra  <amodra@gmail.com>
33466         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
33467         insrdi.  Formatting.
33468         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
33469         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33470         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33471         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33472         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33473         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
33475 2013-10-04  Alan Modra  <amodra@gmail.com>
33477         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
33478         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33479         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
33480         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
33481         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33482         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33483         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33484         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33485         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
33486         use of regs.  Use power7 mtocrf.  Tidy function tails.
33488 2013-10-04  Alan Modra  <amodra@gmail.com>
33490         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
33491         Formatting.  Consistently use rXXX register defines or rN defines.
33492         Use early exit labels that avoid restoring unused non-volatile regs.
33493         Make cr field use more consistent with rWORDn compares.  Rename
33494         regs used as shift registers for unaligned loop, using rN defines
33495         for short lifetime/multiple use regs.
33496         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33497         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
33498         addi 1,1,64 to pop stack frame.  Simplify return value code.
33499         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33501 2013-10-04  Alan Modra  <amodra@gmail.com>
33503         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
33504         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
33505         rather than rlwimi.
33506         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
33507         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
33508         little-endian support.  Correct typos.
33509         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
33510         rather than rlwimi.
33511         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
33512         in loop and entry code to keep "and." results.
33513         (strchr): Add little-endian support.  Comment.  Move cntlzd
33514         earlier in tail.
33515         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
33517 2013-10-04  Alan Modra  <amodra@gmail.com>
33519         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
33520         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
33521         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33522         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
33524 2013-10-04  Alan Modra  <amodra@gmail.com>
33526         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
33527         (rTMP): Define as r11.
33528         (strcmp): Add little-endian support.  Optimise tail.
33529         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
33530         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33531         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33532         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33533         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33534         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33535         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33537 2013-10-04  Alan Modra  <amodra@gmail.com>
33539         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
33540         little-endian support.  Remove unnecessary "are we done" tests.
33541         Handle "s" wrapping around zero and extremely large "size".
33542         Correct main loop count.  Handle single left-over word from main
33543         loop inline rather than by using small_loop.  Correct comments.
33544         Delete "zero" tail, use "end_max" instead.
33545         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
33547 2013-10-04  Alan Modra  <amodra@gmail.com>
33549         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
33550         support.  Don't branch over align.
33551         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
33552         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
33553         support.  Rearrange tmp reg use to suit.  Comment.
33554         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
33556 2013-10-04  Alan Modra  <amodra@gmail.com>
33558         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
33560 2013-10-04  Alan Modra  <amodra@gmail.com>
33562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
33563         conditional form of branch and link when obtaining pc.
33564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33566 2013-10-04  Alan Modra  <amodra@gmail.com>
33568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
33569         HIWORD/LOWORD.
33570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
33571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
33573 2013-10-04  Alan Modra  <amodra@gmail.com>
33575         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
33576         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
33577         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
33578         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
33579         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33580         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33581         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
33582         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33583         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
33584         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
33586 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33587             Alistair Popple <alistair@ozlabs.au.ibm.com>
33588             Alan Modra <amodra@gmail.com>
33590         [BZ #15723]
33591         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
33592         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
33593         _dl_hwcap access for little-endian.
33594         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
33595         destroy vmx regs when saving unaligned.
33596         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
33597         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
33598         destroy vmx regs when saving unaligned.
33600 2013-10-04  Alan Modra  <amodra@gmail.com>
33602         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
33603         Don't use a union to pack hi/low value.
33605 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33607         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
33608         for little-endian.
33609         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33610         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
33611         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33612         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33613         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33615 2013-10-04  Alan Modra  <amodra@gmail.com>
33617         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
33618         constants to usual value for .cst8 section, and remove redundant
33619         high address load.
33620         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
33621         constant for 0x1p52.  Load little-endian words of double from
33622         correct stack offsets.
33624 2013-10-04  Alan Modra  <amodra@gmail.com>
33626         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
33627         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
33628         words of double from correct stack offsets.
33629         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33630         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
33631         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33632         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33633         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33634         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33635         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33636         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33637         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33638         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33639         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33640         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33641         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33642         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33643         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33644         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
33645         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33647 2013-10-04  Alan Modra  <amodra@gmail.com>
33649         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
33650         64-bit int/double union.
33651         (_FPU_SETCW): Likewise.
33652         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
33653         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
33655 2013-10-04  Alan Modra  <amodra@gmail.com>
33657         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
33658         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
33660 2013-10-04  Alan Modra  <amodra@gmail.com>
33662         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
33663         use vector int constants.
33664         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
33666 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33668         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
33669         array with long long.
33670         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
33671         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
33672         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
33673         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
33674         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
33675         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
33676         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
33677         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
33678         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
33679         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
33680         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
33681         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
33682         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
33684 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33686         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
33687         (__signbit): Likewise.  Correct for little-endian.
33688         (__signbitl): Call __signbit.
33689         (lrint): Correct for little-endian.
33690         (lrintf): Call lrint.
33692 2013-10-04  Alan Modra  <amodra@gmail.com>
33694         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
33695         union 32-bit int array member with 64-bit int array.
33696         (t515, tm256): Double rather than long double.
33697         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
33699 2013-10-04  Alan Modra  <amodra@gmail.com>
33701         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
33702         Delete.
33703         (IEEE854_LONG_DOUBLE_BIAS): Delete.
33704         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
33705         version of math_ldbl.h.
33707 2013-10-04  Alan Modra  <amodra@gmail.com>
33709         [BZ #15734], [BZ #15735]
33710         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
33711         all uses of ieee875 long double macros and unions.  Simplify test
33712         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
33713         ldbl_extract_mantissa value for ix,iy exponents.  Properly
33714         normalize after ldbl_extract_mantissa, and don't add hidden bit
33715         already handled.  Don't treat low word of ieee854 mantissa like
33716         low word of IBM long double and mask off bit when testing for
33717         zero.
33718         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
33719         all uses of ieee875 long double macros and unions.  Simplify tests
33720         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
33721         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
33722         two1022, instead use their values.  Recognise that tests for large
33723         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
33724         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
33725         Rewrite all uses of ieee875 long double macros and unions.  Simplify
33726         test for 0.0L and nan.  Correct negation.
33727         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
33728         ieee875 long double macros and unions.  Correct output for large
33729         magnitude x.  Correct absolute value calculation.
33730         (__erfcl): Likewise.
33731         * math/libm-test.inc: Add tests for errors discovered in IBM long
33732         double versions of fmodl, remainderl, erfl and erfcl.
33734 2013-10-04  Alan Modra  <amodra@gmail.com>
33736         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
33737         all uses of ieee854 long double macros and unions.  Simplify tests
33738         for long doubles that are fully specified by the high double.
33739         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33740         Likewise.
33741         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
33742         Remove dead code too.
33743         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33744         (__ieee754_ynl): Likewise.
33745         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
33746         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
33747         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33748         Remove dead code too.
33749         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
33750         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
33751         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
33752         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
33753         Simplify.
33754         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
33755         Simplify.
33756         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
33757         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33758         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
33759         Comment on variable precision.
33760         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
33761         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33762         Likewise.
33763         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33764         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33765         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33766         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
33767         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
33769 2013-10-04  Alan Modra  <amodra@gmail.com>
33771         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
33772         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
33773         all uses of ieee854 long double macros and unions.
33774         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
33775         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33776         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
33777         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
33778         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33779         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33780         Likewise.
33781         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
33782         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33783         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
33784         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33785         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
33786         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
33787         Simplify sign and nan test too.
33788         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
33789         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33790         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
33791         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33792         Likewise.
33793         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33794         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
33795         Likewise.
33796         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33797         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
33798         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
33799         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
33800         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
33801         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
33803 2013-10-04  Alan Modra  <amodra@gmail.com>
33805         * stdio-common/printf_size.c (__printf_size): Don't use
33806         union ieee854_long_double in fpnum union.
33807         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
33808         signbit macro to retrieve sign from long double.
33809         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
33810         retrieve sign from long double.
33811         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
33812         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
33813         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
33814         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33815         * math/test-misc.c (main): Don't use union ieee854_long_double.
33817 2013-10-04  Alan Modra  <amodra@gmail.com>
33819         [BZ #15680]
33820         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
33821         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
33822         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
33823         calculation.  Remove unnecessary test for denormal exponent.
33824         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
33825         Correct handling of denormals.  Avoid undefined shift behaviour.
33826         Correct normalisation of low mantissa when low double is denormal.
33827         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
33828         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
33829         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
33830         Correct normalisation of low mantissa.  Test for overflow of high
33831         mantissa and normalise.
33832         (ldbl_nearbyint): Use more readable constant for two52.
33833         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
33834         (__mpn_construct_long_double): Fix test for overflow of high
33835         mantissa and correct normalisation.  Avoid undefined shift.
33837 2013-10-04  Alan Modra  <amodra@gmail.com>
33839         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33840         (union ibm_extended_long_double): Define as an array of ieee754_double.
33841         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
33842         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
33843         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
33844         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33845         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33846         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
33847         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33848         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33849         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33850         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
33851         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33853 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
33855         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
33856         page size instead of calling getpagesize.
33858         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
33859         (LOCFILE_ALIGN_MASK): Likewise.
33860         (LOCFILE_ALIGN_UP): Likewise.
33861         (LOCFILE_ALIGNED_P): Likewise.
33862         * locale/programs/ld-collate.c (collate_output): Use the new
33863         macros instead of __alignof__ (int32_t).
33864         * locale/weight.h (findidx): Likewise.
33866 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
33868         [BZ #431]
33869         * manual/string.texi: Fix strncat and wcsncat.
33871 2013-10-03  Brooks Moses  <bmoses@google.com>
33873         [BZ #15915]
33874         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
33875         * Makerules: ...here, and adjust associated comments.
33877 2013-10-02  Will Newton  <will.newton@linaro.org>
33879         * malloc/Makefile: Add tst-pvalloc.
33880         * malloc/tst-pvalloc.c: New file.
33882 2013-10-02  Will Newton  <will.newton@linaro.org>
33884         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33885         improve test coverage.
33887 2013-10-02  Will Newton  <will.newton@linaro.org>
33889         * malloc/Makefile: Add tst-posix_memalign.
33890         * malloc/tst-posix_memalign.c: New file.
33892 2013-10-01  Eric Blake  <eblake@redhat.com>
33894         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
33895         Use __THROWNL rather than __THROW on static functions.
33897 2013-09-30  Petr Machata  <pmachata@redhat.com>
33899         * elf/elf.h (R_AARCH64_ABS16): New macro.
33900         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
33901         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
33902         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33903         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
33904         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
33905         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
33906         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
33907         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
33908         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33909         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
33910         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
33911         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
33912         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
33913         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
33914         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
33915         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
33916         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
33917         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
33918         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33919         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
33920         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
33921         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
33922         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
33923         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
33924         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
33925         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
33926         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
33927         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
33928         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33929         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
33930         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
33931         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
33932         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
33933         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
33934         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
33935         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
33936         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
33937         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
33938         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
33939         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
33940         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
33941         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
33942         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
33943         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
33944         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33945         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33946         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33947         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33948         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33949         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33950         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33951         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33952         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33953         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33954         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33955         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33956         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33957         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33958         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33959         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33960         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33961         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33962         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33963         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33964         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33965         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33966         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33967         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33968         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33969         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33970         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33971         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33972         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33973         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33974         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33975         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33976         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33977         (R_AARCH64_TLSDESC_LDR): Likewise.
33978         (R_AARCH64_TLSDESC_ADD): Likewise.
33979         (R_AARCH64_TLSDESC_CALL): Likewise.
33981 2013-09-30  Andreas Schwab  <schwab@suse.de>
33983         [BZ #15048]
33984         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33985         the nss database lookup.
33986         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33987         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33989 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
33991         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33993 2013-09-28  P. J. McDermott  <pj@pehjota.net>
33995         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33996         ${Bash-specific parameter/pattern/string} parameter expansion.
33997         * sysdeps/unix/make-syscalls.sh: Likewise.
33999 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34001         * sysdeps/sh/stackguard-macros.h: New file.
34003 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
34005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34006         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
34007         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
34008         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
34009         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34010         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
34012 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34014         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
34015         Fix thread ID register.
34017 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
34019         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
34020         [POSIX || UNIX98]: Require rather than permitting all symbols from
34021         <time.h>.
34022         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
34023         element of struct sched_param.
34024         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
34025         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
34026         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
34027         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
34028         constant.
34030 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
34032         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
34033         argument calculation.
34035 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
34037         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
34038         Expect macro.
34039         [POSIX] (pthread_attr_t): Do not require type.
34040         [POSIX] (pthread_cond_t): Likewise.
34041         [POSIX] (pthread_condattr_t): Likewise.
34042         [POSIX] (pthread_key_t): Likewise.
34043         [POSIX] (pthread_mutex_t): Likewise.
34044         [POSIX] (pthread_mutexattr_t): Likewise.
34045         [POSIX] (pthread_once_t): Likewise.
34046         [POSIX] (pthread_t): Likewise.
34047         [POSIX-based standards] (pthread_atfork): Expect function.
34049 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
34050             Richard Sandiford  <richard@codesourcery.com>
34052         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
34053         (swap_endianness_p): New extern variable.
34054         (set_big_endian): New inline function.
34055         (maybe_swap_uint32): Likewise.
34056         (maybe_swap_uint32_array): Likewise.
34057         (maybe_swap_uint32_obstack): Likewise.
34058         * locale/programs/locfile.c: Include <stdbool.h>.
34059         (swap_endianness_p): New variable.
34060         (add_locale_uint32): Call maybe_swap_uint32.
34061         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
34062         (write_locale_data): Call maybe_swap_uint32_array.
34063         * locale/programs/ld-collate.c (obstack_int32_grow): Call
34064         maybe_swap_uint32.
34065         (obstack_int32_grow_fast): Likewise.
34066         (output_weightwc): Call maybe_swap_uint32_obstack.
34067         (collate_output): Likewise.
34068         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
34069         (OPT_LITTLE_ENDIAN): Likewise.
34070         (options): Add --little-endian and --big-endian options.
34071         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
34072         * locale/programs/locarchive.c: Include "locfile.h".
34073         (GET): New macro.
34074         (SET): Likewise.
34075         (INC): Likewise.
34076         (create_archive): Use the new macros to access fields of
34077         structures directly mapped from or written to locale archives.
34078         (oldlocrecentcmp): Likewise.
34079         (enlarge_archive): Likewise.
34080         (insert_name): Likewise.
34081         (add_alias): Likewise.
34082         (add_locale): Likewise.
34083         (delete_locales_from_archive): Likewise.
34084         (show_archive_content): Likewise.
34085         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
34086         locale data.
34088 2013-09-24  Roland McGrath  <roland@hack.frob.com>
34090         * manual/freemanuals.texi: Updated from (newly) canonical copy at
34091         http://www.gnu.org/doc/freemanuals.texi.
34092         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
34094 2013-09-24  Will Newton  <will.newton@linaro.org>
34096         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
34097         macro.
34099 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
34101         * locale/hashval.h (compute_hashval): Interpret bytes of key as
34102         unsigned char.
34104 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
34106         * manual/threads.texi (POSIX Threads): Fix a typo.
34108 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34110         [BZ #14547]
34111         * string/tst-strcoll-overflow.c: New test case.
34112         * string/Makefile (xtests): Add tst-strcoll-overflow.
34113         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
34114         cache if string sizes may cause integer overflow.
34116         [BZ #14547]
34117         * string/strcoll_l.c (coll_seq): New members rule, idx,
34118         save_idx and back_us.
34119         (get_next_seq_nocache): New function.
34120         (do_compare_nocache): New function.
34121         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
34122         when malloc fails.
34124 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
34126         [BZ #15754]
34127         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
34128         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
34129         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
34131         [BZ #15754]
34132         * elf/Makefile (tests): Add tst-ptrguard1.
34133         (tests-static): Add tst-ptrguard1-static.
34134         (tst-ptrguard1-ARGS): Define.
34135         (tst-ptrguard1-static-ARGS): Define.
34136         * elf/tst-ptrguard1.c: New file.
34137         * elf/tst-ptrguard1-static.c: New file.
34138         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
34139         * sysdeps/i386/stackguard-macros.h: Likewise.
34140         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34141         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34142         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34143         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34144         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34145         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34147 2013-09-23  Hector Marco  <hecmargi@upv.es>
34148             Ismael Ripoll  <iripoll@disca.upv.es>
34149             Carlos O'Donell  <carlos@redhat.com>
34151         [BZ #15754]
34152         * sysdeps/generic/stackguard-macros.h: Define
34153         __pointer_chk_guard_local and POINTER_CHK_GUARD.
34154         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
34155         Define __pointer_chk_guard_local.
34156         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
34157         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
34159 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
34161         [BZ #15859]
34162         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
34164 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
34166         * include/string.h (__ffs): Declare as hidden.
34167         * string/ffs.c (__ffs): Define as hidden.
34168         * sysdeps/i386/ffs.c (__ffs): Likewise.
34169         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
34170         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
34171         * sysdeps/s390/ffs.c (__ffs): Likewise.
34172         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
34174 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
34176         * NEWS: Mention malloc probes.
34178         * malloc/arena.c (new_heap): New memory_heap_new probe.
34179         (grow_heap): New memory_heap_more probe.
34180         (shrink_heap): New memory_heap_less probe.
34181         (heap_trim): New memory_heap_free probe.
34182         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
34183         (systrim): New memory_sbrk_less probe.
34184         * manual/probes.texi: Document them.
34186         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
34187         * manual/probes.texi: Document it.
34189         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
34190         (__libc_realloc): Add memory_realloc_retry probe.
34191         (__libc_memalign): Add memory_memalign_retry probe.
34192         (__libc_valloc): Add memory_valloc_retry probe.
34193         (__libc_pvalloc): Add memory_pvalloc_retry probe.
34194         (__libc_calloc): Add memory_calloc_retry probe.
34195         * manual/probes.texi: Document them.
34197         * malloc/arena.c (get_free_list): Add probe
34198         memory_arena_reuse_free_list.
34199         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
34200         and memory_arena_reuse.
34201         (arena_get2) [!PER_THREAD]: Likewise.
34202         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
34203         memory_arena_reuse_realloc.
34204         * manual/probes.texi: Document them.
34206         * malloc/malloc.c (__libc_free): Add
34207         memory_mallopt_free_dyn_thresholds probe.
34208         (__libc_mallopt): Add multiple memory_mallopt probes.
34209         * manual/probes.texi: Document them.
34211         * malloc/malloc.c: Include stap-probe.h.
34212         (__libc_mallopt): Add memory_mallopt probe.
34213         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
34214         * manual/probes.texi: New.
34215         * manual/Makefile (chapters): Add probes.
34216         * manual/threads.texi: Set next node.
34218 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
34220         [BZ #15963, #13985]
34221         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
34222         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
34223         Add `Chinese' to `nan' entry name.
34225 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34227         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
34228         (POLYNOMIAL): Likewise.
34229         (TAYLOR_SINCOS): Likewise.
34230         (TAYLOR_SLOW): Likewise.
34231         (__sin): Use TAYLOR_SINCOS.
34232         (__cos): Likewise.
34233         (slow): Use TAYLOR_SLOW.
34234         (sloww): Likewise.
34235         (bsloww): Likewise.
34236         (csloww): Likewise.
34238 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34240         * stdlib/strtod_l.c: Fix buffer overrun.
34242 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34244         * benchtests/Makefile (bench): Add sincos.
34245         * benchtests/bench-sincos.c: New file.
34247         * math/libm-test.inc (cos_test_data): New test inputs.
34248         (sin_test_data): Likewise.
34250         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
34251         macro.
34252         (__sin): Use it.
34253         (__cos): Likewise.
34254         (slow1): Likewise.
34255         (slow2): Likewise.
34256         (sloww1): Likewise.
34257         (sloww2): Likewise.
34258         (bsloww1): Likewise.
34259         (bsloww2): Likewise.
34260         (cslow2): Likewise.
34261         (csloww1): Likewise.
34262         (csloww2): Likewise.
34264         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
34265         function.
34266         (__sin): Use it.
34267         (__cos): Likewise.
34269         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
34270         gotos.
34271         (__cos): Likewise.
34273 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
34275         * config.h.in (HAVE_MIPS_NAN2008): New macro.
34276         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
34277         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
34278         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
34279         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
34280         * elf/cache.c (print_entry): Handle the new cache flags.
34282 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
34283             Aldy Hernandez  <aldyh@redhat.com>
34285         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
34286         Change condition to [_SOFT_FLOAT].
34287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
34288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
34289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
34290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
34291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
34292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
34293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
34294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
34295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
34296         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
34297         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
34298         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
34299         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
34300         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
34301         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
34302         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
34303         declaration.
34305 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
34307         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
34308         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
34309         (__longjmp): Use LOAD_GP to load saved GPRs.
34310         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
34311         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
34312         (__sigsetjmp): Use SAVE_GP to save GPRs.
34314         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
34315         Do not append -msoft-float.
34316         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
34318 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34320         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
34322 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
34324         [BZ #15966]
34325         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
34326         (_FPU_GETCW): Use initial "__" on variable and field names but not
34327         on macro parameter name.
34328         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
34329         parentheses around reference to macro parameter.
34331 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
34333         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
34334         prototype.
34335         (ctype_startup): Use uint32_t in cast and sizeof for
34336         ctype->charnames.
34338 2013-09-11  Jia Liu  <proljc@gmail.com>
34340         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
34341         __daddr_t_defined.
34342         [__FreeBSD__]: Likewise.
34344 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
34346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34347         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
34348         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
34349         (strchr): Remove __strchr_sse42 ifunc selection.
34350         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
34351         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
34353 2013-09-11  Will Newton  <will.newton@linaro.org>
34355         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
34356         parameter to RES. Remove hardcoded 1000 value.
34357         * benchtests/bench-skeleton.c (main): Pass RES parameter
34358         to TIMING_INIT and multiply result by 1000.
34360 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34364 2013-09-11  Andreas Schwab  <schwab@suse.de>
34366         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
34367         if not defined.
34368         (O_TMPFILE) [__USE_GNU]: Define.
34369         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
34370         Define.
34372 2013-09-11  Will Newton  <will.newton@linaro.org>
34374         [BZ #15857]
34375         * malloc/malloc.c (__libc_memalign): Check the value of bytes
34376         does not overflow.
34378 2013-09-11  Will Newton  <will.newton@linaro.org>
34380         [BZ #15856]
34381         * malloc/malloc.c (__libc_valloc): Check the value of bytes
34382         does not overflow.
34384 2013-09-11  Will Newton  <will.newton@linaro.org>
34386         [BZ #15855]
34387         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
34388         does not overflow.
34390 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
34392         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
34393         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34394         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34395         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34396         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34398 2013-09-10  Allan McRae  <allan@archlinux.org>
34400         [BZ #15748]
34401         * manual/arith.texi (Parsing of Floats): Clarify
34402         cross-reference.
34404         [BZ #15849]
34405         * manual/install.texi (Running make install): Mention
34406         --enable-pt-chown.
34407         * INSTALL: Regenerated.
34409 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
34411         * csu/init-first.c (_init): Remove the !SHARED condition around
34412         FPU control word initialization.
34413         * elf/dl-support.c (_dl_fpu_control): New variable.
34414         (_dl_aux_init) <AT_FPUCW>: Initialize it.
34415         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
34416         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
34417         * math/test-fpucw-static.c: New file.
34418         * math/test-fpucw-ieee.c: New file.
34419         * math/test-fpucw-ieee-static.c: New file.
34420         * math/Makefile (tests): Add `test-fpucw-ieee' and
34421         `$(tests-static)'.
34422         (tests-static): New variable.
34423         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
34424         dependency to...
34425         [($(build-shared),yes)]
34426         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34427         ... this.
34428         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
34429         New dependency.
34431 2013-09-09  Allan McRae  <allan@archlinux.org>
34433         [BZ #15939]
34434         * manual/string.texi (Collation Functions): Fix typo in
34435         strcoll example.
34436         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
34438         [BZ #15893]
34439         * stdlib/isomac.c (get_null_defines): Fix memory leak.
34441         [BZ #15892]
34442         * libio/memstream.c (open_memstream): Fix memory leak.
34443         * libio/wmemstream.c (open_wmemstream): Likewise.
34445         [BZ #15895]
34446         * nscd/netgroupcache.c: Fix nesting of ifdefs.
34448 2013-09-09  Will Newton  <will.newton@linaro.org>
34450         * malloc/Makefile: Add tst-realloc to tests.
34451         * malloc/tst-realloc.c: New file.
34453 2013-09-09  Allan McRae  <allan@archlinux.org>
34455         [BZ #15844]
34456         * COPYING: Update from GNU website to fix FSF address.
34457         * COPYING.LIB: Likewise.
34459 2013-09-06  David S. Miller  <davem@davemloft.net>
34461         * po/zh_TW.po: Update Chinese (traditional) translation from
34462         translation project.
34464 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
34465             Joseph Myers  <joseph@codesourcery.com>
34467         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
34468         "localeinfo.h".
34469         (obstack_chunk_alloc): New macro.
34470         (obstack_chunk_free): Likewise.
34471         (record_offset): New function.
34472         (init_locale_data): Likewise.
34473         (align_locale_data): Likewise.
34474         (add_locale_empty): Likewise.
34475         (add_locale_raw_data): Likewise.
34476         (add_locale_raw_obstack): Likewise.
34477         (add_locale_string): Likewise.
34478         (add_locale_wstring): Likewise.
34479         (add_locale_uint32): Likewise.
34480         (add_locale_uint32_array): Likewise.
34481         (add_locale_char): Likewise.
34482         (start_locale_structure): Likewise.
34483         (end_locale_structure): Likewise.
34484         (start_locale_prelude): Likewise.
34485         (end_locale_prelude): Likewise.
34486         (write_locale_data): Take locale_file structure rather than an
34487         iovec.
34488         * locale/programs/locfile.h: Include "obstack.h".
34489         (struct locale_file): Change to store locale file contents instead
34490         of header.
34491         (init_locale_data): New prototype.
34492         (align_locale_data): Likewise.
34493         (add_locale_empty): Likewise.
34494         (add_locale_raw_data): Likewise.
34495         (add_locale_raw_obstack): Likewise.
34496         (add_locale_string): Likewise.
34497         (add_locale_wstring): Likewise.
34498         (add_locale_uint32): Likewise.
34499         (add_locale_uint32_array): Likewise.
34500         (add_locale_char): Likewise.
34501         (start_locale_structure): Likewise.
34502         (end_locale_structure): Likewise.
34503         (start_locale_prelude): Likewise.
34504         (end_locale_prelude): Likewise.
34505         (write_locale_data): Update prototype.
34506         * locale/programs/3level.h (struct TABLE): Remove result field.
34507         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
34508         Use new locale_file interface.
34509         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
34510         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
34511         * locale/programs/ld-address.c (address_output): Use new
34512         locale_file interface.
34513         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
34514         NO_ADD_LOCALE.
34515         (collate_finish): Don't call collseq_table_finalize.
34516         (collate_output): Use new locale_file interface.
34517         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
34518         in file.
34519         (NO_FINALIZE): Change to NO_ADD_LOCALE.
34520         (TABLE): Move defines earlier in file.
34521         (ELEMENT): Likewise.
34522         (DEFAULT): Likewise.
34523         (wctrans_table_add): Move macro and inline function earlier in
34524         file.
34525         (struct wctype_table): Move type earlier in file.
34526         (add_locale_wctype_table): New static prototype.
34527         (struct locale_ctype_t): Use logical types instead of struct iovec
34528         pointers for members.
34529         (ctype_output): Use new locale_file interface.
34530         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
34531         new locale_file interface.
34532         (allocate_arrays): Update for use of new locale_file interface.
34533         * locale/programs/ld-identification.c (identification_output): Use
34534         new locale_file interface.
34535         * locale/programs/ld-measurement.c (measurement_output): Likewise.
34536         * locale/programs/ld-messages.c (messages_output): Likewise.
34537         * locale/programs/ld-monetary.c (monetary_output): Likewise.
34538         * locale/programs/ld-name.c (name_output): Likewise.
34539         * locale/programs/ld-numeric.c (numeric_output): Likewise.
34540         * locale/programs/ld-paper.c (paper_output): Likewise.
34541         * locale/programs/ld-telephone.c (telephone_output): Likewise.
34542         * locale/programs/ld-time.c (time_output): Likewise.
34544 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34546         * benchtests/Makefile: Add memrchr benchmark.
34547         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
34548         benchmark as memrchr.
34549         * benchtests/bench-memrchr-ifunc.c: New file.
34550         * benchtests/bench-memrchr.c: New file.
34552 2013-09-06   Will Newton  <will.newton@linaro.org>
34554         * benchtests/Makefile (string-bench): Add memcpy.
34556 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
34557             Cong Wang  <amwang@redhat.com>
34559         [BZ #15850]
34560         * sysdeps/unix/sysv/linux/bits/in.h
34561         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
34562         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
34563         before __USE_KERNEL_IPV6_DEFS uses.
34564         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
34565         IPPROTO_BEETPH.
34566         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
34567         sockaddr_in6, or ipv6_mreq.
34569 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34571         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
34572         memory access for final bytes in some large inputs.
34573         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
34575 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34577         * string/test-memrchr.c: New file.
34578         * string/test-memrchr-ifunc.c: New file.
34579         * string/Makefile: Add new memrchr testcase.
34581 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
34583         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
34584         fanotify_init returns EPERM.
34586 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
34588         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
34589         errors.
34590         (top level): Treat second token from macro or constant entries for
34591         allowed headers as allowed.
34592         * include/complex.h: Condition internal declarations on
34593         [!_ISOMAC].
34594         * include/fenv.h: Condition include of <stdbool.h> and internal
34595         declarations on [!_ISOMAC].
34597 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
34599         [BZ #15923]
34600         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
34602 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
34604         * configure.in (--enable-versioning): Remove configure option.
34605         (libc_cv_asm_symver_directive): Remove configure test.
34606         (libc_cv_ld_version_script_option): Likewise.
34607         (VERSIONING): Remove variable and AC_SUBST.
34608         (DO_VERSIONING): Remove AC_DEFINE.
34609         * configure: Regenerated.
34610         * config.h.in (DO_VERSIONING): Remove macro.
34611         * Makerules [$(versioning) = yes]: Change conditionals to
34612         [$(build-shared) = yes].
34613         * config.make.in (versioning): Remove variable.
34614         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
34615         [$(build-shared) = yes].
34616         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
34617         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
34618         * elf/Makefile [$(versioning) = yes]: Change conditionals to
34619         [$(build-shared) = yes].
34620         * extra-lib.mk [$(versioning) = yes]: Likewise.
34621         * hurd/Makefile [$(versioning) = yes]: Likewise.
34622         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
34623         [SHARED].
34624         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
34625         [SHARED].
34626         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34627         [SHARED && !NO_HIDDEN].
34628         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
34629         [SHARED].
34630         [SHARED && DO_VERSIONING]: Likewise..
34631         * libio/Makefile [$(versioning) = yes]: Change conditionals to
34632         [$(build-shared) = yes].
34633         * manual/install.texi (--disable-versioning): Remove
34634         documentation.
34635         * INSTALL: Regenerated.
34636         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
34637         to [SHARED].
34638         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
34639         [$(build-shared) = yes].
34640         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
34641         * sysdeps/i386/i686/multiarch/strstr-c.c
34642         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34643         [SHARED && !NO_HIDDEN].
34644         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
34645         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
34646         * sysdeps/powerpc/powerpc32/dl-machine.c
34647         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
34648         * sysdeps/powerpc/powerpc32/sysdep.h
34649         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
34650         to [SHARED && PIC && !NO_HIDDEN].
34651         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
34652         conditional to [SHARED].
34654 2013-09-04   Will Newton  <will.newton@linaro.org>
34656         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
34657         * benchtests/bench-string.h: Include bench-timing.h instead
34658         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
34659         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
34660         call to HP_TIMING_DIFF_INIT.
34661         * benchtests/bench-memccpy.c: Use bench-timing.h macros
34662         instead of hp-timing.h macros.
34663         * benchtests/bench-memchr.c: Likewise.
34664         * benchtests/bench-memcmp.c: Likewise.
34665         * benchtests/bench-memcpy.c: Likewise.
34666         * benchtests/bench-memmem.c: Likewise.
34667         * benchtests/bench-memmove.c: Likewise.
34668         * benchtests/bench-memset.c: Likewise.
34669         * benchtests/bench-rawmemchr.c: Likewise.
34670         * benchtests/bench-strcasecmp.c: Likewise.
34671         * benchtests/bench-strcasestr.c: Likewise.
34672         * benchtests/bench-strcat.c: Likewise.
34673         * benchtests/bench-strchr.c: Likewise.
34674         * benchtests/bench-strcmp.c: Likewise.
34675         * benchtests/bench-strcpy.c: Likewise.
34676         * benchtests/bench-strcpy_chk.c: Likewise.
34677         * benchtests/bench-strlen.c: Likewise.
34678         * benchtests/bench-strncasecmp.c: Likewise.
34679         * benchtests/bench-strncat.c: Likewise.
34680         * benchtests/bench-strncmp.c: Likewise.
34681         * benchtests/bench-strncpy.c: Likewise.
34682         * benchtests/bench-strnlen.c: Likewise.
34683         * benchtests/bench-strpbrk.c: Likewise.
34684         * benchtests/bench-strrchr.c: Likewise.
34685         * benchtests/bench-strspn.c: Likewise.
34686         * benchtests/bench-strstr.c: Likewise.
34688 2013-09-04  Will Newton  <will.newton@linaro.org>
34690         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
34692 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
34694         [BZ #15427]
34695         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34696         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
34697         * math/libm-test.inc (lgamma_test_data): Add more tests.
34698         * sysdeps/i386/fpu/libm-test-ulps: Update.
34699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34701 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
34703         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
34704         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34705         Add ifunc.
34706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34707         Add strcmp-sse2-unaligned
34708         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
34710 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
34712         * Versions.def (libc): Add GLIBC_2.19.
34714 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
34716         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
34717         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
34719 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
34721         [BZ #14155]
34722         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
34723         intermediate calculations in recurrence.
34724         (__ieee754_ynf): Likewise.
34725         * math/libm-test.inc (jn_test_data): Do not allow spurious
34726         underflow exception.  Add more tests.
34727         (yn_test_data): Add more tests.
34728         * sysdeps/i386/fpu/libm-test-ulps: Update.
34729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34731 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
34733         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
34735 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34737         * csu/init-first.c: Fix then/than typos.
34738         * locale/programs/ld-collate.c: Likewise.
34739         * locale/programs/linereader.h: Likewise.
34740         * manual/charset.texi: Likewise.
34741         * manual/filesys.texi: Likewise.
34742         * manual/stdio.texi: Likewise.
34743         * manual/string.texi: Likewise.
34744         * stdlib/fmtmsg.c: Likewise.
34745         * sysdeps/i386/stpncpy.S: Likewise.
34746         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34747         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34748         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34749         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34751 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34753         * elf/dl-open.c: Fix typos.
34754         * iconvdata/gbbig5.c: Likewise.
34755         * iconvdata/iso-2022-jp.c: Likewise.
34756         * iconv/gconv_int.h: Likewise.
34757         * iconv/loop.c: Likewise.
34758         * nis/rpcsvc/nis.h: Likewise.
34759         * resolv/ns_name.c: Likewise.
34760         * stdio-common/vfscanf.c: Likewise.
34761         * streams/stropts.h: Likewise.
34762         * sunrpc/rpc_thread.c: Likewise.
34763         * sysdeps/i386/strpbrk.S: Likewise.
34764         * sysdeps/ieee754/k_standard.c: Likewise.
34765         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34766         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34767         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
34768         * sysdeps/mach/hurd/profil.c: Likewise.
34769         * sysdeps/s390/dl-procinfo.h: Likewise.
34770         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
34771         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34772         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
34773         * sysdeps/x86_64/dl-trampoline.S: Likewise.
34774         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34776 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
34778         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
34779         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
34781 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
34783         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
34784         aix specific files.
34785         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
34786         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
34787         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
34788         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
34789         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
34790         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
34791         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
34792         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
34794 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34795             Roland McGrath  <roland@hack.frob.com>
34797         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
34798         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
34800 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34802         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
34803         __executable_start symbol instead of _start.
34805 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34807         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
34808         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
34809         Move macros to...
34810         * sysdeps/gnu/ldsodefs.h: ... this new file.
34812         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
34813         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
34814         instead of ELFOSABI_LINUX.
34816         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
34817         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
34818         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
34819         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
34820         Likewise.
34821         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
34822         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
34823         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
34824         Likewise.
34825         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34826         (ibm_extended_long_double): Add ieee_nan member.
34827         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
34828         (do_test): New function.
34830         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
34831         TEST_TRUNC.
34832         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
34833         functions, renamed from truncdfsf_test, trunctfsf_test,
34834         trunctfdf_test.
34835         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
34836         functions.
34837         (do_test): Run all these.
34839 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
34841         * argp/argp-help.c: Fix typos.
34842         * argp/argp-parse.c: Likewise.
34843         * debug/backtracesyms.c: Likewise.
34844         * elf/elf.h: Likewise.
34845         * malloc/malloc.c: Likewise.
34846         * nis/nis_print.c: Likewise.
34847         * resolv/res_comp.c: Likewise.
34848         * stdlib/stdlib.h: Likewise.
34849         * sunrpc/clnt_tcp.c: Likewise.
34850         * sunrpc/clnt_udp.c: Likewise.
34851         * sunrpc/clnt_unix.c: Likewise.
34852         * sysdeps/unix/bsd/ptsname.c: Likewise.
34853         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34854         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
34855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
34856         Likewise.
34857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
34858         Likewise.
34859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34860         Likewise.
34861         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34863 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34865         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
34866         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34868 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
34870         [BZ #15897]
34871         * dlfcn/Makefile (tests): Add bug-dl-leaf.
34872         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
34873         ($(objpfx)bug-dl-leaf): New rule.
34874         ($(objpfx)bug-dl-leaf.so): Likewise.
34875         ($(objpfx)bug-dl-leaf.out): Likewise.
34876         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
34877         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
34878         * dlfcn/bug-dl-leaf.c: New test.
34879         * dlfcn/bug-dl-leaf-lib.c: Likewise.
34880         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
34881         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
34882         (dlclose): Likewise.
34883         (dlmopen): Likewise.
34885 2013-08-27  Roland McGrath  <roland@hack.frob.com>
34887         * include/netdb.h [!_ISOMAC]:
34888         Don't include <tls.h>.
34889         (h_errno, __libc_h_errno): Move declaration and macros out of
34890         [_LIBC_REENTRANT].
34892         * include/resolv.h [_RESOLV_H_]:
34893         Don't include <tls.h>.
34894         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
34895         * resolv/res_libc.c: Don't include <tls.h>.
34896         (_res): Use __attribute__ ((nocommon)) in place of
34897         __attribute__ ((section (".bss"))).
34899         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
34900         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
34902         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
34904         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
34905         only under [SIOCGIFCONF && SIOCGIFNETMASK].
34907         * resolv/res_mkquery.c: Include <sys/time.h>.
34909         * inet/ifreq.c: Moved to ...
34910         * sysdeps/unix/ifreq.c: ... here.
34911         * inet/ifreq.c: New file, true stub version.
34913         * socket/sa_len.c: New file.
34914         * socket/Makefile (aux): Add it.
34915         * sysdeps/unix/sysv/linux/Makefile
34916         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
34917         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
34918         and #include <socket/sa_len.c>.
34919         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
34920         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
34922         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
34923         * bits/socket.h: ... here.
34925         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
34926         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
34927         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
34929 2013-08-27  Andreas Schwab  <schwab@suse.de>
34931         [BZ #15736]
34932         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34933         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
34934         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34935         * string/test-strcasecmp.c (test_main): Run tests in several
34936         locales.
34937         * string/test-strncasecmp.c (test_main): Likewise.
34939         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34940         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
34941         to __strcasecmp_nonascii and __strncasecmp_nonascii.
34942         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
34943         (__strncasecmp_ssse3) [PIC]: Likewise.
34945 2013-08-26  Roland McGrath  <roland@hack.frob.com>
34947         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34949         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34950         instead of explicitly declaring xdecrypt.
34951         * nis/nss_nis/nis-publickey.c: Likewise.
34953 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34955         [BZ #15890]
34956         * nscd/aicache.c: Include res_hconf.h.
34957         (addhstaiX): Initialize res_hconf.
34959 2013-08-26  Andreas Schwab  <schwab@suse.de>
34961         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34962         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34964 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34966         * nscd/aicache.c (addhstaiX): Fix indentation.
34968 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
34970         * configure.ac: Quote $build_pt_chown test.
34971         * configure: Regenerated.
34973 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
34975         [BZ #15532]
34976         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34977         * math/s_cexpf.c (__cexpf): Likewise.
34978         * math/s_cexpl.c (__cexpl): Likewise.
34979         * math/libm-test.inc (cexp_test_data): Correct expected return
34980         value for NaN + i0.  Add another test.
34982 2013-08-22  David S. Miller  <davem@davemloft.net>
34984         * po/ca.po: Update Catalan translation from translation project.
34985         * po/uk.po: Add Ukrainian translations from translation project.
34987 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
34989         [BZ #15797]
34990         * math/s_fdim.c (__fdim): Check for infinite arguments if result
34991         is infinite, not alongside NaN test.
34992         * math/s_fdimf.c (__fdimf): Likewise.
34993         * math/s_fdiml.c (__fdiml): Likewise.
34994         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
34995         errno is unchanged.
34997 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
34999         * argp/argp-help.c: Fix typos.
35000         * crypt/speeds.c: Likewise.
35001         * csu/check_fds.c: Likewise.
35002         * elf/dl-load.c: Likewise.
35003         * elf/dl-open.c: Likewise.
35004         * elf/reldep3.c: Likewise.
35005         * elf/reldep.c: Likewise.
35006         * elf/sprof.c: Likewise.
35007         * iconv/iconv_charmap.c: Likewise.
35008         * iconv/skeleton.c: Likewise.
35009         * iconv/strtab.c: Likewise.
35010         * io/lockf64.c: Likewise.
35011         * libio/libioP.h: Likewise.
35012         * resolv/gai_notify.c: Likewise.
35013         * resolv/ns_name.c: Likewise.
35014         * resolv/ns_samedomain.c: Likewise.
35015         * resolv/res_send.c: Likewise.
35016         * stdlib/random.c: Likewise.
35017         * sunrpc/rpc/xdr.h: Likewise.
35018         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
35019         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35020         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35021         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35022         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35023         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35024         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35025         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35026         * sysdeps/mach/hurd/check_fds.c: Likewise.
35027         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35028         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35029         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35030         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35031         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35032         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35033         * sysdeps/pthread/aio_notify.c: Likewise.
35034         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
35035         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
35036         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
35037         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35038         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35040 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35042         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
35043         version if bit_Slow_SSE4_2 is set.
35044         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35045         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35047 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35049         [BZ #15867]
35050         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
35051         trampoline stack frame information.
35052         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
35053         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
35054         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
35055         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
35056         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
35057         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35058         (_libc_vdso_platform_setup): Initialize the signal trampolines.
35059         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
35060         sa_flags value.
35061         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
35062         interrupting a syscall and set with option SA_SIGINFO.
35064 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
35066         [BZ #15531]
35067         * math/s_cproj.c (__cproj): Only return an infinity if one part of
35068         argument is infinite.
35069         * math/s_cprojf.c (__cprojf): Likewise.
35070         * math/s_cprojl.c (__cprojl): Likewise.
35071         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
35072         * math/libm-test.inc (cproj_test_data): Add more tests.
35074         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
35076         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
35077         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
35078         size.  Use __ffs to determine corresponding shift.
35080 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
35081             Roland McGrath  <roland@hack.frob.com>
35083         * Makefile (INSTALL): Remove trailing blank lines from output of
35084         makeinfo.
35086 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35088         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
35089         Align 32 bit compat elf_greg to 8 bytes.
35091 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
35093         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
35095 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35097         * string/strcoll_l.c (coll_seq): New structure.
35098         (get_next_seq_cached): New function.
35099         (get_next_seq): New function.
35100         (do_compare): New function.
35101         (STRCOLL): Use GNU style definition.  Simplify implementation
35102         by using get_next_seq, get_next_seq_cached and do_compare.
35104 2013-08-16  Florian Weimer  <fweimer@redhat.com>
35106         [BZ #14699]
35107         CVE-2013-4237
35108         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
35109         member.
35110         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
35111         member.
35112         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
35113         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
35114         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
35115         conditional.
35116         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
35117         GETDENTS_64BIT_ALIGNED.
35118         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35119         * manual/filesys.texi (Reading/Closing Directory): Document
35120         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
35121         strongly.
35122         * manual/conf.texi (Limits for Files): Add portability note to
35123         NAME_MAX, PATH_MAX.
35124         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
35126 2013-08-13  Andreas Schwab  <schwab@suse.de>
35128         [BZ #15749]
35129         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
35130         of fabs.
35131         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
35132         LDBL_MAX_EXP >= 16384]: Add tests for it.
35134 2013-08-12  David S. Miller  <davem@davemloft.net>
35136         * version.h (RELEASE): Set to "development".
35137         (VERSION): Set to "2.18.90".
35138         * NEWS: Add 2.19 section.
35140 2013-08-03  David S. Miller  <davem@davemloft.net>
35142         * po/ko.po: Update Korean translation from translation project.
35144 2013-08-01  David S. Miller  <davem@davemloft.net>
35146         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
35147         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
35148         Bilka.
35150 2013-07-30  David S. Miller  <davem@davemloft.net>
35152         * po/fr.po: Update French translation from translation project.
35154 2013-07-28  David S. Miller  <davem@davemloft.net>
35156         * po/cs.po: Update Czech translation from translation project.
35158         * po/sv.po: Update Swedish translation from translation project.
35160 2013-07-27  David S. Miller  <davem@davemloft.net>
35162         * po/eo.po: Update Esperanto translation from translation project.
35164         * po/vi.po: Update Vietnamese translation from translation project.
35166         * po/de.po: Update German translation from translation project.
35168 2013-07-26  David S. Miller  <davem@davemloft.net>
35170         * po/bg.po: Update Bulgarian translation from translation project.
35172         * po/nl.po: Update Dutch translation from translation project.
35173         * po/pl.po: Update Polish translation from translation project.
35174         * po/ru.po: Update Russian translation from translation project.
35176 2013-07-24  David S. Miller  <davem@davemloft.net>
35178         * po/libc.pot: Update.
35180 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35182         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
35183         variable page size.
35184         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
35185         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
35186         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
35188 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35190         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
35192 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35193             Andreas Schwab  <schwab@suse.de>
35194             Roland McGrath  <roland@hack.frob.com>
35195             Joseph Myers  <joseph@codesourcery.com>
35196             Carlos O'Donell  <carlos@redhat.com>
35198         [BZ #15755]
35199         * config.h.in: Define HAVE_PT_CHOWN.
35200         * config.make.in (build-pt-chown): New variable.
35201         * configure.in (--enable-pt_chown): New configure option.
35202         * configure: Regenerate.
35203         * login/Makefile: Include Makeconfig.  Build pt_chown only if
35204         build-pt-chown is enabled.
35205         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
35206         pt_chown to fix pty ownership.
35207         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
35208         CLOSE_ALL_FDS.
35209         * manual/install.texi (Configuring and compiling): Mention
35210         --enable-pt_chown. Add @findex for grantpt.
35211         * INSTALL: Regenerate.
35213 2013-07-20  David S. Miller  <davem@davemloft.net>
35215         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
35216         difference between 32-bit and 64-bit.
35218 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
35220         [BZ #15711]
35221         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
35222         Avoid system header dependency with -ffreestanding.
35223         ($(objpfx)bits/syscall%d): Likewise.
35225 2013-07-13  David S. Miller  <davem@davemloft.net>
35227         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
35228         underflows from atanl/atan2l due to bug 15319.
35229         (casinh_test_data): Likewise.
35231 2013-07-07  David S. Miller  <davem@davemloft.net>
35233         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
35235 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
35237         * sysdeps/i386/fpu/libm-test-ulps: Update.
35238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35240 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35242         * configure.in (--enable-lock-elision): Fix message text.
35243         * INSTALL: Regenerate.
35244         * configure: Regenerate.
35246 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35250 2013-07-03  Andreas Jaeger  <aj@suse.de>
35252         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
35253         define.
35254         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
35255         (ptrace_peeksiginfo_args): Add.
35256         (__ptrace_peeksiginfo_flags): Add.
35257         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35258         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35259         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35261 2013-07-03  Allan McRae  <allan@archlinux.org>
35263         * sysdeps/i386/fpu/libm-test-ulps: Update.
35265 2013-07-02  David S. Miller  <davem@davemloft.net>
35267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35269 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
35271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35273 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
35275         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35278 2013-07-02  Andi Kleen <ak@linux.intel.com>
35280         * config.h.in (ENABLE_LOCK_ELISION): Add.
35281         * configure.in (--enable-lock-elision): Add option.
35282         * manual/install.texi: Document --enable lock elision.
35283         * configure: Regenerate
35284         * INSTALL: Regenerate.
35286 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
35288         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
35289         SSE4.2 strcasecmp for libc.a.
35290         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
35292 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
35294         [BZ #13304]
35295         * soft-fp/op-common.h (_FP_FMA): New macro.
35296         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
35297         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
35298         (_FP_MUL_MEAT_1_imm): ... here.
35299         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
35300         (_FP_MUL_MEAT_1_wide): ... here.
35301         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
35302         (_FP_MUL_MEAT_1_hard): ... here.
35303         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
35304         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
35305         (_FP_MUL_MEAT_2_wide): ... here.
35306         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
35307         (_FP_MUL_MEAT_2_wide_3mul): ... here.
35308         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
35309         (_FP_MUL_MEAT_2_gmp): ... here.
35310         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
35311         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
35312         (_FP_MUL_MEAT_4_wide): ... here.
35313         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
35314         (_FP_MUL_MEAT_4_gmp): ... here.
35315         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
35316         (_FP_WFRACBITS_DW_S): Likewise.
35317         (_FP_WFRACXBITS_DW_S): Likewise.
35318         (_FP_HIGHBIT_DW_S): Likewise.
35319         (FP_FMA_S): Likewise.
35320         (_FP_FRAC_HIGH_DW_S): Likewise.
35321         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
35322         (_FP_WFRACBITS_DW_D): Likewise.
35323         (_FP_WFRACXBITS_DW_D): Likewise.
35324         (_FP_HIGHBIT_DW_D): Likewise.
35325         (FP_FMA_D): Likewise.
35326         (_FP_FRAC_HIGH_DW_D): Likewise.
35327         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
35328         (_FP_WFRACBITS_DW_E): Likewise.
35329         (_FP_WFRACXBITS_DW_E): Likewise.
35330         (_FP_HIGHBIT_DW_E): Likewise.
35331         (FP_FMA_E): Likewise.
35332         (_FP_FRAC_HIGH_DW_E): Likewise.
35333         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
35334         (_FP_WFRACBITS_DW_Q): Likewise.
35335         (_FP_WFRACXBITS_DW_Q): Likewise.
35336         (_FP_HIGHBIT_DW_Q): Likewise.
35337         (FP_FMA_Q): Likewise.
35338         (_FP_FRAC_HIGH_DW_Q): Likewise.
35339         * soft-fp/fmasf4.c: New file.
35340         * soft-fp/fmadf4.c: Likewise.
35341         * soft-fp/fmatf4.c: Likewise.
35343 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35345         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35346         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
35347         Silvermont.
35348         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
35349         macro.
35350         (index_Slow_SSE4_2): Likewise.
35351         (index_Prefer_PMINUB_for_stringop): Likewise.
35352         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
35353         bit_Slow_SSE4_2 is set.
35354         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35355         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35357 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35359         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
35360         rtld_global._dl_hwcap2.
35361         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
35362         POWER8.
35363         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
35364         POWER8 feature descriptions defined in _dl_hwcap2.
35365         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
35366         string handling for POWER8 feature bits.
35367         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
35368         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
35369         _dl_powerpc_cap_flags.
35370         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
35371         * sysdeps/powerpc/rtld-global-offsets.sym
35372         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
35373         _dl_hwcap2 in the rtld_global_ro structure.
35375 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35377         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
35378         hardware capabilities in support of AT_HWCAP2.
35379         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
35380         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
35381         GLRO(dl_hwcap2).
35382         (_dl_show_auxv): Add support for calling _dl_procinfo to display
35383         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
35384         explicitly the unknown a_type display mechanism is used.
35385         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
35386         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
35387         struct member.
35388         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
35389         to macro prototype for AT_HWCAP2 support.
35390         * sysdeps/i386/dl-procinfo.h: Likewise.
35391         * sysdeps/s390/dl-procinfo.h: Likewise.
35392         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
35393         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
35394         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
35395         return -1 for unknown a_type display fallback.
35396         * sysdeps/sparc/dl-procinfo.h: Likewise.
35397         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
35398         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
35400 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
35402         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
35403         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
35405 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
35407         [BZ #12492]
35408         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
35409         mprotect making __stack_prot writable.
35411 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
35412             Joseph Myers  <joseph@codesourcery.com>
35414         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
35415         as being properly aligned.
35417 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
35419         * dlfcn/modstatic5.c: New file.
35420         * dlfcn/tststatic5.c: New file.
35421         * dlfcn/Makefile (tests): Add tststatic5.
35422         (tests-static): Likewise.
35423         (modules-names): Add modstatic5.
35424         (tststatic5-ENV): New variable.
35425         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
35427         [BZ #15022]
35428         * elf/dl-support.c (_dl_main_map): New variable.
35429         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
35430         (_dl_nns, _dl_load_adds): Set to 1.
35431         (_dl_initial_searchlist): Refer to _dl_main_map.
35432         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
35433         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
35434         call to _dl_get_origin.
35435         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
35436         around call_map.
35437         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
35438         * dlfcn/modstatic3.c: New file.
35439         * dlfcn/tststatic3.c: New file.
35440         * dlfcn/tststatic4.c: New file.
35441         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
35442         (tests-static): Likewise.
35443         (modules-names): Add modstatic3.
35444         (tststatic3-ENV, tststatic4-ENV): New variables.
35445         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
35446         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
35448 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
35450         * configure.in (CC): Require GCC version 4.4 or later.
35451         * configure: Regenerated.
35452         * manual/install.texi (Tools for Compilation): Update GCC version
35453         requirement.
35454         * INSTALL: Regenerated.
35456 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35458         [BZ #15674]
35459         * string/test-memcmp.c (check2): New.
35460         (main): Call check2.
35462         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
35464 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
35466         [BZ #15022]
35467         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
35468         over to...
35469         (dl_open_worker) [!SHARED]: ... here.
35471 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35473         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
35475 2013-06-25  Richard Henderson  <rth@redhat.com>
35477         * locale/programs/locarchive.c: Include <libc-internal.h>
35479 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
35481         * manual/texinfo.tex: Update to version 2013-06-21.17, with
35482         trailing whitespace removed.
35484 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
35486         [BZ #10283]
35487         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
35488         * locale/programs/locarchive.c: Include libc-mmap.h.
35489         (prepare_address_space): Take two new outputs (the mmap base and len).
35490         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
35491         values.
35492         (create_archive): Declare new mmap base and len values for
35493         prepare_address_space, and store the result in ah.
35494         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
35495         (enlarge_archive): If ah->mmap_base is not NULL, use that and
35496         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
35497         Declare new mmap base and len values for
35498         prepare_address_space, and store the result in new_ah.
35499         (open_archive): Declare new mmap base and len values for
35500         prepare_address_space, and store the result in ah.
35501         (close_archive): If ah->mmap_base is not NULL, use that and
35502         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
35503         * sysdeps/generic/libc-mmap.h: New file.
35505 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
35507         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
35508         (ALIGN_UP): Likewise.
35509         (PTR_ALIGN_DOWN): Likewise.
35510         (PTR_ALIGN_UP): Likewise.
35512 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35514         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
35515         entry mapped to PPC_PLATFORM_POWER8.
35516         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
35517         POWER8.
35518         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
35519         (_dl_string_platform): Add case for exporting platform position for
35520         POWER8.
35521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
35522         search path to sysdeps/powerpc/powerpc32/power8 directory.
35523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
35524         search path to sysdeps/powerpc/powerpc64/power8 directory.
35525         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
35526         power7 directories.
35527         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
35528         power7 directories.
35530 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35532         * INSTALL: Regenerate.
35534         * nscd/connections.c (nscd_init): Fix comment.
35536 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
35538         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
35540         [BZ #15667]
35541         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
35542         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
35544 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
35546         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
35547         DL_DST_REQ_STATIC.
35548         (DL_DST_REQ_STATIC): Remove macro.
35550 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
35552         [BZ #7006]
35553         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
35554         with a shift of 0 bits.
35556 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
35558         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
35559         $(tststatic-ENV).
35561 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35563         [BZ #15655]
35564         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
35566 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35568         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
35569         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
35570         accepts -fno-tree-loop-distribute-patterns.
35571         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
35572         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
35573         recursive call.
35574         * string/memset.c (memset): Likewise.
35575         * string/test-memmove.c (simple_memmove): Disable loop transformation
35576         to library calls.
35577         * string/test-memset.c (simple_memset): Likewise.
35578         * benchtests/bench-memmove.c (simple_memmove): Likewise.
35579         * benchtests/bench-memset.c (simple_memset): Likewise.
35580         * configure: Regenerated.
35582 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
35584         * math/test-misc.c (main): Ignore fesetround failure when failures
35585         of subsequent rounding tests would be ignored.
35587         [BZ #15654]
35588         * math/fedisblxcpt.c (fedisableexcept): Return 0.
35589         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
35590         * math/fegetenv.c (__fegetenv): Return 0.
35591         * math/fegetexcept.c (fegetexcept): Return 0.
35592         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
35593         FE_TONEAREST.
35594         * math/feholdexcpt.c (feholdexcept): Return 0.
35595         * math/fesetenv.c (__fesetenv): Return 0.
35596         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
35597         argument FE_TONEAREST.
35598         * math/feupdateenv.c (__feupdateenv): Return 0.
35599         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
35601 2013-06-18  Roland McGrath  <roland@hack.frob.com>
35603         * elf/rtld-Rules (rtld-compile-command.S): New variable.
35604         (rtld-compile-command.s, rtld-compile-command.c): New variables.
35605         ($(objpfx)rtld-%.os rules): Use them.
35607 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35609         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
35610         fields.
35612 2013-06-17  Roland McGrath  <roland@hack.frob.com>
35614         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
35615         length of target pattern, then descending length of dependency pattern.
35616         * configure.in (AWK): Require gawk 3.1.2 or newer.
35617         * manual/install.texi (Tools for Compilation): Say that we do.
35618         * configure: Regenerated.
35620         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
35621         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
35622         * scripts/sysd-rules.awk: ... this new script.
35623         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
35624         than a glob-style pattern.
35626 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
35628         * math/test-misc.c (main): Do not treat incorrectly rounded
35629         conversions as failure unless ROUNDING_TESTS passes.
35631 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
35633         [BZ #15631]
35634         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
35635         restore exception state around main square root computation, then
35636         check for inexactness explicitly.
35638         * math/libm-test.inc (fma_test_data): Add another test.
35640 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35642         * manual/threads.texi (Non-POSIX Extensions): New document
35643         node.  Document pthread_getattr_default_np and
35644         pthread_setattr_default_np.
35646         * Versions.def (libpthread): Add GLIBC_2.18.
35647         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
35648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35649         Likewise.
35650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35651         Likewise.
35652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35653         Likewise.
35654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35655         Likewise.
35656         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
35657         Likewise.
35658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35659         Likewise.
35660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35661         Likewise.
35662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35663         Likewise.
35664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35665         Likewise.
35667 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35670         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
35672 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35673             H.J. Lu  <hjl.tools@gmail.com>
35675         [BZ #15627]
35676         * sysdeps/x86_64/rtld-memset.c: Remove file.
35677         * sysdeps/x86_64/rtld-memset.S: New file.
35679 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
35681         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
35682         (test_in_one_mode): Take arguments for whether the rounding mode
35683         is supported for each floating-point type.
35684         (do_test): Pass new arguments to test_in_one_mode using
35685         ROUNDING_TESTS.
35687 2013-06-13  Roland McGrath  <roland@hack.frob.com>
35689         * posix/tst-waitid.c (do_test): Distinguish different instances of
35690         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
35691         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
35692         before entering the kernel for waitpid.
35694 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35696         * NEWS: Fix note on clock function precision.  Text by Roland
35697         McGrath.
35699 2013-06-13  Roland McGrath  <roland@hack.frob.com>
35701         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
35702         it into place only when and if the sanity check passes.
35704 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
35706         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
35707         output for whether conversion result is exact.  Take argument
35708         indicating whether type is IBM long double.
35709         (round_for_all): Change need_exact field to ibm_ld.
35710         * stdlib/tst-strtod-round.c (struct exactness): New type.
35711         (struct test): Change bool ld_ok field to struct exactness exact.
35712         (TEST): Update all definitions for change to field.
35713         (tests): Regenerate array contents.
35714         (test_in_one_mode): Take pointer to new field instead of old ld_ok
35715         field value.  Check for IBM long double here.
35716         (do_test): Update calls to test_in_one_mode.
35718 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35720         [BZ #12515]
35721         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
35722         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
35724 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35726         [BZ #15605]
35727         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
35728         generated by the compiler on loop optimizations.
35729         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
35730         general definitions.
35732 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
35734         * math/bug-nextafter.c: Include <math-tests.h>.
35735         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35736         the relevant type.
35737         * math/bug-nexttoward.c: Include <math-tests.h>.
35738         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35739         the relevant type.
35740         * math/test-misc.c: Include <math-tests.h>.
35741         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35742         the relevant type.
35744 2013-06-12  Andreas Jaeger  <aj@suse.de>
35746         * po/ia.po: Update Interlingua translation from translation
35747         project.
35749 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35751         * include/fenv.h: Include stdbool.h.
35752         (struct rm_ctx): New structure.
35753         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
35754         Define macro.
35755         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
35756         (SET_RESTORE_ROUNDF): Likewise.
35757         (SET_RESTORE_ROUNDL): Likewise.
35758         (SET_RESTORE_ROUND_NOEX): Likewise.
35759         (SET_RESTORE_ROUND_NOEXF): Likewise.
35760         (SET_RESTORE_ROUND_NOEXL): Likewise.
35761         (SET_RESTORE_ROUND_53BIT): Likewise.
35762         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
35763         (libc_feresetround_noexf_ctx): Likewise.
35764         (libc_feresetround_noexl_ctx): Likewise.
35765         (libc_feholdsetround_53bit_ctx): Likewise.
35766         (libc_feresetround_53bit_ctx): Likewise.
35767         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
35768         (libc_feholdexcept_setround_sse_ctx): New function.
35769         (libc_fesetenv_sse_ctx): Likewise.
35770         (libc_feupdateenv_sse_ctx): Likewise.
35771         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
35772         (libc_feholdexcept_setround_387_ctx): Likewise.
35773         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
35774         (libc_feholdsetround_387_prec_ctx): Likewise.
35775         (libc_feholdsetround_387_ctx): Likewise.
35776         (libc_feholdsetround_387_53bit_ctx): Likewise.
35777         (libc_feholdsetround_sse_ctx): Likewise.
35778         (libc_feresetround_sse_ctx): Likewise.
35779         (libc_feresetround_387_ctx): Likewise.
35780         (libc_feupdateenv_387_ctx): Likewise.
35781         (libc_feholdexcept_setroundf_ctx): Define macro.
35782         (libc_fesetenvf_ctx): Likewise.
35783         (libc_feupdateenvf_ctx): Likewise.
35784         (libc_feholdsetroundf_ctx): Likewise.
35785         (libc_feresetroundf_ctx): Likewise.
35786         (libc_feholdexcept_setround_ctx): Likewise.
35787         (libc_fesetenv_ctx): Likewise.
35788         (libc_feupdateenv_ctx): Likewise.
35789         (libc_feholdsetround_ctx): Likewise.
35790         (libc_feresetround_ctx): Likewise.
35791         (libc_feholdexcept_setroundl_ctx): Likewise.
35792         (libc_feupdateenvl_ctx): Likewise.
35793         (libc_feholdsetroundl_ctx): Likewise.
35794         (libc_feresetroundl_ctx): Likewise.
35795         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
35796         (libc_feresetround_53bit_ctx): Likewise.
35798 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35800         * locale/iso-639.def: Convert to UTF-8.
35802 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
35804         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
35805         (EXCEPTION_TESTS_double): Likewise.
35806         (EXCEPTION_TESTS_long_double): Likewise.
35807         (EXCEPTION_TESTS): Likewise.
35808         * math/libm-test.inc (test_exceptions): Only test exceptions if
35809         EXCEPTION_TESTS (FLOAT).
35811 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35813         * benchtests/Makefile (string-bench): Add strcpy_chk and
35814         stpcpy_chk.
35815         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
35816         * benchtests/bench-stpcpy_chk.c: New file.
35817         * benchtests/bench-strcpy_chk-ifunc.c: New file.
35818         * benchtests/bench-strcpy_chk.c: New file.
35819         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
35820         code.
35821         (do_test): Likewise.
35823 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35825         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
35826         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
35827         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
35828         with tabs where appropriate.
35829         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
35830         dl-procinfo.h.
35831         [PPC_PLATFORM_PPC440]: Likewise.
35832         [PPC_PLATFORM_PPC464]: Likewise.
35833         [PPC_PLATFORM_PPC476]: Likewise.
35834         (_dl_string_platform): Add support for detecting ppc405, ppc440,
35835         ppc464, and ppc476 platform strings merging from ports/
35836         dl-procinfo.h.
35838 2013-06-11  Andreas Schwab  <schwab@suse.de>
35840         [BZ #14991]
35841         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
35842         (from_ucs4_idx): Regenerate.
35843         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
35844         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35845         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
35846         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
35847         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
35848         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
35849         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
35850         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
35851         from FROM_LOOP and TO_LOOP specific macros.
35852         (BODY): Handle combining characters.
35853         * iconvdata/BIG5HKSCS.irreversible: Update.
35854         * iconvdata/BIG5HKSCS.precomposed: New file.
35855         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
35856         characters.
35857         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
35859 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35861         * include/sys/time.h: Fix indentation and add copyright header.
35863         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
35864         (do_test): Likewise.
35865         * string/test-memchr.c (do_one_test): Likewise.
35866         (do_test): Likewise.
35867         * string/test-memcmp.c (do_one_test): Likewise.
35868         (do_test): Likewise.
35869         * string/test-memcpy.c (do_one_test): Likewise.
35870         (do_test): Likewise.
35871         * string/test-memmem.c (do_one_test): Likewise.
35872         (do_test): Likewise.
35873         (do_random_tests): Likewise.
35874         * string/test-memmove.c (do_one_test): Likewise.
35875         (do_test): Likewise.
35876         * string/test-memset.c (do_one_test): Likewise.
35877         (do_test): Likewise.
35878         * string/test-rawmemchr.c (do_one_test): Likewise.
35879         (do_test): Likewise.
35880         * string/test-strcasecmp.c (do_one_test): Likewise.
35881         (do_test): Likewise.
35882         * string/test-strcasestr.c (do_one_test): Likewise.
35883         (do_test): Likewise.
35884         * string/test-strcat.c (do_one_test): Likewise.
35885         (do_test): Likewise.
35886         * string/test-strchr.c (do_one_test): Likewise.
35887         (do_test): Likewise.
35888         * string/test-strcmp.c (do_one_test): Likewise.
35889         (do_test): Likewise.
35890         * string/test-strcpy.c (do_one_test): Likewise.
35891         (do_test): Likewise.
35892         * string/test-string.h: Likewise.
35893         (test_init): Likewise.
35894         * string/test-strlen.c (do_one_test): Likewise.
35895         (do_test): Likewise.
35896         * string/test-strncasecmp.c (do_one_test): Likewise.
35897         (do_test): Likewise.
35898         * string/test-strncat.c (do_one_test): Likewise.
35899         (do_test): Likewise.
35900         * string/test-strncmp.c (do_one_test): Likewise.
35901         (do_test_limit): Likewise.
35902         (do_test): Likewise.
35903         * string/test-strncpy.c (do_one_test): Likewise.
35904         (do_test): Likewise.
35905         * string/test-strnlen.c (do_one_test): Likewise.
35906         (do_test): Likewise.
35907         * string/test-strpbrk.c (do_one_test): Likewise.
35908         (do_test): Likewise.
35909         * string/test-strrchr.c (do_one_test): Likewise.
35910         (do_test): Likewise.
35911         * string/test-strspn.c (do_one_test): Likewise.
35912         (do_test): Likewise.
35913         * string/test-strstr.c (do_one_test): Likewise.
35914         (do_test): Likewise.
35916         * benchtests/Makefile (string-bench): Add string benchmarks.
35917         * benchtests/bench-bcopy-ifunc.c: New file.
35918         * benchtests/bench-bcopy.c: New file.
35919         * benchtests/bench-bzero-ifunc.c: New file.
35920         * benchtests/bench-bzero.c: New file.
35921         * benchtests/bench-memccpy-ifunc.c: New file.
35922         * benchtests/bench-memccpy.c: New file.
35923         * benchtests/bench-memchr-ifunc.c: New file.
35924         * benchtests/bench-memchr.c: New file.
35925         * benchtests/bench-memcmp-ifunc.c: New file.
35926         * benchtests/bench-memcmp.c: New file.
35927         * benchtests/bench-memmem-ifunc.c: New file.
35928         * benchtests/bench-memmem.c: New file.
35929         * benchtests/bench-memmove-ifunc.c: New file.
35930         * benchtests/bench-memmove.c: New file.
35931         * benchtests/bench-mempcpy-ifunc.c: New file.
35932         * benchtests/bench-mempcpy.c: New file.
35933         * benchtests/bench-memset-ifunc.c: New file.
35934         * benchtests/bench-memset.c: New file.
35935         * benchtests/bench-rawmemchr-ifunc.c: New file.
35936         * benchtests/bench-rawmemchr.c: New file.
35937         * benchtests/bench-stpcpy-ifunc.c: New file.
35938         * benchtests/bench-stpcpy.c: New file.
35939         * benchtests/bench-stpncpy-ifunc.c: New file.
35940         * benchtests/bench-stpncpy.c: New file.
35941         * benchtests/bench-strcasecmp-ifunc.c: New file.
35942         * benchtests/bench-strcasecmp.c: New file.
35943         * benchtests/bench-strcasestr-ifunc.c: New file.
35944         * benchtests/bench-strcasestr.c: New file.
35945         * benchtests/bench-strcat-ifunc.c: New file.
35946         * benchtests/bench-strcat.c: New file.
35947         * benchtests/bench-strchr-ifunc.c: New file.
35948         * benchtests/bench-strchr.c: New file.
35949         * benchtests/bench-strchrnul-ifunc.c: New file.
35950         * benchtests/bench-strchrnul.c: New file.
35951         * benchtests/bench-strcmp-ifunc.c: New file.
35952         * benchtests/bench-strcmp.c: New file.
35953         * benchtests/bench-strcpy-ifunc.c: New file.
35954         * benchtests/bench-strcpy.c: New file.
35955         * benchtests/bench-strcspn-ifunc.c: New file.
35956         * benchtests/bench-strcspn.c: New file.
35957         * benchtests/bench-strlen-ifunc.c: New file.
35958         * benchtests/bench-strlen.c: New file.
35959         * benchtests/bench-strncasecmp-ifunc.c: New file.
35960         * benchtests/bench-strncasecmp.c: New file.
35961         * benchtests/bench-strncat-ifunc.c: New file.
35962         * benchtests/bench-strncat.c: New file.
35963         * benchtests/bench-strncmp-ifunc.c: New file.
35964         * benchtests/bench-strncmp.c: New file.
35965         * benchtests/bench-strncpy-ifunc.c: New file.
35966         * benchtests/bench-strncpy.c: New file.
35967         * benchtests/bench-strnlen-ifunc.c: New file.
35968         * benchtests/bench-strnlen.c: New file.
35969         * benchtests/bench-strpbrk-ifunc.c: New file.
35970         * benchtests/bench-strpbrk.c: New file.
35971         * benchtests/bench-strrchr-ifunc.c: New file.
35972         * benchtests/bench-strrchr.c: New file.
35973         * benchtests/bench-strspn-ifunc.c: New file.
35974         * benchtests/bench-strspn.c: New file.
35975         * benchtests/bench-strstr-ifunc.c: New file.
35976         * benchtests/bench-strstr.c: New file.
35978         * benchtests/Makefile: Disable parallel execution of targets.
35979         (string-bench): Add memcpy.
35980         (benchset): New variable to store a list of benchmark sets.
35981         (bench-func): Renamed from bench.
35982         (bench-set): New target.
35983         (bench): Depend on bench-func and bench-set.
35984         * benchtests/README: Add section on benchmark sets.
35985         * benchtests/bench-memcpy-ifunc.c: New file.
35986         * benchtests/bench-memcpy.c: New file.
35987         * benchtests/bench-string.h: New file.
35989 2013-06-11  Andreas Schwab  <schwab@suse.de>
35991         [BZ #15577]
35992         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35993         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35994         values in the triple.
35995         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35996         terminator in the group key.
35998 2013-06-11  Andreas Jaeger  <aj@suse.de>
36000         * po/zh_TW.po: Update Chinese (traditional) translation from
36001         translation project.
36003 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36005         * include/time.h (__clock_gettime): Add libc_hidden_proto.
36006         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
36007         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
36008         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36009         (clock_getcpuclockid): Likewise.
36010         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
36011         Add weak_alias and libc_hidden_def.
36012         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
36013         * rt/clock_gettime.c (clock_gettime): Rename to
36014         __clock_gettime.  Add weak_alias and libc_hidden_def.
36015         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
36016         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
36017         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
36018         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
36019         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
36020         Likewise.
36021         * rt/clock_settime.c (clock_settime): Rename to
36022         __clock_settime.  Add weak_alias and libc_hidden_def.
36023         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
36025 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
36027         * mach/err_boot.sub: Remove trailing whitespace.
36028         * mach/err_ipc.sub: Likewise.
36029         * mach/err_mach.sub: Likewise.
36031         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
36032         (ROUNDING_TESTS_double): Likewise.
36033         (ROUNDING_TESTS_long_double): Likewise.
36034         (ROUNDING_TESTS): Likewise.
36035         * math/libm-test.inc: Include <math-tests.h>.
36036         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
36037         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36038         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36039         (IF_ROUND_INIT_FE_UPWARD): Likewise.
36041 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36043         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
36044         of assigning.
36046 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
36048         * sysdeps/gnu/errlist.awk: Do not generate space at end of
36049         otherwise empty TRANS lines.
36050         * sysdeps/gnu/errlist.c: Regenerated.
36052         * catgets/gencat.c (error_print): Use (void) in function
36053         definition.
36054         * crypt/crypt_util.c (__init_des): Likewise.
36055         * crypt/speeds.c (Stop): Likewise.
36056         (main): Likewise.
36057         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
36058         * inet/ruserpass.c (token): Likewise.
36059         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
36060         * intl/localealias.c (extend_alias_table): Likewise.
36061         * intl/plural-exp.c (init_germanic_plural): Likewise.
36062         * libio/fcloseall.c (__fcloseall): Likewise.
36063         * libio/genops.c (_IO_flush_all): Likewise.
36064         (_IO_flush_all_linebuffered): Likewise.
36065         (_IO_cleanup): Likewise.
36066         (_IO_iter_begin): Likewise.
36067         (_IO_iter_end): Likewise.
36068         (_IO_list_lock): Likewise.
36069         (_IO_list_unlock): Likewise.
36070         (_IO_list_resetlock): Likewise.
36071         * libio/getchar.c (getchar): Likewise.
36072         * libio/getchar_u.c (getchar_unlocked): Likewise.
36073         * libio/getwchar.c (getwchar): Likewise.
36074         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
36075         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
36076         * login/getpt.c (__getpt): Likewise.
36077         * login/tst-utmp.c (main): Likewise.
36078         * malloc/hooks.c (__malloc_check_init): Likewise.
36079         * malloc/malloc.c (__malloc_stats): Likewise.
36080         * malloc/mtrace.c (tr_break): Likewise.
36081         (mtrace): Likewise.
36082         (muntrace): Likewise.
36083         * misc/fstab.c (endfsent): Likewise.
36084         * misc/getclktck.c (__getclktck): Likewise.
36085         * misc/getdtsz.c (__getdtablesize): Likewise.
36086         * misc/gethostid.c (gethostid): Likewise.
36087         * misc/getpagesize.c (__getpagesize): Likewise.
36088         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
36089         (__get_nprocs): Likewise.
36090         (__get_phys_pages): Likewise.
36091         (__get_avphys_pages): Likewise.
36092         * misc/getttyent.c (getttyent): Likewise.
36093         (setttyent): Likewise.
36094         (endttyent): Likewise.
36095         * misc/getusershell.c (getusershell): Likewise.
36096         (endusershell): Likewise.
36097         (setusershell): Likewise.
36098         (initshells): Likewise.
36099         * misc/hsearch.c (__hdestroy): Likewise.
36100         * misc/sync.c (sync): Likewise.
36101         * misc/syslog.c (closelog_internal): Likewise.
36102         (closelog): Likewise.
36103         * misc/ttyslot.c (ttyslot): Likewise.
36104         * misc/vhangup.c (vhangup): Likewise.
36105         * posix/fork.c (__fork): Likewise.
36106         * posix/getegid.c (__getegid): Likewise.
36107         * posix/geteuid.c (__geteuid): Likewise.
36108         * posix/getgid.c (__getgid): Likewise.
36109         * posix/getpid.c (__getpid): Likewise.
36110         * posix/getppid.c (__getppid): Likewise.
36111         * posix/getuid.c (__getuid): Likewise.
36112         * posix/pause.c (pause): Likewise.
36113         * posix/setpgrp.c (setpgrp): Likewise.
36114         * posix/setsid.c (__setsid): Likewise.
36115         * posix/test-vfork.c (noop): Likewise.
36116         * resolv/gethnamaddr.c (_endhtent): Likewise.
36117         (_gethtent): Likewise.
36118         (ht_endhostent): Likewise.
36119         (gethostent): Likewise.
36120         (dns_service): Likewise.
36121         * stdlib/drand48.c (drand48): Likewise.
36122         * stdlib/lrand48.c (lrand48): Likewise.
36123         * stdlib/mrand48.c (mrand48): Likewise.
36124         * stdlib/rand.c (rand): Likewise.
36125         * stdlib/random.c (__random): Likewise.
36126         * stdlib/setenv.c (clearenv): Likewise.
36127         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
36128         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
36129         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
36130         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
36131         (__get_nprocs): Likewise.
36132         (__get_phys_pages): Likewise.
36133         (__get_avphys_pages): Likewise.
36134         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
36135         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
36136         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
36137         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
36138         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
36139         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
36140         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
36141         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
36142         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
36143         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
36144         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
36145         * sysdeps/mach/hurd/sync.c (sync): Likewise.
36146         * sysdeps/posix/clock.c (clock): Likewise.
36147         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
36148         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
36149         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
36150         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36151         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
36152         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36153         (__get_nprocs_conf): Likewise.
36154         (__get_phys_pages): Likewise.
36155         (__get_avphys_pages): Likewise.
36156         * time/clock.c (clock): Likewise.
36157         * time/tzset.c (__tzname_max): Likewise.
36159 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
36161         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
36162         (__bswap_32): Do not use "register".
36163         * crypt/crypt.c (_ufc_doit_r): Likewise.
36164         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36165         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36166         * gmon/gmon.c (__monstartup): Likewise.
36167         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
36168         * hurd/hurdmalloc.c (more_memory): Likewise.
36169         (malloc): Likewise.
36170         (free): Likewise.
36171         (realloc): Likewise.
36172         (malloc_fork_prepare): Likewise.
36173         (malloc_fork_parent): Likewise.
36174         (malloc_fork_child): Likewise.
36175         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
36176         (_svcauth_des): Likewise.
36177         * inet/inet_lnaof.c (inet_lnaof): Likewise.
36178         * inet/inet_net.c (inet_network): Likewise.
36179         * inet/inet_netof.c (inet_netof): Likewise.
36180         * inet/rcmd.c (__validuser2_sa): Likewise.
36181         * io/fts.c (fts_open): Likewise.
36182         (fts_load): Likewise.
36183         (fts_close): Likewise.
36184         (fts_read): Likewise.
36185         (fts_children): Likewise.
36186         (fts_build): Likewise.
36187         (fts_stat): Likewise.
36188         (fts_sort): Likewise.
36189         (fts_alloc): Likewise.
36190         (fts_lfree): Likewise.
36191         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
36192         (_IO_file_xsgetn): Likewise.
36193         (_IO_file_xsgetn_mmap): Likewise.
36194         * libio/iofopncook.c (_IO_cookie_read): Likewise.
36195         (_IO_cookie_write): Likewise.
36196         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
36197         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
36198         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
36199         * malloc/obstack.c (_obstack_begin): Likewise.
36200         (_obstack_begin_1): Likewise.
36201         (_obstack_newchunk): Likewise.
36202         (_obstack_allocated_p): Likewise.
36203         (obstack_free): Likewise.
36204         (_obstack_memory_used): Likewise.
36205         * misc/getttyent.c (getttynam): Likewise.
36206         (getttyent): Likewise.
36207         (skip): Likewise.
36208         (value): Likewise.
36209         * misc/getusershell.c (initshells): Likewise.
36210         * misc/syslog.c (__vsyslog_chk): Likewise.
36211         * misc/ttyslot.c (ttyslot): Likewise.
36212         * nis/nis_hash.c (__nis_hash): Likewise.
36213         * posix/fnmatch_loop.c (FCT): Likewise.
36214         * posix/getconf.c (print_all): Likewise.
36215         (main): Likewise.
36216         * posix/getopt.c (exchange): Likewise.
36217         * posix/glob.c (globfree): Likewise.
36218         (prefix_array): Likewise.
36219         (__glob_pattern_type): Likewise.
36220         * resolv/arpa/nameser.h (NS_GET16): Likewise.
36221         (NS_GET32): Likewise.
36222         (NS_PUT16): Likewise.
36223         (NS_PUT32): Likewise.
36224         * resolv/gethnamaddr.c (getanswer): Likewise.
36225         (gethostbyname2): Likewise.
36226         (gethostbyaddr): Likewise.
36227         (_gethtent): Likewise.
36228         (_gethtbyname2): Likewise.
36229         (_gethtbyaddr): Likewise.
36230         * resolv/ns_print.c (dst_s_get_int16): Likewise.
36231         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
36232         * resolv/res_init.c (__res_vinit): Likewise.
36233         (net_mask): Likewise.
36234         * resolv/res_mkquery.c (outchar): Likewise.
36235         (PRINT): Likewise.
36236         * stdio-common/printf_fp.c (outchar): Likewise.
36237         (PRINT): Likewise.
36238         * stdio-common/printf_fphex.c (outchar): Likewise.
36239         (PRINT): Likewise.
36240         * stdio-common/printf_size.c (outchar): Likewise.
36241         (PRINT): Likewise.
36242         * stdio-common/test_rdwr.c (main): Likewise.
36243         * stdio-common/tfformat.c (matches): Likewise.
36244         * stdio-common/vfprintf.c (outchar): Likewise.
36245         (printf_unknown): Likewise.
36246         (buffered_vfprintf): Likewise.
36247         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36248         * stdio-common/xbug.c (AppendToBuffer): Likewise.
36249         (ReadFile): Likewise.
36250         * stdlib/qsort.c (SWAP): Likewise.
36251         (_quicksort): Likewise.
36252         * stdlib/setenv.c (__add_to_environ): Likewise.
36253         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36254         * stdlib/strtol_l.c (__strtol_l): Likewise.
36255         * stdlib/tst-strtod.c (main): Likewise.
36256         * stdlib/tst-strtol.c (main): Likewise.
36257         * stdlib/tst-strtoll.c (main): Likewise.
36258         * string/bits/string2.h (__strcmp_cc): Likewise.
36259         (__strcmp_cg): Likewise.
36260         (__strcspn_c1): Likewise.
36261         (__strcspn_c2): Likewise.
36262         (__strcspn_c3): Likewise.
36263         (__strspn_c1): Likewise.
36264         (__strspn_c2): Likewise.
36265         (__strspn_c3): Likewise.
36266         (__strsep_1c): Likewise.
36267         (__strsep_2c): Likewise.
36268         (__strsep_3c): Likewise.
36269         * string/memccpy.c (__memccpy): Likewise.
36270         * string/stpcpy.c (__stpcpy): Likewise.
36271         * string/strcmp.c (strcmp): Likewise.
36272         * string/strrchr.c (strrchr): Likewise.
36273         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
36274         Likewise.
36275         * sysdeps/mach/hurd/getcwd.c
36276         (_hurd_canonicalize_directory_name_internal): Likewise.
36277         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
36278         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
36279         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
36280         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
36281         Likewise, in both definitions.
36282         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
36283         definitions.
36284         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
36285         64] (__bswap_64): Likewise.
36286         * time/test_time.c (main): Likewise.
36287         * time/tzfile.c (__tzfile_read): Likewise.
36288         (__tzfile_compute): Likewise.
36289         * time/tzset.c (__tzset_parse_tz): Likewise.
36290         (tzset_internal): Likewise.
36291         (compute_change): Likewise.
36292         * wcsmbs/wcscat.c (__wcscat): Likewise.
36293         * wcsmbs/wcschr.c (wcschr): Likewise.
36294         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
36295         * wcsmbs/wcscspn.c (wcscspn): Likewise.
36296         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
36297         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
36298         * wcsmbs/wcsspn.c (wcsspn): Likewise.
36299         * wcsmbs/wcsstr.c (wcsstr): Likewise.
36300         * wcsmbs/wmemchr.c (wmemchr): Likewise.
36301         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36302         * wcsmbs/wmemset.c (wmemset): Likewise.
36304 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
36306         * scripts/config.guess: Update to version 2013-05-16.
36307         * scripts/config.sub: Update to version 2013-04-24.
36308         * scripts/install-sh: Update to version 2011-11-20.07.
36309         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
36310         * scripts/move-if-change: Update to version 2012-01-06 07:23.
36312 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
36314         * debug/fgetws_u_chk.c: Fix leading whitespaces.
36315         * elf/sln.c: Likewise.
36316         * hurd/hurd/ioctl.h: Likewise.
36317         * hurd/hurdmalloc.c: Likewise.
36318         * hurd/xattr.c: Likewise.
36319         * include/shlib-compat.h: Likewise.
36320         * inet/ruserpass.c: Likewise.
36321         * libio/iofgets_u.c: Likewise.
36322         * libio/iofgetws_u.c: Likewise.
36323         * locale/programs/ld-identification.c: Likewise.
36324         * locale/programs/ld-time.c: Likewise.
36325         * mach/msg-destroy.c: Likewise.
36326         * nss/nss_files/files-netgrp.c: Likewise.
36327         * resolv/res_data.c: Likewise.
36328         * soft-fp/op-1.h: Likewise.
36329         * soft-fp/op-2.h: Likewise.
36330         * soft-fp/op-4.h: Likewise.
36331         * soft-fp/op-common.h: Likewise.
36332         * stdio-common/printf_fphex.c: Likewise.
36333         * stdlib/strtod_l.c: Likewise.
36334         * sunrpc/rpc/clnt.h: Likewise.
36335         * sysdeps/generic/framestate.c: Likewise.
36336         * sysdeps/i386/bsd-_setjmp.S: Likewise.
36337         * sysdeps/i386/bsd-setjmp.S: Likewise.
36338         * sysdeps/i386/__longjmp.S: Likewise.
36339         * sysdeps/i386/setjmp.S: Likewise.
36340         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36341         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36342         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36343         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36344         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36345         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36346         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36347         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36348         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36349         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36350         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36351         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36352         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36353         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36354         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36355         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36356         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36357         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
36358         * sysdeps/ieee754/support.c: Likewise.
36359         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36360         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
36361         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
36362         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
36363         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
36364         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
36365         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
36366         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
36367         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
36368         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
36369         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
36370         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
36371         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
36372         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
36373         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
36374         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
36375         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
36378 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
36380         * posix/transbug.c: Remove executable mode.
36382 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
36384         * crypt/speeds.c: Remove trailing whitespace.
36385         * dlfcn/default.c: Likewise.
36386         * elf/ifuncdep2.c: Likewise.
36387         * elf/ifuncmain1.c: Likewise.
36388         * elf/ifuncmain1vis.c: Likewise.
36389         * elf/testobj.h: Likewise.
36390         * elf/tst-stackguard1.c: Likewise.
36391         * gmon/sys/gmon.h: Likewise.
36392         * hurd/hurdmsg.c: Likewise.
36393         * hurd/new-fd.c: Likewise.
36394         * hurd/ports-get.c: Likewise.
36395         * iconvdata/ibm1008_420.c: Likewise.
36396         * inet/tst-getni1.c: Likewise.
36397         * inet/tst-getni2.c: Likewise.
36398         * libio/ioungetc.c: Likewise.
36399         * libio/wfiledoalloc.c: Likewise.
36400         * manual/libm-err-tab.pl: Likewise.
36401         * math/w_dremf.c: Likewise.
36402         * misc/ftruncate.c: Likewise.
36403         * posix/bug-glob2.c: Likewise.
36404         * posix/tst-pcre.c: Likewise.
36405         * posix/wait4.c: Likewise.
36406         * resolv/README: Likewise.
36407         * resolv/res_debug.h: Likewise.
36408         * resolv/tst-inet_ntop.c: Likewise.
36409         * setjmp/bug269-setjmp.c: Likewise.
36410         * soft-fp/extended.h: Likewise.
36411         * soft-fp/op-1.h: Likewise.
36412         * soft-fp/op-2.h: Likewise.
36413         * soft-fp/op-4.h: Likewise.
36414         * soft-fp/op-8.h: Likewise.
36415         * soft-fp/testit.c: Likewise.
36416         * stdio-common/bug16.c: Likewise.
36417         * stdlib/random.c: Likewise.
36418         * sunrpc/rpcsvc/rquota.x: Likewise.
36419         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
36420         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36421         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36422         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36423         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36424         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36425         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36426         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36427         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36428         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36429         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36430         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36431         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36432         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36433         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36434         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36435         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36436         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36437         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36438         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36439         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36440         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36441         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
36442         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36443         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36444         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36445         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36446         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36447         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36448         * sysdeps/ieee754/s_lib_version.c: Likewise.
36449         * sysdeps/mach/hurd/check_fds.c: Likewise.
36450         * sysdeps/mach/hurd/getsockname.c: Likewise.
36451         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
36452         * sysdeps/mach/hurd/recvfrom.c: Likewise.
36453         * sysdeps/powerpc/bits/link.h: Likewise.
36454         * sysdeps/powerpc/dl-procinfo.c: Likewise.
36455         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
36456         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
36457         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
36458         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36459         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36460         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
36461         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36462         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
36463         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36464         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36465         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36466         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
36467         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36468         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36469         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36470         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36471         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36472         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36473         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36474         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36475         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
36476         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36477         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36478         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
36479         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36480         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36481         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36482         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36483         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36484         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36485         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36486         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36487         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36488         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
36489         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36490         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
36491         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36492         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36493         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
36494         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
36495         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
36496         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
36497         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
36498         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36499         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
36500         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
36501         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36502         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
36503         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
36504         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36505         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36506         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36507         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36508         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
36509         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36510         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36511         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36512         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
36513         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36514         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
36515         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
36516         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
36517         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36518         * sysdeps/powerpc/sysdep.h: Likewise.
36519         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36520         * sysdeps/s390/s390-64/sub_n.S: Likewise.
36521         * sysdeps/sh/dl-trampoline.S: Likewise.
36522         * sysdeps/sh/memset.S: Likewise.
36523         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
36524         * sysdeps/sh/strlen.S: Likewise.
36525         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
36526         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
36527         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
36528         * sysdeps/sparc/sparc32/rem.S: Likewise.
36529         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
36530         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
36531         * sysdeps/sparc/sparc32/strchr.S: Likewise.
36532         * sysdeps/sparc/sparc32/udiv.S: Likewise.
36533         * sysdeps/sparc/sparc32/urem.S: Likewise.
36534         * sysdeps/sparc/sparc64/add_n.S: Likewise.
36535         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36536         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
36537         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
36538         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
36539         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
36540         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36541         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
36542         * sysdeps/unix/bsd/times.c: Likewise.
36543         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
36544         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
36545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
36546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
36547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36548         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
36549         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36550         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
36551         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
36552         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
36553         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
36554         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36555         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
36556         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36557         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36558         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36559         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36560         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
36561         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
36562         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
36563         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
36564         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
36565         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36566         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
36567         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
36568         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36569         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
36570         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36571         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
36572         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
36573         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
36574         * sysdeps/x86_64/strcspn.S: Likewise.
36576 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36578         * locale/C-translit.h: Revert #include <stdint.h> because this is a
36579         generated file.  Regenerate properly from gen-translit.pl.
36580         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
36581         locale/C-translit.h.
36583 2013-06-05  Andreas Schwab  <schwab@suse.de>
36585         [BZ #15100]
36586         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
36587         week as 6 instead of -1.
36588         * time/tst-strptime.c (day_tests): Add test case.
36590 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36592         * sysdeps/generic/math_private.h
36593         (libc_feholdexcept_setround_53bit): Replace with
36594         libc_feholdsetround_53bit.
36595         (libc_feupdateenv_53bit): Replace with
36596         libc_feresetround_53bit.
36597         (SET_RESTORE_ROUND_53BIT): Adjust.
36599 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36601         * string/test-strchrnul.c: Add copyright header.
36603         * posix/tst-getaddrinfo4.c: Increase test timeout.
36605 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
36607         [BZ #15536]
36608         * math/libm-test.inc (MAX_EXP): Remove
36609         (MIN_EXP): Define.
36610         (ulp): Use MIN_EXP - MANT_DIG.
36611         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
36613 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
36615         * po/be.po: Revert last change.
36616         * po/zh_CN.po: Likewise.
36617         * po/header.pot: Likewise.
36619 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
36621         * Makefile ($(common-objpfx)linkobj/libc.so): Define
36622         link-libc-deps to empty as target-specific variable.
36623         * Makerules (link-libc-args): New variable.
36624         (libc-for-link): Likewise.
36625         (link-libc-deps): Likewise.
36626         (lib%.so): Depend on $(link-libc-deps).  Link with
36627         $(link-libc-args).
36628         (build-module): Link with $(link-libc-args).
36629         (build-module-asneeded): Likewise.
36630         (build-module-helper-objlist): Filter out $(link-libc-deps) from
36631         list of objects.
36632         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
36633         target-specific variable.
36634         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
36635         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
36636         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
36637         libc.
36638         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
36639         libc and ld.so.
36640         ($(objpfx)libpcprofile.so): Likewise.
36641         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
36642         libc_nonshared.a.
36643         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
36644         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
36645         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
36646         $(link-libc-deps).
36647         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
36648         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
36649         * login/Makefile ($(objpfx)libutil.so): Likewise.
36650         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
36651         * math/Makefile ($(objpfx)libm.so): Likewise.
36652         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
36653         $(objpfx)libnsl.so): Define libc-for-link as target-specific
36654         variable instead of depending directly on libc.
36655         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
36656         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
36657         $(link-libc-deps).
36658         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
36659         libc.
36660         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
36661         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
36662         ($(objpfx)libanl.so): Likewise.
36663         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
36664         ld.so.
36665         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
36666         $(link-libc-deps).
36667         * sysdeps/i386/fpu/Makefile: Remove file.
36668         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
36669         ($(objpfx)libm.so): Remove dependency on ld.so.
36671 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
36673         [BZ # 15553]
36674         * nis/yp_xdr.c (XDRMAXNAME): Define.
36675         (XDRMAXRECORD): Define.
36676         (xdr_domainname): Use XDRMAXNAME.
36677         (xdr_mapname): Likewise.
36678         (xdr_peername): Likewise.
36679         (xdr_keydat): Use XDRMAXRECORD.
36680         (xdr_valdat): Likewise.
36682 2013-05-30  Jeff Law  <law@redhat.com>
36684         [BZ #14256]
36685         * manual/errno.texi (ESTALE): Update to account for more than
36686         just NFS file systems.
36687         * sysdeps/gnu/errlist.c: Regenerated.
36689 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36691         [BZ #15465]
36692         * elf/Makefile (tests): Add tst-null-argv.
36693         (modules-names):  Add tst-null-argv-lib.
36694         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
36695         (tst-null-argv-ENV): Set environment for tst-null-argv.
36696         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
36697         (RTLD_PROGNAME): New macro.
36698         * elf/tst-null-argv.c: New test case.
36699         * elf/tst-null-argv-lib.c: Library for test case.
36700         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
36701         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
36702         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
36703         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
36704         * elf/dl-init.c (call_init): Likewise.
36705         (_dl_init): Likewise.
36706         * elf/dl-load.c (print_search_path): Likewise.
36707         (_dl_map_object): Likewise.
36708         * elf/dl-lookup.c (do_lookup_x): Likewise.
36709         (add_dependency): Likewise.
36710         (_dl_lookup_symbol_x): Likewise.
36711         (_dl_debug_bindings): Likewise.
36712         * elf/dl-open.c (_dl_show_scope): Likewise.
36713         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36714         * elf/dl-version.c (match_symbol): Likewise.
36715         (_dl_check_map_versions): Likewise.
36716         * elf/rtld.c (dl_main): Likewise.
36717         (print_unresolved): Use RTLD_PROGNAME.
36718         (print_missing_version): Likewise.
36719         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
36720         (elf_machine_rela): Likewise.
36721         * sysdeps/powerpc/powerpc32/dl-machine.c
36722         (__process_machine_rela): Likewise.
36723         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36724         Likewise.
36725         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36726         Likewise.
36727         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36728         Likewise.
36729         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36730         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
36731         Likewise.
36732         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
36733         Likewise.
36734         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36736 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
36738         * po/be.po: Add descriptive title.
36739         * po/zh_CN.po: Likewise.
36740         * po/header.pot: Likewise.
36742 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
36744         * locale/programs/locarchive.c (create_archive): Inlucde fname in
36745         error message.
36746         (enlarge_archive): Likewise.
36748 2013-05-28  Ben North  <ben@redfrontdoor.org>
36750         * manual/arith.texi (frexp): It is the magnitude of the return
36751         value which lies in [0.5, 1), not the return value itself.
36753 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36757 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
36759         * stdio-common/bug26.c (main): Correct fscanf template.
36761         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
36762         declare _dl_skip_args.
36764         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
36765         Don't declare.
36767         * manual/platform.texi: Add missing @end deftypefun.
36769 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36771         [BZ #15529]
36772         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
36773         bit of mantissa of 2^16382.
36774         * math/libm-test.inc (hypot_test_data): Add more tests.
36776         * math/libm-test.inc: Add drem and pow10 to list of tested
36777         functions.
36778         (pow10_test): New function.
36779         (drem_test): Likewise.
36780         (drem_test_tonearest): Likewise.
36781         (drem_test_towardzero): Likewise.
36782         (drem_test_downward): Likewise.
36783         (drem_test_upward): Likewise.
36784         (main): Call the new functions.
36786         * math/libm-test.inc (finite_test_data): Remove.
36787         (finite_test): Run tests from isfinite_test_data.
36788         (gamma_test_data): Remove.
36789         (gamma_test): Run tests from lgamma_test_data.
36790         * sysdeps/i386/fpu/libm-test-ulps: Update.
36791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36793 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36795         * manual/platform.texi: Add PowerPC PPR function set documentation.
36796         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
36797         implementation.
36799 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
36801         * math/libm-test.inc (MAX_EXP): Define.
36802         (ULPDIFF): Define.
36803         (ulp): New function.
36804         (check_float_internal): Use ULPDIFF.
36805         (cpow_test): Disable failing test.
36806         (check_ulp): Test ulp() implemetnation.
36807         (main): Call check_ulp before starting tests.
36809 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36811         * math/gen-libm-test.pl (generate_testfile): Do not handle
36812         START_DATA and END_DATA.
36813         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
36814         END_DATA.
36815         (acos_tonearest_test_data): Likewise.
36816         (acos_towardzero_test_data): Likewise.
36817         (acos_downward_test_data): Likewise.
36818         (acos_upward_test_data): Likewise.
36819         (acosh_test_data): Likewise.
36820         (asin_test_data): Likewise.
36821         (asin_tonearest_test_data): Likewise.
36822         (asin_towardzero_test_data): Likewise.
36823         (asin_downward_test_data): Likewise.
36824         (asin_upward_test_data): Likewise.
36825         (asinh_test_data): Likewise.
36826         (atan_test_data): Likewise.
36827         (atanh_test_data): Likewise.
36828         (atan2_test_data): Likewise.
36829         (cabs_test_data): Likewise.
36830         (cacos_test_data): Likewise.
36831         (cacosh_test_data): Likewise.
36832         (carg_test_data): Likewise.
36833         (casin_test_data): Likewise.
36834         (casinh_test_data): Likewise.
36835         (catan_test_data): Likewise.
36836         (catanh_test_data): Likewise.
36837         (cbrt_test_data): Likewise.
36838         (ccos_test_data): Likewise.
36839         (ccosh_test_data): Likewise.
36840         (ceil_test_data): Likewise.
36841         (cexp_test_data): Likewise.
36842         (cimag_test_data): Likewise.
36843         (clog_test_data): Likewise.
36844         (clog10_test_data): Likewise.
36845         (conj_test_data): Likewise.
36846         (copysign_test_data): Likewise.
36847         (cos_test_data): Likewise.
36848         (cos_tonearest_test_data): Likewise.
36849         (cos_towardzero_test_data): Likewise.
36850         (cos_downward_test_data): Likewise.
36851         (cos_upward_test_data): Likewise.
36852         (cosh_test_data): Likewise.
36853         (cosh_tonearest_test_data): Likewise.
36854         (cosh_towardzero_test_data): Likewise.
36855         (cosh_downward_test_data): Likewise.
36856         (cosh_upward_test_data): Likewise.
36857         (cpow_test_data): Likewise.
36858         (cproj_test_data): Likewise.
36859         (creal_test_data): Likewise.
36860         (csin_test_data): Likewise.
36861         (csinh_test_data): Likewise.
36862         (csqrt_test_data): Likewise.
36863         (ctan_test_data): Likewise.
36864         (ctan_tonearest_test_data): Likewise.
36865         (ctan_towardzero_test_data): Likewise.
36866         (ctan_downward_test_data): Likewise.
36867         (ctan_upward_test_data): Likewise.
36868         (ctanh_test_data): Likewise.
36869         (ctanh_tonearest_test_data): Likewise.
36870         (ctanh_towardzero_test_data): Likewise.
36871         (ctanh_downward_test_data): Likewise.
36872         (ctanh_upward_test_data): Likewise.
36873         (erf_test_data): Likewise.
36874         (erfc_test_data): Likewise.
36875         (exp_test_data): Likewise.
36876         (exp_tonearest_test_data): Likewise.
36877         (exp_towardzero_test_data): Likewise.
36878         (exp_downward_test_data): Likewise.
36879         (exp_upward_test_data): Likewise.
36880         (exp10_test_data): Likewise.
36881         (exp2_test_data): Likewise.
36882         (expm1_test_data): Likewise.
36883         (fabs_test_data): Likewise.
36884         (fdim_test_data): Likewise.
36885         (finite_test_data): Likewise.
36886         (floor_test_data): Likewise.
36887         (fma_test_data): Likewise.
36888         (fma_towardzero_test_data): Likewise.
36889         (fma_downward_test_data): Likewise.
36890         (fma_upward_test_data): Likewise.
36891         (fmax_test_data): Likewise.
36892         (fmin_test_data): Likewise.
36893         (fmod_test_data): Likewise.
36894         (fpclassify_test_data): Likewise.
36895         (frexp_test_data): Likewise.
36896         (gamma_test_data): Likewise.
36897         (hypot_test_data): Likewise.
36898         (ilogb_test_data): Likewise.
36899         (isfinite_test_data): Likewise.
36900         (isgreater_test_data): Likewise.
36901         (isgreaterequal_test_data): Likewise.
36902         (isinf_test_data): Likewise.
36903         (isless_test_data): Likewise.
36904         (islessequal_test_data): Likewise.
36905         (islessgreater_test_data): Likewise.
36906         (isnan_test_data): Likewise.
36907         (isnormal_test_data): Likewise.
36908         (issignaling_test_data): Likewise.
36909         (isunordered_test_data): Likewise.
36910         (j0_test_data): Likewise.
36911         (j1_test_data): Likewise.
36912         (jn_test_data): Likewise.
36913         (ldexp_test_data): Likewise.
36914         (lgamma_test_data): Likewise.
36915         (lrint_test_data): Likewise.
36916         (lrint_tonearest_test_data): Likewise.
36917         (lrint_towardzero_test_data): Likewise.
36918         (lrint_downward_test_data): Likewise.
36919         (lrint_upward_test_data): Likewise.
36920         (llrint_test_data): Likewise.
36921         (llrint_tonearest_test_data): Likewise.
36922         (llrint_towardzero_test_data): Likewise.
36923         (llrint_downward_test_data): Likewise.
36924         (llrint_upward_test_data): Likewise.
36925         (log_test_data): Likewise.
36926         (log10_test_data): Likewise.
36927         (log1p_test_data): Likewise.
36928         (log2_test_data): Likewise.
36929         (logb_test_data): Likewise.
36930         (logb_downward_test_data): Likewise.
36931         (lround_test_data): Likewise.
36932         (llround_test_data): Likewise.
36933         (modf_test_data): Likewise.
36934         (nearbyint_test_data): Likewise.
36935         (nextafter_test_data): Likewise.
36936         (nexttoward_test_data): Likewise.
36937         (pow_test_data): Likewise.
36938         (pow_tonearest_test_data): Likewise.
36939         (pow_towardzero_test_data): Likewise.
36940         (pow_downward_test_data): Likewise.
36941         (pow_upward_test_data): Likewise.
36942         (remainder_test_data): Likewise.
36943         (remainder_tonearest_test_data): Likewise.
36944         (remainder_towardzero_test_data): Likewise.
36945         (remainder_downward_test_data): Likewise.
36946         (remainder_upward_test_data): Likewise.
36947         (remquo_test_data): Likewise.
36948         (rint_test_data): Likewise.
36949         (rint_tonearest_test_data): Likewise.
36950         (rint_towardzero_test_data): Likewise.
36951         (rint_downward_test_data): Likewise.
36952         (rint_upward_test_data): Likewise.
36953         (round_test_data): Likewise.
36954         (scalb_test_data): Likewise.
36955         (scalbn_test_data): Likewise.
36956         (scalbln_test_data): Likewise.
36957         (signbit_test_data): Likewise.
36958         (sin_test_data): Likewise.
36959         (sin_tonearest_test_data): Likewise.
36960         (sin_towardzero_test_data): Likewise.
36961         (sin_downward_test_data): Likewise.
36962         (sin_upward_test_data): Likewise.
36963         (sincos_test_data): Likewise.
36964         (sinh_test_data): Likewise.
36965         (sinh_tonearest_test_data): Likewise.
36966         (sinh_towardzero_test_data): Likewise.
36967         (sinh_downward_test_data): Likewise.
36968         (sinh_upward_test_data): Likewise.
36969         (sqrt_test_data): Likewise.
36970         (tan_test_data): Likewise.
36971         (tan_tonearest_test_data): Likewise.
36972         (tan_towardzero_test_data): Likewise.
36973         (tan_downward_test_data): Likewise.
36974         (tan_upward_test_data): Likewise.
36975         (tanh_test_data): Likewise.
36976         (tgamma_test_data): Likewise.
36977         (trunc_test_data): Likewise.
36978         (y0_test_data): Likewise.
36979         (y1_test_data): Likewise.
36980         (yn_test_data): Likewise.
36981         (significand_test_data): Likewise.
36983         * math/gen-libm-test.pl (@functions): Remove variable.
36984         (generate_testfile): Don't handle START and END lines.
36985         * math/libm-test.inc (START): New macro.
36986         (END): Likewise.
36987         (END_COMPLEX): Likewise.
36988         (acos_test): Use END macro without arguments.
36989         (acos_test_tonearest): Likewise.
36990         (acos_test_towardzero): Likewise.
36991         (acos_test_downward): Likewise.
36992         (acos_test_upward): Likewise.
36993         (acosh_test): Likewise.
36994         (asin_test): Likewise.
36995         (asin_test_tonearest): Likewise.
36996         (asin_test_towardzero): Likewise.
36997         (asin_test_downward): Likewise.
36998         (asin_test_upward): Likewise.
36999         (asinh_test): Likewise.
37000         (atan_test): Likewise.
37001         (atanh_test): Likewise.
37002         (atan2_test): Likewise.
37003         (cabs_test): Likewise.
37004         (cacos_test): Use END_COMPLEX macro without arguments.
37005         (cacosh_test): Likewise.
37006         (carg_test): Use END macro without arguments.
37007         (casin_test): Use END_COMPLEX macro without arguments.
37008         (casinh_test): Likewise.
37009         (catan_test): Likewise.
37010         (catanh_test): Likewise.
37011         (cbrt_test): Use END macro without arguments.
37012         (ccos_test): Use END_COMPLEX macro without arguments.
37013         (ccosh_test): Likewise.
37014         (ceil_test): Use END macro without arguments.
37015         (cexp_test): Use END_COMPLEX macro without arguments.
37016         (cimag_test): Use END macro without arguments.
37017         (clog_test): Use END_COMPLEX macro without arguments.
37018         (clog10_test): Likewise.
37019         (conj_test): Likewise.
37020         (copysign_test): Use END macro without arguments.
37021         (cos_test): Likewise.
37022         (cos_test_tonearest): Likewise.
37023         (cos_test_towardzero): Likewise.
37024         (cos_test_downward): Likewise.
37025         (cos_test_upward): Likewise.
37026         (cosh_test): Likewise.
37027         (cosh_test_tonearest): Likewise.
37028         (cosh_test_towardzero): Likewise.
37029         (cosh_test_downward): Likewise.
37030         (cosh_test_upward): Likewise.
37031         (cpow_test): Use END_COMPLEX macro without arguments.
37032         (cproj_test): Likewise.
37033         (creal_test): Use END macro without arguments.
37034         (csin_test): Use END_COMPLEX macro without arguments.
37035         (csinh_test): Likewise.
37036         (csqrt_test): Likewise.
37037         (ctan_test): Likewise.
37038         (ctan_test_tonearest): Likewise.
37039         (ctan_test_towardzero): Likewise.
37040         (ctan_test_downward): Likewise.
37041         (ctan_test_upward): Likewise.
37042         (ctanh_test): Likewise.
37043         (ctanh_test_tonearest): Likewise.
37044         (ctanh_test_towardzero): Likewise.
37045         (ctanh_test_downward): Likewise.
37046         (ctanh_test_upward): Likewise.
37047         (erf_test): Use END macro without arguments.
37048         (erfc_test): Likewise.
37049         (exp_test): Likewise.
37050         (exp_test_tonearest): Likewise.
37051         (exp_test_towardzero): Likewise.
37052         (exp_test_downward): Likewise.
37053         (exp_test_upward): Likewise.
37054         (exp10_test): Likewise.
37055         (exp2_test): Likewise.
37056         (expm1_test): Likewise.
37057         (fabs_test): Likewise.
37058         (fdim_test): Likewise.
37059         (finite_test): Likewise.
37060         (floor_test): Likewise.
37061         (fma_test): Likewise.
37062         (fma_test_towardzero): Likewise.
37063         (fma_test_downward): Likewise.
37064         (fma_test_upward): Likewise.
37065         (fmax_test): Likewise.
37066         (fmin_test): Likewise.
37067         (fmod_test): Likewise.
37068         (fpclassify_test): Likewise.
37069         (frexp_test): Likewise.
37070         (gamma_test): Likewise.
37071         (hypot_test): Likewise.
37072         (ilogb_test): Likewise.
37073         (isfinite_test): Likewise.
37074         (isgreater_test): Likewise.
37075         (isgreaterequal_test): Likewise.
37076         (isinf_test): Likewise.
37077         (isless_test): Likewise.
37078         (islessequal_test): Likewise.
37079         (islessgreater_test): Likewise.
37080         (isnan_test): Likewise.
37081         (isnormal_test): Likewise.
37082         (issignaling_test): Likewise.
37083         (isunordered_test): Likewise.
37084         (j0_test): Likewise.
37085         (j1_test): Likewise.
37086         (jn_test): Likewise.
37087         (ldexp_test): Likewise.
37088         (lgamma_test): Likewise.
37089         (lrint_test): Likewise.
37090         (lrint_test_tonearest): Likewise.
37091         (lrint_test_towardzero): Likewise.
37092         (lrint_test_downward): Likewise.
37093         (lrint_test_upward): Likewise.
37094         (llrint_test): Likewise.
37095         (llrint_test_tonearest): Likewise.
37096         (llrint_test_towardzero): Likewise.
37097         (llrint_test_downward): Likewise.
37098         (llrint_test_upward): Likewise.
37099         (log_test): Likewise.
37100         (log10_test): Likewise.
37101         (log1p_test): Likewise.
37102         (log2_test): Likewise.
37103         (logb_test): Likewise.
37104         (logb_test_downward): Likewise.
37105         (lround_test): Likewise.
37106         (llround_test): Likewise.
37107         (modf_test): Likewise.
37108         (nearbyint_test): Likewise.
37109         (nextafter_test): Likewise.
37110         (nexttoward_test): Likewise.
37111         (pow_test): Likewise.
37112         (pow_test_tonearest): Likewise.
37113         (pow_test_towardzero): Likewise.
37114         (pow_test_downward): Likewise.
37115         (pow_test_upward): Likewise.
37116         (remainder_test): Likewise.
37117         (remainder_test_tonearest): Likewise.
37118         (remainder_test_towardzero): Likewise.
37119         (remainder_test_downward): Likewise.
37120         (remainder_test_upward): Likewise.
37121         (remquo_test): Likewise.
37122         (rint_test): Likewise.
37123         (rint_test_tonearest): Likewise.
37124         (rint_test_towardzero): Likewise.
37125         (rint_test_downward): Likewise.
37126         (rint_test_upward): Likewise.
37127         (round_test): Likewise.
37128         (scalb_test): Likewise.
37129         (scalbn_test): Likewise.
37130         (scalbln_test): Likewise.
37131         (signbit_test): Likewise.
37132         (sin_test): Likewise.
37133         (sin_test_tonearest): Likewise.
37134         (sin_test_towardzero): Likewise.
37135         (sin_test_downward): Likewise.
37136         (sin_test_upward): Likewise.
37137         (sincos_test): Likewise.
37138         (sinh_test): Likewise.
37139         (sinh_test_tonearest): Likewise.
37140         (sinh_test_towardzero): Likewise.
37141         (sinh_test_downward): Likewise.
37142         (sinh_test_upward): Likewise.
37143         (sqrt_test): Likewise.
37144         (tan_test): Likewise.
37145         (tan_test_tonearest): Likewise.
37146         (tan_test_towardzero): Likewise.
37147         (tan_test_downward): Likewise.
37148         (tan_test_upward): Likewise.
37149         (tanh_test): Likewise.
37150         (tgamma_test): Likewise.
37151         (trunc_test): Likewise.
37152         (y0_test): Likewise.
37153         (y1_test): Likewise.
37154         (yn_test): Likewise.
37155         (significand_test): Likewise.
37157 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
37159         [BZ #15381]
37160         * libio/genops.c (_IO_no_init): Initialize wide struct info.
37162 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
37164         [BZ #14894]
37165         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
37166         __ppc_mdoio and __ppc_mdoom.
37167         * manual/platform.texi: Document new functions __ppc_yield,
37168         __ppc_mdoio and __ppc_mdoom.
37170 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
37172         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
37173         (main): Mention "tls" pseudo-hwcap is legacy.
37174         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
37176 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
37178         * math/gen-libm-test.pl (parse_args): Output only string of
37179         arguments as text for test name, not full call or descriptions of
37180         tests for extra outputs.
37181         (generate_testfile): Do not pass function name to parse_args.
37182         Generate this_func variable from START.
37183         * math/libm-test.inc (struct test_f_f_data): Rename test_name
37184         field to arg_str.
37185         (struct test_ff_f_data): Likewise.
37186         (test_ff_f_data_nexttoward): Likewise.
37187         (struct test_fi_f_data): Likewise.
37188         (struct test_fl_f_data): Likewise.
37189         (struct test_if_f_data): Likewise.
37190         (struct test_fff_f_data): Likewise.
37191         (struct test_c_f_data): Likewise.
37192         (struct test_f_f1_data): Likewise.  Remove field extra_name.
37193         (struct test_fF_f1_data): Likewise.
37194         (struct test_ffI_f1_data): Likewise.
37195         (struct test_c_c_data): Rename test_name field to arg_str.
37196         (struct test_cc_c_data): Likewise.
37197         (struct test_f_i_data): Likewise.
37198         (struct test_ff_i_data): Likewise.
37199         (struct test_f_l_data): Likewise.
37200         (struct test_f_L_data): Likewise.
37201         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
37202         and extra2_name.
37203         (COMMON_TEST_SETUP): New macro.
37204         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
37205         (COMMON_TEST_CLEANUP): Likewise.
37206         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
37207         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
37208         macros.
37209         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
37210         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
37211         macros.
37212         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
37213         (RUN_TEST_fff_f): Take argument string.  Call new setup and
37214         cleanup macros.
37215         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
37216         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
37217         macros.
37218         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
37219         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
37220         macros.
37221         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
37222         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
37223         cleanup macros.
37224         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
37225         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
37226         cleanup macros.
37227         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
37228         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
37229         cleanup macros.
37230         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
37231         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
37232         macros.
37233         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
37234         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
37235         macros.
37236         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
37237         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
37238         macros.
37239         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
37240         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
37241         cleanup macros.
37242         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
37243         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
37244         cleanup macros.
37245         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
37246         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
37247         macros.
37248         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
37249         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
37250         cleanup macros.
37251         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
37252         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
37253         macros.
37254         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
37255         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
37256         macros.
37257         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
37258         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
37259         cleanup macros.
37260         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
37262 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
37264         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
37265         to _sifields.sigfault.
37266         (si_addr_lsb): Define new macro.
37267         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37268         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37269         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
37271 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
37273         [BZ #15441]
37274         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
37275         returns -1.
37276         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
37277         null return -1.
37278         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
37279         loading the domain.
37281 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
37283         * math/gen-libm-test.pl (parse_args): Do not include expected
37284         result in test name.
37285         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
37286         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37287         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37288         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37289         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37292 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37294         * benchtests/Makefile: Sort function entries.
37296         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
37297         tanh, asinh, acosh, atanh.
37298         * benchtests/acos-inputs: New file.
37299         * benchtests/acosh-inputs: New file.
37300         * benchtests/asin-inputs: New file.
37301         * benchtests/asinh-inputs: New file.
37302         * benchtests/atanh-inputs: New file.
37303         * benchtests/cosh-inputs: New file.
37304         * benchtests/log-inputs: New file.
37305         * benchtests/sinh-inputs: New file.
37306         * benchtests/tanh-inputs: New file.
37308 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
37310         [BZ #15339]
37311         * posix/tst-getaddrinfo4.c: New test.
37312         * posix/Makefile (tests): Add it.
37314 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37316         [BZ #15339]
37317         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
37318         when no services were used.
37319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
37320         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
37322 2013-05-21  Andreas Schwab  <schwab@suse.de>
37324         [BZ #15014]
37325         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
37326         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
37327         successful.
37328         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
37329         redundant variable declarations and reallocation of buffer when
37330         parsing as IPv6 address.  Always set NSS status when called from
37331         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
37332         buffer too small.  Correct computation of needed size.
37333         * nss/Makefile (tests): Add test-digits-dots.
37334         * nss/test-digits-dots.c: New test.
37336 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37338         * benchtests/Makefile: Remove instructions for adding
37339         benchmark tests.
37340         * benchtests/README: New file to explain how to execute and
37341         enhance the benchmark tests.
37343 2013-05-21  Andreas Schwab  <schwab@suse.de>
37345         [BZ #15493]
37346         * setjmp/Makefile (tests): Add tst-sigsetjmp.
37347         * setjmp/tst-sigsetjmp.c: New test.
37349 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
37351         * sysdeps/x86_64/memset.S (memset): New implementation.
37352         (__bzero): Likewise.
37353         (__memset_tail): New function.
37355 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
37357         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
37358         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
37359         __memcpy_sse2_unaligned ifunc selection.
37360         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37361         Add memcpy-sse2-unaligned.S.
37362         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37363         Add: __memcpy_sse2_unaligned.
37365 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
37367         [BZ #15490]
37368         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37369         math_force_eval before restoring floating-point envrionment.
37370         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
37371         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
37372         Likewise.
37373         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
37374         <math_private.h>.
37375         (__nearbyintl): Use math_force_eval before restoring
37376         floating-point environment.
37377         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
37379         * math/gen-libm-test.pl (special_functions): Remove.
37380         (parse_args): Don't handle TEST_extra.  Handle functions with no
37381         return value.
37382         * math/libm-test.inc (struct test_sincos_data): Replace with
37383         struct test_fFF_11_data.
37384         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
37385         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
37386         (sincos_test_data): Change element type to struct
37387         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
37388         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
37389         RUN_TEST_LOOP_sincos.
37390         * math/README.libm-test: Don't mention special handling of
37391         individual functions.
37392         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
37393         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37394         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37395         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37396         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37399         * math/gen-libm-test.pl (get_variable): Remove function.
37400         (parse_args): Don't show pointer parameters to call in test
37401         names.  Use "extra output N" in test names for extra outputs
37402         rather than naming variables.
37404 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
37406         [BZ #15488]
37407         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
37408         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
37409         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
37410         double tests.
37411         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
37412         disable.
37413         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
37414         check_long_double.
37416         * math/gen-libm-test.pl (@tests): Remove variable.
37417         ($count): Likewise.
37418         (new_test): Remove function.
37419         (show_exceptions): New function.
37420         (special_functions): Use show_exceptions instead of new_test.
37421         (parse_args): Likewise.
37422         (generate_testfile): Pass only function name in generated call to
37423         print_max_error or print_complex_max_error.
37424         (get_ulps): Do not handle complex tests specially.
37425         (output_test): Rename to ...
37426         (get_all_ulps_for_test): ... this.  Return a string rather than
37427         printing to a file.  Require ulps to be present.
37428         (output_ulps): Generate arrays rather than #defines.
37429         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
37430         (struct ulp_data): New type.
37431         (BUILD_COMPLEX_ULP): Remove macro.
37432         (compare_ulp_data): New function.
37433         (find_ulps): Likewise.
37434         (find_test_ulps): Likewise.
37435         (find_function_ulps): Likewise.
37436         (find_complex_function_ulps): Likewise.
37437         (print_max_error): Determine allowed ulps using
37438         find_function_ulps.
37439         (print_complex_max_error): Determine allowed ulps using
37440         find_complex_function_ulps.
37441         (check_float_internal): Determine max ulps using find_test_ulps.
37442         (check_float): Do not take max_ulp parameter.  Update call to
37443         check_float_internal.
37444         (check_complex): Likewise.
37445         (check_int): Do not take max_ulp parameter.
37446         (check_long): Likewise.
37447         (check_bool): Likewise.
37448         (check_longlong): Likewise.
37449         (struct test_f_f_data): Remove max_ulp field.
37450         (struct test_ff_f_data): Likewise.
37451         (struct test_ff_f_data_nexttoward): Likewise.
37452         (struct test_fi_f_data): Likewise.
37453         (struct test_fl_f_data): Likewise.
37454         (struct test_if_f_data): Likewise.
37455         (struct test_fff_f_data): Likewise.
37456         (struct test_c_f_data): Likewise.
37457         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
37458         (struct test_fF_f1_data): Likewise.
37459         (struct test_ffI_f1_data): Likewise.
37460         (struct test_c_c_data): Remove max_ulp field.
37461         (struct test_cc_c_data): Likewise.
37462         (struct test_f_i_data): Likewise.
37463         (struct test_ff_i_data): Likewise.
37464         (struct test_f_l_data): Likewise.
37465         (struct test_f_L_data): Likewise.
37466         (struct test_sincos_data): Likewise.
37467         (RUN_TEST_f_f): Do not handle ulps.
37468         (RUN_TEST_LOOP_f_f): Likewise.
37469         (RUN_TEST_2_f): Likewise.
37470         (RUN_TEST_LOOP_2_f): Likewise.
37471         (RUN_TEST_fff_f): Likewise.
37472         (RUN_TEST_LOOP_fff_f): Likewise.
37473         (RUN_TEST_c_f): Likewise.
37474         (RUN_TEST_LOOP_c_f): Likewise.
37475         (RUN_TEST_f_f1): Likewise.
37476         (RUN_TEST_LOOP_f_f1): Likewise.
37477         (RUN_TEST_fF_f1): Likewise.
37478         (RUN_TEST_LOOP_fF_f1): Likewise.
37479         (RUN_TEST_fI_f1): Likewise.
37480         (RUN_TEST_LOOP_fI_f1): Likewise.
37481         (RUN_TEST_ffI_f1): Likewise.
37482         (RUN_TEST_LOOP_ffI_f1): Likewise.
37483         (RUN_TEST_c_c): Likewise.
37484         (RUN_TEST_LOOP_c_c): Likewise.
37485         (RUN_TEST_cc_c): Likewise.
37486         (RUN_TEST_LOOP_cc_c): Likewise.
37487         (RUN_TEST_f_i): Likewise.
37488         (RUN_TEST_LOOP_f_i): Likewise.
37489         (RUN_TEST_f_i_tg): Likewise.
37490         (RUN_TEST_LOOP_f_i_tg): Likewise.
37491         (RUN_TEST_ff_i_tg): Likewise.
37492         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37493         (RUN_TEST_f_b): Likewise.
37494         (RUN_TEST_LOOP_f_b): Likewise.
37495         (RUN_TEST_f_b_tg): Likewise.
37496         (RUN_TEST_LOOP_f_b_tg): Likewise.
37497         (RUN_TEST_f_l): Likewise.
37498         (RUN_TEST_LOOP_f_l): Likewise.
37499         (RUN_TEST_f_L): Likewise.
37500         (RUN_TEST_LOOP_f_L): Likewise.
37501         (RUN_TEST_sincos): Likewise.
37502         (RUN_TEST_LOOP_sincos): Likewise.
37504 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
37506         [BZ #15480]
37507         [BZ #15485]
37508         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
37509         main case of finite arguments, set rounding mode to FE_TONEAREST
37510         and discard exceptions.
37511         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
37512         exceptions.
37513         (remainder_tonearest_test_data): New variable.
37514         (remainder_test_tonearest): New function.
37515         (remainder_towardzero_test_data): New variable.
37516         (remainder_test_towardzero): New function.
37517         (remainder_downward_test_data): New variable.
37518         (remainder_test_downward): New function.
37519         (remainder_upward_test_data): New variable.
37520         (remainder_test_upward): New function.
37521         (main): Call the new test functions.
37523         * math/libm-test.inc (struct test_f_f1_data): Remove field
37524         extra_init.
37525         (struct test_fF_f1_data): Likewise.
37526         (struct test_ffI_f1_data): Likewise.
37527         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
37528         based on value of EXTRA_EXPECTED.
37529         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
37530         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
37531         EXTRA_VAR based on value of EXTRA_EXPECTED.
37532         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
37533         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
37534         EXTRA_VAR based on value of EXTRA_EXPECTED.
37535         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
37536         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
37537         EXTRA_VAR based on value of EXTRA_EXPECTED.
37538         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
37539         * math/gen-libm-test.pl (parse_args): Don't output initializers
37540         for extra output values.
37542         * math/libm-test.inc (check_int): Expect result to be exactly
37543         equal to expected value and do not handle ulps.
37544         (check_long): Likewise.
37545         (check_longlong): Likewise.
37547         * math/libm-test.inc (ceil_test_data): Test for "inexact"
37548         exceptions.
37549         (cimag_test_data): Likewise.
37550         (conj_test_data): Likewise.
37551         (copysign_test_data): Likewise.
37552         (cproj_test_data): Likewise.
37553         (creal_test_data): Likewise.
37554         (fabs_test_data): Likewise.
37555         (fdim_test_data): Likewise.
37556         (finite_test_data): Likewise.
37557         (floor_test_data): Likewise.
37558         (fmax_test_data): Likewise.
37559         (fmin_test_data): Likewise.
37560         (fmod_test_data): Likewise.
37561         (fpclassify_test_data): Likewise.
37562         (frexp_test_data): Likewise.
37563         (ilogb_test_data): Likewise.
37564         (isfinite_test_data): Likewise.
37565         (isgreater_test_data): Likewise.
37566         (isgreaterequal_test_data): Likewise.
37567         (isinf_test_data): Likewise.
37568         (isless_test_data): Likewise.
37569         (islessequal_test_data): Likewise.
37570         (islessgreater_test_data): Likewise.
37571         (isnan_test_data): Likewise.
37572         (isnormal_test_data): Likewise.
37573         (issignaling_test_data): Likewise.
37574         (isunordered_test_data): Likewise.
37575         (ldexp_test_data): Likewise.
37576         (lrint_test_data): Likewise.
37577         (lrint_test_data) [TEST_FLOAT]: Disable one test.
37578         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
37579         (lrint_tonearest_test_data): Test for "inexact" exceptions.
37580         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
37581         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
37582         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
37583         test input.
37584         (lrint_towardzero_test_data): Test for "inexact" exceptions.
37585         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
37586         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
37587         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
37588         that test input.
37589         (lrint_downward_test_data): Test for "inexact" exceptions.
37590         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
37591         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
37592         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
37593         test input.
37594         (lrint_upward_test_data): Test for "inexact" exceptions.
37595         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
37596         test input.
37597         (llrint_test_data): Test for "inexact" exceptions.
37598         (llrint_test_data) [TEST_FLOAT]: Disable one test.
37599         (llrint_tonearest_test_data): Test for "inexact" exceptions.
37600         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
37601         (llrint_towardzero_test_data): Test for "inexact" exceptions.
37602         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
37603         (llrint_downward_test_data): Test for "inexact" exceptions.
37604         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
37605         (llrint_upward_test_data): Test for "inexact" exceptions.
37606         (logb_test_data): Likewise.
37607         (logb_downward_test_data): Likewise.
37608         (nextafter_test_data): Likewise.
37609         (nexttoward_test_data): Likewise.
37610         (remainder_test_data): Likewise.
37611         (remquo_test_data): Likewise.
37612         (scalbn_test_data): Likewise.
37613         (scalbln_test_data): Likewise.
37614         (signbit_test_data): Likewise.
37615         (sqrt_test_data): Likewise.
37616         (significand_test_data): Likewise.
37618 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37620         [BZ #15424]
37621         * benchtests/bench-modf.c (struct args): Mark arg0 as
37622         volatile.
37623         * scripts/bench.pl: Mark members of struct args as volatile.
37625 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37627         [BZ # 15497]
37628         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
37629         negative infinity on POWER6 or lower.
37630         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
37632 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37634         [BZ #15442]
37635         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
37636         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
37637         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
37638         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
37639         (_FP_SETQNAN): New macro.
37640         (_FP_SETQNAN_SEMIRAW): Likewise.
37641         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
37642         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
37643         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
37644         (FP_EXTEND): Use _FP_FRAC_SNANP.
37645         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
37646         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
37647         into account.
37648         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37649         New macro.
37650         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37651         Likewise.
37653 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37655         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
37656         with DIVIDE_BY_ZERO_EXCEPTION.
37657         (gamma_test_data): Likewise.
37658         (lgamma_test_data): Likewise.
37659         (log_test_data): Likewise.
37660         (log10_test_data): Likewise.
37661         (log2_test_data): Likewise.
37662         (tgamma_test_data): Likewise.
37664         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
37665         (acos_test_tonearest): Likewise.
37666         (acos_test_towardzero): Likewise.
37667         (acos_test_downward): Likewise.
37668         (acos_test_upward): Likewise.
37669         (acosh_test): Likewise.
37670         (asin_test): Likewise.
37671         (asin_test_tonearest): Likewise.
37672         (asin_test_towardzero): Likewise.
37673         (asin_test_downward): Likewise.
37674         (asin_test_upward): Likewise.
37675         (asinh_test): Likewise.
37676         (atan_test): Likewise.
37677         (atanh_test): Likewise.
37678         (atan2_test): Likewise.
37679         (cabs_test): Likewise.
37680         (cacos_test): Likewise.
37681         (cacosh_test): Likewise.
37682         (casin_test): Likewise.
37683         (casinh_test): Likewise.
37684         (catan_test): Likewise.
37685         (catanh_test): Likewise.
37686         (cbrt_test): Likewise.
37687         (ccos_test): Likewise.
37688         (ccosh_test): Likewise.
37689         (cexp_test): Likewise.
37690         (clog_test): Likewise.
37691         (clog10_test): Likewise.
37692         (cos_test): Likewise.
37693         (cos_test_tonearest): Likewise.
37694         (cos_test_towardzero): Likewise.
37695         (cos_test_downward): Likewise.
37696         (cos_test_upward): Likewise.
37697         (cosh_test): Likewise.
37698         (cosh_test_tonearest): Likewise.
37699         (cosh_test_towardzero): Likewise.
37700         (cosh_test_downward): Likewise.
37701         (cosh_test_upward): Likewise.
37702         (cpow_test): Likewise.
37703         (csin_test): Likewise.
37704         (csinh_test): Likewise.
37705         (csqrt_test): Likewise.
37706         (ctan_test): Likewise.
37707         (ctan_test_tonearest): Likewise.
37708         (ctan_test_towardzero): Likewise.
37709         (ctan_test_downward): Likewise.
37710         (ctan_test_upward): Likewise.
37711         (ctanh_test): Likewise.
37712         (ctanh_test_tonearest): Likewise.
37713         (ctanh_test_towardzero): Likewise.
37714         (ctanh_test_downward): Likewise.
37715         (ctanh_test_upward): Likewise.
37716         (erf_test): Likewise.
37717         (erfc_test): Likewise.
37718         (exp_test): Likewise.
37719         (exp_test_tonearest): Likewise.
37720         (exp_test_towardzero): Likewise.
37721         (exp_test_downward): Likewise.
37722         (exp_test_upward): Likewise.
37723         (exp10_test): Likewise.
37724         (exp2_test): Likewise.
37725         (expm1_test): Likewise.
37726         (fmod_test): Likewise.
37727         (gamma_test): Likewise.
37728         (hypot_test): Likewise.
37729         (j0_test): Likewise.
37730         (j1_test): Likewise.
37731         (jn_test): Likewise.
37732         (lgamma_test): Likewise.
37733         (log_test): Likewise.
37734         (log10_test): Likewise.
37735         (log1p_test): Likewise.
37736         (log2_test): Likewise.
37737         (logb_test_downward): Likewise.
37738         (pow_test): Likewise.
37739         (pow_test_tonearest): Likewise.
37740         (pow_test_towardzero): Likewise.
37741         (pow_test_downward): Likewise.
37742         (pow_test_upward): Likewise.
37743         (remainder_test): Likewise.
37744         (remquo_test): Likewise.
37745         (sin_test): Likewise.
37746         (sin_test_tonearest): Likewise.
37747         (sin_test_towardzero): Likewise.
37748         (sin_test_downward): Likewise.
37749         (sin_test_upward): Likewise.
37750         (sincos_test): Likewise.
37751         (sinh_test): Likewise.
37752         (sinh_test_tonearest): Likewise.
37753         (sinh_test_towardzero): Likewise.
37754         (sinh_test_downward): Likewise.
37755         (sinh_test_upward): Likewise.
37756         (sqrt_test): Likewise.
37757         (tan_test): Likewise.
37758         (tan_test_tonearest): Likewise.
37759         (tan_test_towardzero): Likewise.
37760         (tan_test_downward): Likewise.
37761         (tan_test_upward): Likewise.
37762         (tanh_test): Likewise.
37763         (tgamma_test): Likewise.
37764         (y0_test): Likewise.
37765         (y1_test): Likewise.
37766         (yn_test): Likewise.
37768         * math/gen-libm-test.pl (adjust_arg): Remove function.
37769         (special_function): Remove argument $in_func.  Only handle
37770         generating output for tables of tests, not inside functions.
37771         (parse_args): Likewise.
37772         (generate_testfile): Remove variable $in_func.  Update call to
37773         parse_args.
37774         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
37775         (MINUS_ZERO_INIT): Rename macro to minus_zero.
37776         (PLUS_INFTY_INIT): Rename macro to plus_infty.
37777         (MINUS_INFTY_INIT): Rename macro to minus_infty.
37778         (QNAN_VALUE_INIT): Rename macro to qnan_value.
37779         (MAX_VALUE_INIT): Rename macro to max_value.
37780         (MIN_VALUE_INIT): Rename macro to min_value.
37781         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
37782         (plus_zero): Remove variable.
37783         (minus_zero): Likewise.
37784         (plus_infty): Likewise.
37785         (minus_infty): Likewise.
37786         (qnan_value): Likewise.
37787         (max_value): Likewise.
37788         (min_value): Likewise.
37789         (min_subnorm_value): Likewise.
37791 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37793         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
37794         uint64_t or uint32_t usage.
37795         * crypt/sha256-block.c: Likewise.
37796         * crypt/sha256-crypt.c: Likewise.
37797         * crypt/sha256.c: Likewise.
37798         * crypt/sha512-block.c: Likewise.
37799         * crypt/sha512-crypt.c: Likewise.
37800         * crypt/sha512.c: Likewise.
37801         * debug/backtrace-tst.c: Likewise.
37802         * debug/pcprofiledump.c: Likewise.
37803         * elf/cache.c: Likewise.
37804         * elf/dl-cache.c: Likewise.
37805         * elf/dl-misc.c: Likewise.
37806         * elf/dl-profile.c: Likewise.
37807         * elf/dl-support.c: Likewise.
37808         * elf/ldconfig.c: Likewise.
37809         * elf/sprof.c: Likewise.
37810         * iconv/dummy-repertoire.c: Likewise.
37811         * iconv/iconv_charmap.c: Likewise.
37812         * iconv/skeleton.c: Likewise.
37813         * iconvdata/8bit-generic.c: Likewise.
37814         * iconvdata/cp737.h: Likewise.
37815         * iconvdata/cp775.h: Likewise.
37816         * iconvdata/ibm1008.h: Likewise.
37817         * iconvdata/ibm1025.h: Likewise.
37818         * iconvdata/ibm1046.h: Likewise.
37819         * iconvdata/ibm1097.h: Likewise.
37820         * iconvdata/ibm1112.h: Likewise.
37821         * iconvdata/ibm1122.h: Likewise.
37822         * iconvdata/ibm1123.h: Likewise.
37823         * iconvdata/ibm1124.h: Likewise.
37824         * iconvdata/ibm1129.h: Likewise.
37825         * iconvdata/ibm1130.h: Likewise.
37826         * iconvdata/ibm1132.h: Likewise.
37827         * iconvdata/ibm1133.h: Likewise.
37828         * iconvdata/ibm1137.h: Likewise.
37829         * iconvdata/ibm1140.h: Likewise.
37830         * iconvdata/ibm1141.h: Likewise.
37831         * iconvdata/ibm1142.h: Likewise.
37832         * iconvdata/ibm1143.h: Likewise.
37833         * iconvdata/ibm1144.h: Likewise.
37834         * iconvdata/ibm1145.h: Likewise.
37835         * iconvdata/ibm1146.h: Likewise.
37836         * iconvdata/ibm1147.h: Likewise.
37837         * iconvdata/ibm1148.h: Likewise.
37838         * iconvdata/ibm1149.h: Likewise.
37839         * iconvdata/ibm1153.h: Likewise.
37840         * iconvdata/ibm1154.h: Likewise.
37841         * iconvdata/ibm1155.h: Likewise.
37842         * iconvdata/ibm1156.h: Likewise.
37843         * iconvdata/ibm1157.h: Likewise.
37844         * iconvdata/ibm1158.h: Likewise.
37845         * iconvdata/ibm1160.h: Likewise.
37846         * iconvdata/ibm1161.h: Likewise.
37847         * iconvdata/ibm1162.h: Likewise.
37848         * iconvdata/ibm1163.h: Likewise.
37849         * iconvdata/ibm1164.h: Likewise.
37850         * iconvdata/ibm1166.h: Likewise.
37851         * iconvdata/ibm1167.h: Likewise.
37852         * iconvdata/ibm12712.h: Likewise.
37853         * iconvdata/ibm1390.h: Likewise.
37854         * iconvdata/ibm1399.h: Likewise.
37855         * iconvdata/ibm16804.h: Likewise.
37856         * iconvdata/ibm4517.h: Likewise.
37857         * iconvdata/ibm4899.h: Likewise.
37858         * iconvdata/ibm4909.h: Likewise.
37859         * iconvdata/ibm4971.h: Likewise.
37860         * iconvdata/ibm5347.h: Likewise.
37861         * iconvdata/ibm803.h: Likewise.
37862         * iconvdata/ibm856.h: Likewise.
37863         * iconvdata/ibm901.h: Likewise.
37864         * iconvdata/ibm902.h: Likewise.
37865         * iconvdata/ibm9030.h: Likewise.
37866         * iconvdata/ibm9066.h: Likewise.
37867         * iconvdata/ibm921.h: Likewise.
37868         * iconvdata/ibm922.h: Likewise.
37869         * iconvdata/ibm9448.h: Likewise.
37870         * iconvdata/isiri-3342.h: Likewise.
37871         * iconvdata/jis0201.h: Likewise.
37872         * include/link.h: Likewise.
37873         * include/netdb.h: Likewise.
37874         * inet/check_native.c: Likewise.
37875         * inet/check_pf.c: Likewise.
37876         * inet/getipv4sourcefilter.c: Likewise.
37877         * inet/getnameinfo.c: Likewise.
37878         * inet/getsourcefilter.c: Likewise.
37879         * inet/htonl.c: Likewise.
37880         * inet/setipv4sourcefilter.c: Likewise.
37881         * inet/setsourcefilter.c: Likewise.
37882         * inet/test-inet6_opt.c: Likewise.
37883         * inet/tst-network.c: Likewise.
37884         * locale/C-collate.c: Likewise.
37885         * locale/C-ctype.c: Likewise.
37886         * locale/C-time.c: Likewise.
37887         * locale/C-translit.h: Likewise.
37888         * locale/loadarchive.c: Likewise.
37889         * locale/programs/3level.h: Likewise.
37890         * locale/programs/charmap.c: Likewise.
37891         * locale/programs/charmap.h: Likewise.
37892         * locale/programs/ld-address.c: Likewise.
37893         * locale/programs/ld-collate.c: Likewise.
37894         * locale/programs/ld-ctype.c: Likewise.
37895         * locale/programs/ld-identification.c: Likewise.
37896         * locale/programs/ld-measurement.c: Likewise.
37897         * locale/programs/ld-messages.c: Likewise.
37898         * locale/programs/ld-monetary.c: Likewise.
37899         * locale/programs/ld-name.c: Likewise.
37900         * locale/programs/ld-numeric.c: Likewise.
37901         * locale/programs/ld-paper.c: Likewise.
37902         * locale/programs/ld-telephone.c: Likewise.
37903         * locale/programs/ld-time.c: Likewise.
37904         * locale/programs/linereader.c: Likewise.
37905         * locale/programs/locale.c: Likewise.
37906         * locale/programs/locarchive.c: Likewise.
37907         * locale/programs/locfile.h: Likewise.
37908         * locale/programs/repertoire.c: Likewise.
37909         * locale/programs/simple-hash.c: Likewise.
37910         * locale/programs/simple-hash.h: Likewise.
37911         * malloc/memusage.c: Likewise.
37912         * malloc/memusagestat.c: Likewise.
37913         * nis/nis_defaults.c: Likewise.
37914         * nis/nis_hash.c: Likewise.
37915         * nis/nis_print.c: Likewise.
37916         * nis/nis_xdr.c: Likewise.
37917         * nscd/connections.c: Likewise.
37918         * nscd/hstcache.c: Likewise.
37919         * nscd/nscd_gethst_r.c: Likewise.
37920         * nscd/nscd_getserv_r.c: Likewise.
37921         * nscd/nscd_helper.c: Likewise.
37922         * nscd/servicescache.c: Likewise.
37923         * nss/makedb.c: Likewise.
37924         * nss/nss_db/db-XXX.c: Likewise.
37925         * nss/nss_db/db-initgroups.c: Likewise.
37926         * nss/nss_db/db-netgrp.c: Likewise.
37927         * nss/nss_files/files-network.c: Likewise.
37928         * nss/nss_files/files-parse.c: Likewise.
37929         * posix/bug-regex5.c: Likewise.
37930         * posix/fnmatch_loop.c: Likewise.
37931         * posix/regcomp.c: Likewise.
37932         * posix/regexec.c: Likewise.
37933         * posix/tst-rfc3484-2.c: Likewise.
37934         * posix/tst-rfc3484-3.c: Likewise.
37935         * posix/tst-rfc3484.c: Likewise.
37936         * resolv/nss_dns/dns-canon.c: Likewise.
37937         * resolv/nss_dns/dns-network.c: Likewise.
37938         * resolv/res_init.c: Likewise.
37939         * resolv/res_mkquery.c: Likewise.
37940         * resolv/tst-aton.c: Likewise.
37941         * stdlib/cxa_atexit.c: Likewise.
37942         * stdlib/cxa_finalize.c: Likewise.
37943         * stdlib/gen-fpioconst.c: Likewise.
37944         * stdlib/strtol_l.c: Likewise.
37945         * string/tst-endian.c: Likewise.
37946         * sunrpc/auth_des.c: Likewise.
37947         * sunrpc/clnt_udp.c: Likewise.
37948         * sunrpc/rtime.c: Likewise.
37949         * sunrpc/svcauth_des.c: Likewise.
37950         * sunrpc/xdr.c: Likewise.
37951         * sunrpc/xdr_intXX_t.c: Likewise.
37952         * sunrpc/xdr_rec.c: Likewise.
37953         * sysdeps/generic/ldconfig.h: Likewise.
37954         * sysdeps/generic/ldsodefs.h: Likewise.
37955         * sysdeps/generic/memusage.h: Likewise.
37956         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37957         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37958         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37959         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37960         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37961         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37962         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37963         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37964         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37965         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37966         * sysdeps/posix/getaddrinfo.c: Likewise.
37967         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37968         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37969         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37970         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37971         * sysdeps/powerpc/test-gettimebase.c: Likewise.
37972         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37973         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37974         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37975         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37976         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37977         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37978         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37979         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37980         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37981         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37982         * sysdeps/x86_64/dl-tls.h: Likewise.
37983         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37984         * time/alt_digit.c: Likewise.
37985         * time/era.c: Likewise.
37986         * wcsmbs/tst-c16c32-1.c: Likewise.
37988 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37990         * math/libm-test.inc (struct test_sincos_data): New type.
37991         (RUN_TEST_LOOP_sincos): New macro.
37992         (sincos_test_data): New variable.
37993         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37995 2013-05-16  Richard Henderson  <rth@redhat.com>
37997         * math/atest-exp2.c (LIMB64): New macro.
37998         (CONSTSZ): New macro.
37999         (mp_exp1, mp_exp_m1, mp_log2): New variables.
38000         (hexdig): Move ...
38001         (print_mpn_fp): ... to function scope.
38002         (read_mpn_hex): Remove.
38003         (get_log2): Remove.
38004         (exp2_mpn): Use mp_log2.
38005         (main): Use mp_exp1.
38007 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
38009         * math/libm-test.inc: Remove comment about not testing "inexact"
38010         exceptions.
38011         (INEXACT_EXCEPTION): New macro.
38012         (NO_INEXACT_EXCEPTION): Likewise.
38013         (INVALID_EXCEPTION_OK): Update value.
38014         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38015         (OVERFLOW_EXCEPTION_OK): Likewise.
38016         (UNDERFLOW_EXCEPTION_OK): Likewise.
38017         (IGNORE_ZERO_INF_SIGN): Likewise.
38018         (ERRNO_UNCHANGED): Likewise.
38019         (ERRNO_EDOM): Likewise.
38020         (ERRNO_ERANGE): Likewise.
38021         (test_exceptions): Handle testing "inexact" exceptions.
38022         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
38023         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
38024         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
38025         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
38026         INEXACT_EXCEPTION.
38027         (rint_towardzero_test_data): Likewise.
38028         (rint_downward_test_data): Likewise.
38029         (rint_upward_test_data): Likewise.
38031         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
38032         with OVERFLOW_EXCEPTION.
38033         (exp10_test_data): Likewise.
38034         (exp2_test_data): Likewise.
38035         (expm1_test_data): Likewise.
38036         (lgamma_test_data): Likewise.
38037         (pow_test_data): Likewise.
38038         (tgamma_test_data): Likewise.
38039         (yn_test_data): Remove duplicate test of overflow.
38041         * math/libm-test.inc (struct test_cc_c_data): New type.
38042         (RUN_TEST_LOOP_cc_c): New macro.
38043         (cpow_test_data): New variable.
38044         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
38046         * math/libm-test.inc (struct test_f_L_data): New type.
38047         (RUN_TEST_LOOP_f_L): New macro.
38048         (llrint_test_data): New variable.
38049         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
38050         (llrint_tonearest_test_data): New variable.
38051         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
38052         (llrint_towardzero_test_data): New variable.
38053         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
38054         (llrint_downward_test_data): New variable.
38055         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
38056         (llrint_upward_test_data): New variable.
38057         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
38058         (llround_test_data): New variable.
38059         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
38061 2013-05-13  Peter Collingbourne  <pcc@google.com>
38063         * math/atest-exp2.c (get_log2): Remove const attribute.
38065 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
38067         * math/libm-test.inc (struct test_f_l_data): New type.
38068         (RUN_TEST_LOOP_f_l): New macro.
38069         (lrint_test_data): New variable.
38070         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
38071         (lrint_tonearest_test_data): New variable.
38072         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
38073         (lrint_towardzero_test_data): New variable.
38074         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
38075         (lrint_downward_test_data): New variable.
38076         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
38077         (lrint_upward_test_data): New variable.
38078         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
38079         (lround_test_data): New variable.
38080         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
38082 2013-05-15  Peter Collingbourne  <pcc@google.com>
38084         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
38085         (EXTRACT_WORDS64) Use where appropriate.
38086         (INSERT_WORDS64) Likewise.
38088         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
38089         constraints with x constraints.
38090         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
38092         * malloc/obstack.c (_obstack_compat): Add initializer.
38094 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
38096         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
38097         si_trapno and add si_addr_lsb to _sifields.sigfault.
38098         (si_trapno): Remove macro.
38099         (si_addr_lsb): Define new macro.
38100         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
38102 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
38104         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
38105         instead of TEST_f_l.
38106         (llrint_test_tonearest): Likewise.
38107         (llrint_test_towardzero): Likewise.
38108         (llrint_test_downward): Likewise.
38109         (llrint_test_upward): Likewise.
38110         (llround_test): Likewise.
38112         * math/libm-test.inc (struct test_f_i_data): Add comment.
38113         (RUN_TEST_LOOP_f_b): New macro.
38114         (RUN_TEST_LOOP_f_b_tg): Likewise.
38115         (finite_test_data): New variable.
38116         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
38117         (isfinite_test_data): New variable.
38118         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
38119         (isinf_test_data): New variable.
38120         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
38121         (isnan_test_data): New variable.
38122         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
38123         (isnormal_test_data): New variable.
38124         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
38125         (issignaling_test_data): New variable.
38126         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
38127         (signbit_test_data): New variable.
38128         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
38130         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
38131         with INVALID_EXCEPTION.
38132         (acosh_test_data): Likewise.
38133         (asin_test_data): Likewise.
38134         (atanh_test_data): Likewise.
38135         (fmod_test_data): Likewise.
38136         (log_test_data): Likewise.
38137         (log10_test_data): Likewise.
38138         (log2_test_data): Likewise.
38139         (pow_test_data): Likewise.
38140         (sqrt_test_data): Likewise.
38141         (y0_test_data): Likewise.
38142         (y1_test_data): Likewise.
38143         (yn_test_data): Likewise.
38145         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
38146         function contents.
38148         * math/libm-test.inc (struct test_ff_i_data): New type.
38149         (RUN_TEST_LOOP_ff_i_tg): New macro.
38150         (isgreater_test_data): New variable.
38151         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
38152         (isgreaterequal_test_data): New variable.
38153         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
38154         (isless_test_data): New variable.
38155         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
38156         (islessequal_test_data): New variable.
38157         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
38158         (islessgreater_test_data): New variable.
38159         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
38160         (isunordered_test_data): New variable.
38161         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
38163 2013-05-14  David S. Miller  <davem@davemloft.net>
38165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38167 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
38169         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
38171         * math/libm-test.inc (struct test_fF_f1_data): Change type of
38172         extra_test to int.
38173         (struct test_f_i_data): Change type of max_ulp to int.
38175         * math/libm-test.inc (test_ffI_f1_data): New type.
38176         (RUN_TEST_LOOP_ffI_f1): New macro.
38177         (remquo_test_data): New variable.
38178         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
38180         * setjmp/tst-setjmp-fp.c: New file.
38181         * setjmp/Makefile (tests): Add tst-setjmp-fp.
38182         (link-libm): New variable.
38183         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
38185         * math/libm-test.inc (struct test_f_i_data): New type.
38186         (RUN_TEST_LOOP_f_i): New macro.
38187         (RUN_TEST_LOOP_f_i_tg): Likewise.
38188         (fpclassify_test_data): New variable.
38189         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
38190         (ilogb_test_data): New variable.
38191         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
38193         * math/libm-test.inc (scalbln_test): Correct function name in END
38194         call.
38196         * math/libm-test.inc (struct test_f_f1_data): Add comment.
38197         (RUN_TEST_LOOP_fI_f1): New macro.
38198         (frexp_test_data): New variable.
38199         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
38201         * math/libm-test.inc (struct test_fF_f1_data): New type.
38202         (RUN_TEST_LOOP_fF_f1): New macro.
38203         (modf_test_data): New variable.
38204         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
38206         * math/libm-test.inc (struct test_f_f1_data): New type.
38207         (RUN_TEST_LOOP_f_f1): New macro.
38208         (gamma_test_data): New variable.
38209         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
38210         (lgamma_test_data): New variable.
38211         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
38213 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
38215         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
38216         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
38217         (main): Comment "tls" pseudo-hwcap.
38219 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
38221         * math/libm-test.inc (struct test_fl_f_data): New type.
38222         (RUN_TEST_LOOP_fl_f): New variable.
38223         (scalbln_test_data): New variable.
38224         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
38226         * math/libm-test.inc (struct test_fi_f_data): New type.
38227         (RUN_TEST_LOOP_fi_f): New macro.
38228         (ldexp_test_data): New variable.
38229         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
38230         (scalbn_test_data): New variable.
38231         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
38233         * math/libm-test.inc (struct test_c_f_data): New type.
38234         (RUN_TEST_LOOP_c_f): New macro.
38235         (cabs_test_data): New variable.
38236         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
38237         (carg_test_data): New variable.
38238         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
38239         (cimag_test_data): New variable.
38240         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
38241         (creal_test_data): New variable.
38242         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
38244         * math/libm-test.inc (struct test_if_f_data): New type.
38245         (RUN_TEST_LOOP_if_f): New macro.
38246         (jn_test_data): New variable.
38247         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
38248         (yn_test_data): New variable.
38249         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
38251         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
38253 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38255         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
38256         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
38258 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38260         * benchtests/Makefile (CPPFLAGS-nonlib): Add
38261         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
38262         (bench-deps): Add bench-timing.h.
38263         * benchtests-bench-skeleton.c: Include bench-timing.h.
38264         (main): Use TIMING_* macros instead of clock_gettime.
38265         * benchtests/bench-timing.h: New file.
38267         [BZ #14582]
38268         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
38269         Renamed from _LIB_VERSION.
38270         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
38272 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
38274         * math/libm-test.inc (struct test_fff_f_data): New type.
38275         (RUN_TEST_LOOP_fff_f): New macro.
38276         (fma_test_data): New variable.
38277         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
38278         (fma_towardzero_test_data): New variable.
38279         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
38280         (fma_downward_test_data): New variable.
38281         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
38282         (fma_upward_test_data): New variable.
38283         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
38285         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
38286         (struct test_c_c_data): New type.
38287         (RUN_TEST_LOOP_c_c): New macro.
38288         (cacos_test_data): New variable.
38289         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
38290         (cacosh_test_data): New variable.
38291         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
38292         (casin_test_data): New variable.
38293         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
38294         (casinh_test_data): New variable.
38295         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
38296         (catan_test_data): New variable.
38297         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
38298         (catanh_test_data): New variable.
38299         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
38300         (ccos_test_data): New variable.
38301         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
38302         (ccosh_test_data): New variable.
38303         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
38304         (cexp_test_data): New variable.
38305         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
38306         (clog_test_data): New variable.
38307         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
38308         (clog10_test_data): New variable.
38309         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
38310         (conj_test_data): New variable.
38311         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
38312         (cproj_test_data): New variable.
38313         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
38314         (csin_test_data): New variable.
38315         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
38316         (csinh_test_data): New variable.
38317         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
38318         (csqrt_test_data): New variable.
38319         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
38320         (ctan_test_data): New variable.
38321         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
38322         (ctan_tonearest_test_data): New variable.
38323         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
38324         (ctan_towardzero_test_data): New variable.
38325         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
38326         (ctan_downward_test_data): New variable.
38327         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
38328         (ctan_upward_test_data): New variable.
38329         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
38330         (ctanh_test_data): New variable.
38331         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
38332         (ctanh_tonearest_test_data): New variable.
38333         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
38334         (ctanh_towardzero_test_data): New variable.
38335         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
38336         (ctanh_downward_test_data): New variable.
38337         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
38338         (ctanh_upward_test_data): New variable.
38339         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
38340         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
38341         of BUILD_COMPLEX.
38343         * math/libm-test.inc (struct test_ff_f_data): New type.
38344         (struct test_ff_f_data_nexttoward): Likewise.
38345         (RUN_TEST_LOOP_2_f): New macro.
38346         (RUN_TEST_LOOP_ff_f): Likewise.
38347         (atan2_test_data): New variable.
38348         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
38349         (copysign_test_data): New variable.
38350         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
38351         (fdim_test_data): New variable.
38352         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
38353         (fmax_test_data): New variable.
38354         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
38355         (fmin_test_data): New variable.
38356         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
38357         (fmod_test_data): New variable.
38358         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
38359         (hypot_test_data): New variable.
38360         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
38361         (nextafter_test_data): New variable.
38362         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
38363         (nexttoward_test_data): New variable.
38364         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
38365         (pow_test_data): New variable.
38366         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
38367         (pow_tonearest_test_data): New variable.
38368         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
38369         (pow_towardzero_test_data): New variable.
38370         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
38371         (pow_downward_test_data): New variable.
38372         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
38373         (pow_upward_test_data): New variable.
38374         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
38375         (remainder_test_data): New variable.
38376         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
38377         (scalb_test_data): New variable.
38378         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
38379         * sysdeps/i386/fpu/libm-test-ulps: Update.
38381 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
38383         * math/libm-test.inc (fma_test): Use max_value instead of local
38384         variable fltmax.
38385         (nextafter_test): Likewise.
38387         * math/libm-test.inc (acos_towardzero_test_data): New variable.
38388         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38389         (acos_downward_test_data): New variable.
38390         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38391         (acos_upward_test_data): New variable.
38392         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38393         (acosh_test_data): New variable.
38394         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
38395         (asin_test_data): New variable.
38396         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
38397         (asin_tonearest_test_data): New variable.
38398         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38399         (asin_towardzero_test_data): New variable.
38400         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38401         (asin_downward_test_data): New variable.
38402         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38403         (asin_upward_test_data): New variable.
38404         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38405         (asinh_test_data): New variable.
38406         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
38407         (atan_test_data): New variable.
38408         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
38409         (atanh_test_data): New variable.
38410         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
38411         (cbrt_test_data): New variable.
38412         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
38413         (ceil_test_data): New variable.
38414         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
38415         (cos_test_data): New variable.
38416         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
38417         (cos_tonearest_test_data): New variable.
38418         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38419         (cos_towardzero_test_data): New variable.
38420         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38421         (cos_downward_test_data): New variable.
38422         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38423         (cos_upward_test_data): New variable.
38424         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38425         (cosh_test_data): New variable.
38426         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
38427         (cosh_tonearest_test_data): New variable.
38428         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38429         (cosh_towardzero_test_data): New variable.
38430         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38431         (cosh_downward_test_data): New variable.
38432         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38433         (cosh_upward_test_data): New variable.
38434         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38435         (erf_test_data): New variable.
38436         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
38437         (erfc_test_data): New variable.
38438         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
38439         (exp_test_data): New variable.
38440         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
38441         (exp_tonearest_test_data): New variable.
38442         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38443         (exp_towardzero_test_data): New variable.
38444         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38445         (exp_downward_test_data): New variable.
38446         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38447         (exp_upward_test_data): New variable.
38448         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38449         (exp10_test_data): New variable.
38450         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
38451         (exp2_test_data): New variable.
38452         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
38453         (expm1_test_data): New variable.
38454         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
38455         (fabs_test_data): New variable.
38456         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
38457         (floor_test_data): New variable.
38458         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
38459         (j0_test_data): New variable.
38460         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
38461         (j1_test_data): New variable.
38462         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
38463         (log_test_data): New variable.
38464         (log_test): Run tests with RUN_TEST_LOOP_f_f.
38465         (log10_test_data): New variable.
38466         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
38467         (log1p_test_data): New variable.
38468         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
38469         (log2_test_data): New variable.
38470         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
38471         (logb_test_data): New variable.
38472         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
38473         (logb_downward_test_data): New variable.
38474         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38475         (nearbyint_test_data): New variable.
38476         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
38477         (rint_test_data): New variable.
38478         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
38479         (rint_tonearest_test_data): New variable.
38480         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38481         (rint_towardzero_test_data): New variable.
38482         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38483         (rint_downward_test_data): New variable.
38484         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38485         (rint_upward_test_data): New variable.
38486         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38487         (round_test_data): New variable.
38488         (round_test): Run tests with RUN_TEST_LOOP_f_f.
38489         (sin_test_data): New variable.
38490         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
38491         (sin_tonearest_test_data): New variable.
38492         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38493         (sin_towardzero_test_data): New variable.
38494         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38495         (sin_downward_test_data): New variable.
38496         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38497         (sin_upward_test_data): New variable.
38498         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38499         (sinh_test_data): New variable.
38500         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
38501         (sinh_tonearest_test_data): New variable.
38502         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38503         (sinh_towardzero_test_data): New variable.
38504         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38505         (sinh_downward_test_data): New variable.
38506         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38507         (sinh_upward_test_data): New variable.
38508         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38509         (sqrt_test_data): New variable.
38510         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
38511         (tan_test_data): New variable.
38512         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
38513         (tan_tonearest_test_data): New variable.
38514         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38515         (tan_towardzero_test_data): New variable.
38516         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38517         (tan_downward_test_data): New variable.
38518         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38519         (tan_upward_test_data): New variable.
38520         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38521         (tanh_test_data): New variable.
38522         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
38523         (tgamma_test_data): New variable.
38524         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
38525         (trunc_test_data): New variable.
38526         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
38527         (y0_test_data): New variable.
38528         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
38529         (y1_test_data): New variable.
38530         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
38531         (significand_test_data): New variable.
38532         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
38534 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
38536         [BZ #12387]
38537         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
38539 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38541         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
38543 2013-05-10  Andreas Jaeger  <aj@suse.de>
38545         [BZ #15448]
38546         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
38547         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
38549 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
38551         * math/gen-libm-test.pl (adjust_arg): New function.
38552         (special_functions): Handle generating output in both functions
38553         and arrays.
38554         (parse_args): Likewise.
38555         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
38556         $in_func argument to parse_args.
38557         * math/libm-test.inc (struct test_f_f_data): New type.
38558         (IF_ROUND_INIT_): New macro.
38559         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
38560         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
38561         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
38562         (IF_ROUND_INIT_FE_UPWARD): Likewise.
38563         (ROUND_RESTORE_): Likewise.
38564         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
38565         (ROUND_RESTORE_FE_TONEAREST): Likewise.
38566         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
38567         (ROUND_RESTORE_FE_UPWARD): Likewise.
38568         (RUN_TEST_LOOP_f_f): New macro.
38569         (acos_test_data): New variable.
38570         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
38571         (acos_tonearest_test_data): New variable.
38572         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38574 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38576         * benchtests/bench-skeleton.c (startup): Fix coding style.
38578 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
38580         [BZ #6809]
38581         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
38582         negative infinity argument.
38583         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
38584         negative infinity argument.
38585         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
38586         negative infinity argument.
38587         * math/libm-test.inc (tgamma_test): Expect errno to be set for
38588         domain errors.
38590 2013-05-10  Florian Weimer  <fweimer@redhat.com>
38592         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
38593         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
38594         * iconv/iconv_prog.c (main): Likewise.
38595         * locale/programs/charmap-dir.c (charmap_readdir)
38596         (fopen_uncompressed): Likewise.
38597         * locale/programs/locfile.c (siblings_uncached)
38598         (write_locale_data): Use lstat64 instead of lstat.
38599         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
38600         stat.
38602 2013-05-10  Andreas Jaeger  <aj@suse.de>
38604         [BZ #15395]
38605         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
38606         localization.
38607         Include <locale.h>.
38609 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
38611         * elf/dl-close.c (_dl_close_worker): Add comments.
38613 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
38615         [BZ #15359]
38616         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
38617         high part of pi/2.
38618         (__ieee754_rem_pio2l): Update comments.
38620         [BZ #15429]
38621         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
38622         high part of pi/2.
38623         (__ieee754_rem_pio2l): Update comments.
38625         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
38626         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
38628         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
38629         M_PI_4l.
38631         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
38632         (M_PI_34_LOG10El): Likewise.
38633         (M_PI2_LOG10El): Likewise.
38634         (M_PI4_LOG10El): Likewise.
38635         (M_PI_LOG10El): Likewise.
38637 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38641 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
38643         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
38644         (MINUS_ZERO_INIT): Likewise.
38645         (PLUS_INFTY_INIT): Likewise.
38646         (MINUS_INFTY_INIT): Likewise.
38647         (QNAN_VALUE_INIT): Likewise.
38648         (MAX_VALUE_INIT): Likewise.
38649         (MIN_VALUE_INIT): Likewise.
38650         (MIN_SUBNORM_VALUE_INIT): Likewise.
38651         (plus_zero): Initialize with PLUS_ZERO_INIT.
38652         (minus_zero): Initialize with MINUS_ZERO_INIT.
38653         (plus_infty): Initialize with PLUS_INFTY_INIT.
38654         (minus_infty): Initialize with MINUS_INFTY_INIT.
38655         (qnan_value): Initialize with QNAN_VALUE_INIT.
38656         (max_value): Initialize with MAX_VALUE_INIT.
38657         (min_value): Initialize with MIN_VALUE_INIT.
38658         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
38660         * math/libm-test.inc (RUN_TEST_if_f): New macro.
38661         (jn_test): Use TEST_if_f instead of TEST_ff_f.
38662         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
38663         (yn_test): Use TEST_if_f instead of TEST_ff_f.
38665         * math/libm-test.inc (RUN_TEST_f_f): New macro.
38666         (RUN_TEST_2_f): Likewise.
38667         (RUN_TEST_ff_f): Likewise.
38668         (RUN_TEST_fi_f): Likewise.
38669         (RUN_TEST_fl_f): Likewise.
38670         (RUN_TEST_fff_f): Likewise.
38671         (RUN_TEST_c_f): Likewise.
38672         (RUN_TEST_f_f1): Likewise.
38673         (RUN_TEST_fF_f1): Likewise.
38674         (RUN_TEST_fI_f1): Likewise.
38675         (RUN_TEST_ffI_f1): Likewise.
38676         (RUN_TEST_c_c): Likewise.
38677         (RUN_TEST_cc_c): Likewise.
38678         (RUN_TEST_f_i): Likewise.
38679         (RUN_TEST_f_i_tg): Likewise.
38680         (RUN_TEST_ff_i_tg): Likewise.
38681         (RUN_TEST_f_b): Likewise.
38682         (RUN_TEST_f_b_tg): Likewise.
38683         (RUN_TEST_f_l): Likewise.
38684         (RUN_TEST_f_L): Likewise.
38685         (RUN_TEST_sincos): Likewise.
38686         * math/gen-libm-test.pl (new_test): Take new argument to indicate
38687         whether to show exceptions.  Do not include ");\n" in return
38688         value.
38689         (special_functions): Output call to RUN_TEST_sincos instead of
38690         check_float calls.  Update calls to new_test.
38691         (parse_args): Output call to single RUN_TEST_* macro instead of
38692         check_* calls and other assignments.  Update calls to new_test.
38694         [BZ #2546]
38695         [BZ #2560]
38696         [BZ #5159]
38697         [BZ #15426]
38698         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
38699         input to result for tgamma overflow.
38700         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
38701         (gamma_coeff): New variable.
38702         (NCOEFF): New macro.
38703         (gamma_positive): New function.
38704         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
38705         underflow here.  Use gamma_positive instead of exp (lgamma) for
38706         other arguments.
38707         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
38708         (gamma_coeff): New variable.
38709         (NCOEFF): New macro.
38710         (gammaf_positive): New function.
38711         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
38712         underflow here.  Use gamma_positive instead of exp (lgamma) for
38713         other arguments.
38714         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
38715         (gamma_coeff): New variable.
38716         (NCOEFF): New macro.
38717         (gammal_positive): New function.
38718         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
38719         underflow here.  Use gamma_positive instead of exp (lgamma) for
38720         other arguments.
38721         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
38722         (gamma_coeff): New variable.
38723         (NCOEFF): New macro.
38724         (gammal_positive): New function.
38725         (__ieee754_gammal_r): Handle positive infinity, overflow and
38726         underflow here.  Handle NaN the same as positive infinity.  Remove
38727         check x < 0xffffffff for negative integers.  Use gamma_positive
38728         instead of exp (lgamma) for other arguments.
38729         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
38730         (gamma_coeff): New variable.
38731         (NCOEFF): New macro.
38732         (gammal_positive): New function.
38733         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
38734         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
38735         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
38736         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
38737         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
38738         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
38739         * sysdeps/generic/math_private.h (__gamma_productf): New
38740         prototype.
38741         (__gamma_product): Likewise.
38742         (__gamma_productl): Likewise.
38743         * math/Makefile (libm-calls): Add gamma_product.
38744         * math/libm-test.inc (tgamma_test): Add more tests.
38745         * sysdeps/i386/fpu/libm-test-ulps: Update.
38746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38748 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
38750         * benchtests/bench-skeleton.c (main): Preheat CPU.
38752 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
38754         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
38756 2013-05-07  Roland McGrath  <roland@hack.frob.com>
38758         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
38759         and _dl_skip_args_internal.
38761 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
38763         * manual/message.texi (Message Translation): Talk about users.
38764         Message to key mapping impacts design.
38766 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38768         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
38770         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
38772         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
38773         * sysdeps/wordsize-64/glob64.c: ... here.
38775         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
38776         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
38777         New macros.
38779         * debug/getlogin_r_chk.c: Moved to ...
38780         * login/getlogin_r_chk.c: ... here.
38781         * debug/Makefile (routines): Move getlogin_r_chk to ...
38782         * login/Makefile (routines): ... here.
38783         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
38784         * login/Versions (libc: GLIBC_2.4): ... here.
38786         * io/poll.c (__poll): Renamed from poll.
38787         Add libc_hidden_def.
38788         (poll): Define as weak alias.
38790         * debug/ptsname_r_chk.c: Moved to ...
38791         * login/ptsname_r_chk.c: ... here.
38792         * debug/Makefile (routines): Move ptsname_r_chk to ...
38793         * login/Makefile (routines): ... here.
38794         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
38795         * login/Versions (libc: GLIBC_2.4): ... here.
38797         * posix/getlogin.c: Moved to ...
38798         * login/getlogin.c: ... here.
38799         * posix/getlogin_r.c: Moved to ...
38800         * login/getlogin_r.c: ... here.
38801         * posix/getlogin_r.c: Moved to ...
38802         * login/getlogin_r.c: ... here.
38803         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
38804         * login/Makefile (routines): ... here.
38805         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
38806         * login/Versions (libc: GLIBC_2.0): ... here.
38808         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
38809         (setrlimit): Define as weak alias.
38811         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
38812         Call __ names for open, ftruncate, and close.
38813         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
38814         (truncate): Define as weak alias.
38816 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
38818         * math/gen-libm-test.pl (parse_args): Initialize x before each
38819         test of frexp, modf and remquo.
38821         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
38822         test signgam value.
38824 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38826         [BZ #15418]
38827         [BZ #15419]
38828         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
38829         internal tests.
38830         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38832 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38834         * elf/dl-writev.h: New file.
38835         * elf/dl-misc.c: Include it.
38836         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
38837         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
38839 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
38841         * math/libm-test.inc (noXFails): Remove variable.
38842         (noXPasses): Likewise.
38843         (BUILD_COMPLEX_INT): Remove macro.
38844         (print_screen): Remove xfail argument.
38845         (print_screen_max_error): Likewise.
38846         (update_stats): Likewise.
38847         (print_max_error): Likewise.  Update calls to other affected
38848         functions.
38849         (print_complex_max_error): Likewise.
38850         (test_single_exception): Update calls to print_screen.
38851         (test_single_errno): Likewise.
38852         (check_float_internal): Remove xfail argument.  Update calls to
38853         other affected functions.
38854         (check_float): Likewise.
38855         (check_complex): Likewise.
38856         (check_int): Likewise.
38857         (check_long): Likewise.
38858         (check_bool): Likewise.
38859         (check_longlong): Likewise.
38860         (main): Don't print noXFails and noXPasses.
38861         * math/gen-libm-test.pl (top level): Don't mention expected
38862         failure handling in comment.
38863         (new_test): Don't handle expected failures.
38864         (parse_args): Don't mention expected failure handling in comment.
38865         (generate_testfile): Don't handle expected failures.
38866         (parse_ulps): Likewise.
38867         (print_ulps_file): Likewise.
38868         (get_failure): Remove function.
38869         (output_test): Don't handle expected failures.
38870         * make/README.libm-test: Don't mention expected failure handling.
38872         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
38873         (minus_zero): Likewise.
38874         (plus_infty): Likewise.
38875         (minus_infty): Likewise.
38876         (qnan_value): Likewise.
38877         (max_value): Likewise.
38878         (min_value): Likewise.
38879         (min_subnorm_value): Likewise.
38880         (initialize): Do not initialize those variables dynamically.
38882 2013-05-03  Roland McGrath  <roland@hack.frob.com>
38884         * io/open.c (__open_2): Moved to ...
38885         * io/open_2.c: ... this new file.
38886         * io/open64.c (__open64_2): Moved to ...
38887         * io/open64_2.c: ... this new file.
38888         * io/openat.c (__openat_2): Moved to ...
38889         * io/openat_2.c: ... this new file.
38890         * io/openat64.c (__openat64_2): Moved to ...
38891         * io/openat64_2.c: ... this new file.
38892         * io/Makefile (routines): Add them.
38893         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
38894         * sysdeps/unix/sysv/linux/open_2.c: File removed.
38895         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
38896         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
38897         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
38898         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
38899         (__openat64): Add hidden_ver.
38900         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
38901         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
38903         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
38904         Separately conditionalize setting of GLRO(dl_sysinfo) so
38905         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
38906         as well, but the actual setting is only under [NEED_DL_SYSINFO].
38908 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38910         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
38911         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
38912         definition.
38913         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
38914         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38915         (_libc_vdso_platform_setup): Add __vdso_time initialization.
38916         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
38917         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
38919 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
38921         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
38922         test signgam value.
38924         * math/libm-test.inc (hypot_test): Do not use
38925         IGNORE_ZERO_INF_SIGN.
38927 2013-05-03  Andreas Jaeger  <aj@suse.de>
38929         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
38930         Linux 3.9.
38931         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
38932         (PF_MAX): Adjust for VSOCK change.
38934 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38938 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
38940         [BZ #15264]
38941         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
38942         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
38943         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38945 2013-05-02  David S. Miller  <davem@davemloft.net>
38947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38949 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
38951         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38953 2013-05-01  Roland McGrath  <roland@hack.frob.com>
38955         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38957 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
38959         [BZ #14952]
38960         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38961         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38962         Use __attribute__ ((__gnu_inline__)).
38963         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38964         Don't use __attribute__ ((__gnu_inline__)).
38966 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
38968         [BZ #15423]
38969         * math/s_catan.c (__catan): Handle small real or imaginary part of
38970         input specially to avoid spurious underflow.
38971         * math/s_catanf.c (__catanf): Likewise.
38972         * math/s_catanh.c (__catanh): Likewise.
38973         * math/s_catanhf.c (__catanhf): Likewise.
38974         * math/s_catanhl.c (__catanhl): Likewise.
38975         * math/s_catanl.c (__catanl): Likewise.
38976         * math/libm-test.inc (catan_test): Add more tests.
38977         (catanh_test): Likewise.
38978         * sysdeps/i386/fpu/libm-test-ulps: Update.
38979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38981 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38985 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
38987         [BZ #15416]
38988         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38989         accurately for denominator in atan2.
38990         * math/s_catanf.c (__catanf): Likewise.
38991         * math/s_catanh.c (__catanh): Likewise.
38992         * math/s_catanhf.c (__catanhf): Likewise.
38993         * math/s_catanhl.c (__catanhl): Likewise.
38994         * math/s_catanl.c (__catanl): Likewise.
38995         * math/libm-test.inc (catan_test): Add more tests.
38996         (catanh_test): Likewise.
38997         * sysdeps/i386/fpu/libm-test-ulps: Update.
38998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39000 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39002         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
39004         * benchtests/Makefile (bench): Remove slow benchmarks.
39005         * benchtests/atan-inputs: Add slow benchmark inputs.
39006         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
39007         (BENCH_FUNC): Accept variant offset.
39008         (VARIANT): Define.
39009         * benchtests/bench-skeleton.c (main): Run benchmark for each
39010         variant.
39011         * benchtests/cos-inputs: Add slow benchmark inputs.
39012         * benchtests/exp-inputs: Likewise.
39013         * benchtests/pow-inputs: Likewise.
39014         * benchtests/sin-inputs: Likewise.
39015         * benchtests/slowatan-inputs: Remove.
39016         * benchtests/slowatan.c: Remove.
39017         * benchtests/slowcos-inputs: Remove.
39018         * benchtests/slowcos.c: Remove.
39019         * benchtests/slowexp-inputs: Remove.
39020         * benchtests/slowexp.c: Remove.
39021         * benchtests/slowpow-inputs: Remove.
39022         * benchtests/slowpow.c: Remove.
39023         * benchtests/slowsin-inputs: Remove.
39024         * benchtests/slowsin.c: Remove.
39025         * benchtests/slowtan-inputs: Remove.
39026         * benchtests/slowtan.c: Remove.
39027         * benchtests/tan-inputs: Add slow benchmark inputs.
39028         * scripts/bench.pl: Parse comments and directives.
39030         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
39031         in CPPFLAGS.
39032         ($(objpfx)bench-%.c): Remove *-ITER.
39033         * benchtests/bench-modf.c: Remove definition of ITER.
39034         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
39035         (main): Loop for DURATION seconds instead of fixed number of
39036         iterations.
39037         * scripts/bench.pl: Don't expect iterations in parameters.
39039 2013-04-29  Roland McGrath  <roland@hack.frob.com>
39041         * io/fchdir.c (__fchdir): Renamed from fchdir.
39042         (fchdir): Define as weak alias.
39044 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
39046         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
39047         (ERRNO_EDOM): Likewise.
39048         (ERRNO_ERANGE): Likewise.
39049         (noErrnoTests): New variable.
39050         (init_max_error): Set errno to 0.
39051         (test_single_errno): New function.
39052         (test_errno): Likewise.
39053         (check_float_internal): Call test_errno.  Set errno to 0.
39054         (check_complex): Refer to errno tests in comment.
39055         (check_int): Call test_errno.  Set errno to 0.
39056         (check_long): Likewise.
39057         (check_bool): Likewise.
39058         (check_longlong): Likewise.
39059         (cos_test): Use ERRNO_* flags for errno tests instead of
39060         check_int.
39061         (expm1_test): Likewise.
39062         (fmod_test): Likewise.
39063         (ilogb_test): Likewise.
39064         (lgamma_test): Likewise.
39065         (pow_test): Likewise.
39066         (remainder_test): Likewise.
39067         (sin_test): Likewise.
39068         (tan_test): Likewise.
39069         (yn_test): Likewise.
39070         (initialize): Set errno to 0.
39071         (main): Print number of errno tests.
39072         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
39074 2013-04-29  Andreas Jaeger  <aj@suse.de>
39076         [BZ #15084]
39077         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
39078         and RES_USEVC.
39080         [BZ #15085]
39081         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
39082         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
39083         unimplemented.
39085         [BZ #15380]
39086         * stdlib/random.c (__initstate): Return NULL if
39087         __initstate fails.
39089         [BZ #15086]
39090         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
39091         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
39092         RES_SNGLKUPREOP.
39094 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39098 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
39100         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
39101         of individual tests.
39102         (casin_test): Likewise.
39103         (casinh_test): Likewise.
39105 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
39107         [BZ #15409]
39108         * math/s_catan.c (__catan): Handle arguments with large real or
39109         imaginary part separately without squaring.
39110         * math/s_catanf.c (__catanf): Likewise.
39111         * math/s_catanh.c (__catanh): Likewise.
39112         * math/s_catanhf.c (__catanhf): Likewise.
39113         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39114         and redefine.
39115         (__catanhl): Handle arguments with large real or imaginary part
39116         separately without squaring.
39117         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39118         and redefine.
39119         (__catanl): Handle arguments with large real or imaginary part
39120         separately without squaring.
39121         * math/libm-test.inc (catan_test): Add more tests.
39122         (catanh_test): Likewise.
39123         * sysdeps/i386/fpu/libm-test-ulps: Update.
39124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39126 2013-04-27  Andreas Jaeger  <aj@suse.de>
39128         [BZ #15007]
39129         * stdlib/stdlib.h: Update guards for qecvt.
39130         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
39131         <stdlib.h>.
39133 2013-04-27  Allan McRae  <allan@archlinux.org>
39135         * sysdeps/i386/fpu/libm-test-ulps: Update.
39137 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
39139         [BZ #15406]
39140         * math/s_catan.c: Include <float.h>.
39141         (__catan): Ensure underflow exception occurs for underflowed
39142         result.
39143         * math/s_catanf.c: Include <float.h>.
39144         (__catanf): Ensure underflow exception occurs for underflowed
39145         result.
39146         * math/s_catanh.c: Include <float.h>.
39147         (__catanh): Ensure underflow exception occurs for underflowed
39148         result.
39149         * math/s_catanhf.c: Include <float.h>.
39150         (__catanhf): Ensure underflow exception occurs for underflowed
39151         result.
39152         * math/s_catanhl.c: Include <float.h>.
39153         (__catanhl): Ensure underflow exception occurs for underflowed
39154         result.
39155         * math/s_catanl.c: Include <float.h>.
39156         (__catanl): Ensure underflow exception occurs for underflowed
39157         result.
39158         * math/libm-test.inc (catan_test): Add more tests.
39159         (catanh_test): Likewise.
39161         [BZ #15405]
39162         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
39163         underflowed result.
39164         * math/s_ccoshf.c (__ccoshf): Likewise.
39165         * math/s_ccoshl.c (__ccoshl): Likewise.
39166         * math/s_csin.c (__csin): Likewise.
39167         * math/s_csinf.c (__csinf): Likewise.
39168         * math/s_csinh.c (__csinh): Likewise.
39169         * math/s_csinhf.c (__csinhf): Likewise.
39170         * math/s_csinhl.c (__csinhl): Likewise.
39171         * math/s_csinl.c (__csinl): Likewise.
39172         * math/libm-test.inc (ccos_test): Add more tests.
39173         (ccosh_test): Likewise.
39174         (csin_test): Likewise.
39175         (csinh_test): Likewise.
39177 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39179         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
39180         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
39181         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
39182         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
39183         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
39184         powerpc/power5+/fpu folders.
39185         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
39188 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
39190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39192 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
39194         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
39195         additions to variable.
39196         [$(config-machine) = x86_64] (modules-names): Likewise.
39197         ($(objpfx)tst-audit3): Remove dependency.
39198         ($(objpfx)tst-audit3.out): Likewise.
39199         ($(objpfx)tst-audit4): Likewise.
39200         ($(objpfx)tst-audit4.out): Likewise.
39201         ($(objpfx)tst-audit5): Likewise.
39202         ($(objpfx)tst-audit5.out): Likewise.
39203         ($(objpfx)tst-audit6): Likewise.
39204         ($(objpfx)tst-audit6.out): Likewise.
39205         ($(objpfx)tst-audit7): Likewise.
39206         ($(objpfx)tst-audit7.out): Likewise.
39207         (tst-audit3-ENV): Remove variable.
39208         (tst-audit4-ENV): Likewise.
39209         (tst-audit5-ENV): Likewise.
39210         (tst-audit6-ENV): Likewise.
39211         (tst-audit7-ENV): Likewise.
39212         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
39213         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
39214         addition to variable.
39215         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
39216         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
39217         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
39218         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
39219         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
39220         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
39221         tst-audit3, tst-audit4 and tst-audit5.
39222         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
39223         tst-audit6 and tst-audit7.
39224         [$(subdir) = elf] (modules-names): Add audit modules for those
39225         tests.
39226         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
39227         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
39228         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
39229         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
39230         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
39231         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
39232         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
39233         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
39234         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
39235         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
39236         [$(subdir) = elf] (tst-audit3-ENV): New variable.
39237         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
39238         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
39239         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
39240         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
39241         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
39242         Likewise.
39243         [$(subdir) = elf && $(config-cflags-avx) = yes]
39244         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
39245         [$(subdir) = elf && $(config-cflags-avx) = yes]
39246         (CFLAGS-tst-auditmod4a.c): Likewise.
39247         [$(subdir) = elf && $(config-cflags-avx) = yes]
39248         (CFLAGS-tst-auditmod4b.c): Likewise.
39249         [$(subdir) = elf && $(config-cflags-avx) = yes]
39250         (CFLAGS-tst-auditmod6b.c): Likewise.
39251         [$(subdir) = elf && $(config-cflags-avx) = yes]
39252         (CFLAGS-tst-auditmod6c.c): Likewise.
39253         [$(subdir) = elf && $(config-cflags-avx) = yes]
39254         (CFLAGS-tst-auditmod7b.c): Likewise.
39255         * elf/tst-audit3.c: Move to ...
39256         * sysdeps/x86_64/tst-audit3.c: ... here.
39257         * elf/tst-audit4.c: Move to ...
39258         * sysdeps/x86_64/tst-audit4.c: ... here.
39259         * elf/tst-audit5.c: Move to ...
39260         * sysdeps/x86_64/tst-audit5.c: ... here.
39261         * elf/tst-audit6.c: Move to ...
39262         * sysdeps/x86_64/tst-audit6.c: ... here.
39263         * elf/tst-audit7.c: Move to ...
39264         * sysdeps/x86_64/tst-audit7.c: ... here.
39265         * elf/tst-auditmod3a.c: Move to ...
39266         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
39267         * elf/tst-auditmod3b.c: Move to ...
39268         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
39269         * elf/tst-auditmod4a.c: Move to ...
39270         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
39271         * elf/tst-auditmod4b.c: Move to ...
39272         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
39273         * elf/tst-auditmod5a.c: Move to ...
39274         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
39275         * elf/tst-auditmod5b.c: Move to ...
39276         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
39277         * elf/tst-auditmod6a.c: Move to ...
39278         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
39279         * elf/tst-auditmod6b.c: Move to ...
39280         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
39281         * elf/tst-auditmod6c.c: Move to ...
39282         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
39283         * elf/tst-auditmod7a.c: Move to ...
39284         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
39285         * elf/tst-auditmod7b.c: Move to ...
39286         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
39288 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
39290         [BZ #15366]
39291         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
39292         define unconditionally.
39293         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
39294         define unconditionally.
39295         (INT8_C, INT16_C, etc.): Likewise.
39297 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
39299         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
39300         __ehdr_start with hidden visibility.
39302         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
39304 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
39306         * math/libm-test.inc (cos_test): Use accurate hex constants.
39307         (sincost_test): Likewise.
39309 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
39311         * math/libm-test.inc (catan_test): Add more tests.
39312         (catanh_test): Likewise.
39314         * math/s_catanf.c (__catanf): Use suffixed floating-point
39315         constants.
39316         * math/s_catanhf.c (__catanhf): Likewise.
39317         * math/s_catanhl.c (__catanhl): Likewise.
39318         * math/s_catanl.c (__catanl): Likewise.
39320         [BZ #15394]
39321         * math/s_catan.c (__catan): Calculate imaginary part of result
39322         with log1p not log unless computing log of number close to 0.
39323         * math/s_catanf.c (__catanf): Likewise.
39324         * math/s_catanl.c (__catanl): Likewise.
39325         * math/s_catanh.c (__catanh): Calculate real part of result with
39326         log1p not log unless computing log of number close to 0.
39327         * math/s_catanhf.c (__catanhf): Likewise.
39328         * math/s_catanhl.c (__catanhl): Likewise.
39329         * math/libm-test.inc (catan_test): Add more tests.
39330         (catanh_test): Likewise.
39331         * sysdeps/i386/fpu/libm-test-ulps: Update.
39332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39334 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39336         * benchtests/Makefile: Mention files in which fast and slow
39337         paths of math functions are implemented.
39339 2013-04-23  Roland McGrath  <roland@hack.frob.com>
39341         * sysdeps/posix/timespec_get.c: New file.
39343 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39345         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
39346         POWER.
39347         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
39348         for POWER.
39349         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
39350         powerpc/power5/fpu folders.
39351         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
39352         * benchtests/Makefile: Add modf testcase.
39353         * benchtests/bench-modf.c: New file: Benchmark test for mo
39355 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39357         [BZ #14888]
39358         * time/Makefile (tests): Add tst-strptime-whitespace.
39359         * time/strptime_l.c (get_number): Use ISSPACE.
39360         (__strptime_internal): Likewise.
39361         * time/tst-strptime-whitespace.c: New test case.
39363 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
39365         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
39366         member.
39367         (_nss_files_init): Set it here.
39369 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
39371         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
39372         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
39373         unsigned.
39375 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
39377         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
39379 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39381         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
39382         size just once.
39384 2013-04-21  David S. Miller  <davem@davemloft.net>
39386         * po/ru.po: Update Russion translation from translation project.
39388 2013-04-17  Adam Conrad  <adconrad@0c3.net>
39390         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
39391         and setfsgid.
39393 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
39395         * configure.in: Remove i386 configure warning. Remove i386 case.
39396         * configure: Regenerate.
39397         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
39398         Add example to error message.
39399         * sysdeps/i386/configure: Regenerate.
39401 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39403         * benchtests/Makefile (bench): Add cos, tan, slowcos and
39404         slowtan.
39405         * benchtests/cos-inputs: New file.
39406         * benchtests/slowcos-inputs: New file.
39407         * benchtests/slowcos.c: New file.
39408         * benchtests/slowtan-inputs: New file.
39409         * benchtests/slowtan.c: New file.
39410         * benchtests/tan-inputs: New file.
39412 2013-04-16  Roland McGrath  <roland@hack.frob.com>
39414         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
39415         considered kosher.
39417 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39419         * benchtests/Makefile: Include cppflags-iterator.mk to add
39420         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
39422         * Makefile.in (bench-clean): New target.
39423         * benchtests/Makefile (bench-clean): Likewise.
39425 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
39427         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
39429 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
39431         * stdio-common/tstdiomisc.c: Fix coding-style violation.
39433 2013-04-15  Andreas Schwab  <schwab@suse.de>
39435         * nscd/grpcache.c (cache_addgr): Properly check for short write.
39436         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39437         * nscd/pwdcache.c (cache_addpw): Likewise.
39438         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
39439         more than recsize.
39441 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39443         * benchtests/Makefile (bench): Write all output to
39444         bench-out.tmp together.
39446 2013-04-15  Andreas Schwab  <schwab@suse.de>
39448         * nscd/nscd.c (main): Don't fork again after closing files.
39450 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39452         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
39454         * benchtests/Rules (bench-deps): Collect dependencies into a
39455         single variable.  Add Makefile to dependencies.
39456         ($(objpfx)bench-%.c): Depend on bench-deps.
39458 2013-04-12  Roland McGrath  <roland@hack.frob.com>
39459             Xavier Roche  <roche+kml2@exalead.com>
39461         [BZ #15361]
39462         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
39463         just that it's a file descriptor.
39464         * manual/llio.texi (Synchronizing AIO Operations): Update description
39465         for EBADF error from aio_fsync.
39467 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39469         * Rules (bench): Move target definition...
39470         * benchtests/Makefile: ... here.
39472 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
39474         * math/libm-test.inc (cos_test): Fix PI/2 test.
39475         (sincos_test): Likewise.
39476         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39477         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
39479 2013-04-11  Andreas Schwab  <schwab@suse.de>
39481         [BZ #13988]
39482         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
39483         accept exponent character only when digits were seen.
39484         * stdio-common/Makefile (tests): Add bug26.
39485         * stdio-common/bug26.c: New file.
39487         [BZ #14293]
39488         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
39489         non-freeable.
39491 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39493         * Makeconfig (rtld-prefix): Define built linker prefix.
39494         * Rules (run-bench): Use it.
39495         * math/Makefile (run-regen-ulps): Likewise.
39497         * Rules (bench): Remove eval.
39499 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39500             Roland McGrath  <roland@hack.frob.com>
39501             Ondrej Bilka  <neleai@seznam.cz>
39503         [BZ #15346]
39504         * time/getdate.c: Include ctype.h and alloca.h.
39505         (__getdate_r): Trim leading and trailing spaces of input.
39506         * time/tst-getdate.c (tests): Add tests with leading and
39507         trailing spaces.
39509 2013-04-08  Roland McGrath  <roland@hack.frob.com>
39511         [BZ #14280]
39512         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
39513         when computing value.
39515 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39517         * math/README.libm-test (How can I generate "libm-test-ulps"?):
39518         Use testrun.sh to run libm tests.
39520         [BZ #15309]
39521         * elf/dl-open.c (dl_open_worker): memset all of seen array.
39523 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
39525         [BZ #15264]
39526         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
39528 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39530         * Makefile.in (regen-ulps): New target.
39531         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
39532         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
39533         [ifneq (no,$(PERL)] (regen-ulps): New target.
39534         [ifeq (no,$(PERL)] (regen-ulps): New target.
39535         * math/libm-test.inc (ulps_file_name): Define.
39536         (output_dir): New variable.
39537         (options): Add "output-dir" option.
39538         (parse_opt): Handle 'o' case.
39539         (main): If output_dir is non-NULL use it as a prefix
39540         otherwise use "".
39541         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
39543 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39545         [BZ #10060, #10062]
39546         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
39547         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
39548         fail configure if __sync_val_compare_and_swap is not inlined.
39549         * sysdeps/i386/configure: Regenerate.
39550         * configure.in: Build for i686 when configured for i386.
39551         * configure: Regenerate.
39552         * README: Remove i386 reference.
39554 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39556         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
39557         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39559 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39561         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
39562         (lmsnanval): New variables.
39563         (F): Add conversion tests.
39564         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
39565         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
39567         * stdio-common/tstdiomisc.c (F): Properly collect individual
39568         tests' results.
39570         [BZ #14686, #15336]
39571         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
39572         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
39573         Instead, use input NaN values or generate a qNaN by arithmetic
39574         operation.  Also fix bugs to comply with the standard.
39575         * math/libm-test.inc (remainder_test): Add more tests.
39577         [BZ #15335, #15342]
39578         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
39579         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
39580         input NaN values or generate a qNaN by arithmetic operation.
39582         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
39583         unreachable code.
39585         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
39586         definitions.
39588 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
39590         [BZ #14478]
39591         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
39592         underflowed result.
39593         * math/s_cexpf.c (__cexpf): Likewise.
39594         * math/s_cexpl.c (__cexpl): Likewise.
39595         * math/libm-test.inc (cexp_test): Add more tests.
39597 2013-04-03  Andreas Schwab  <schwab@suse.de>
39599         [BZ #15330]
39600         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
39601         order arrays from heap if bigger than alloca cutoff.
39603 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
39605         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
39606         (SNAN_TESTS_double): Refer to GCC PR56831.
39607         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
39608         GCC PR56828.
39610 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39612         * Rules (bench): Move bench.out after the run is complete.
39614         * Rules (bench): Echo currently running benchmark.
39616         * benchtests/Makefile (bench): Add atan and slowatan.
39617         * benchtests/atan-inputs: New file.
39618         * benchtests/slowatan-inputs: New file.
39619         * benchtests/slowatan.c: New file.
39621         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
39622         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
39623         its value.
39625         [BZ #15305]
39626         * sysdeps/unix/sysv/linux/kernel-features.h
39627         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
39628         __ASSUME_XFS_RESTRICTED_CHOWN.
39629         * sysdeps/unix/sysv/linux/pathconf.c
39630         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
39631         Save and restore errno.
39633 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
39635         [BZ #15327]
39636         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
39637         arguments using __kernel_casinh.
39638         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
39639         arguments using __kernel_casinhf.
39640         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
39641         arguments using __kernel_casinhl.
39642         * math/libm-test.inc (cacosh_test): Add more tests.
39643         * sysdeps/i386/fpu/libm-test-ulps: Update.
39644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39646 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39648         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
39649         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
39651         * bench/Makefile (bench): Add sin and slowsin.
39652         * benchtests/sin-inputs: New file.
39653         * benchtests/slowsin-inputs: New file.
39654         * benchtests/slowsin.c: New file.
39656         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
39657         (bench): Add slowexp and slowpow.
39658         (exp-ITER): Increase iterations.
39659         (pow-ITER): Likewise.
39660         * benchtests/exp-inputs: Change input.
39661         * benchtests/pow-inputs: Likewise.
39662         * benchtests/slowexp-inputs: New file.
39663         * benchtests/slowexp.c: New file.
39664         * benchtests/slowpow-inputs: New file.
39665         * benchtests/slowpow.c: New file.
39667 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39669         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
39670         instructions.
39671         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39672         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
39673         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39674         * benchtests/Makefile: Add rint benchtest.
39675         * benchtests/rint-inputs: Input for rint benchtest.
39677 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39679         * Versions.def (libm): Add GLIBC_2.18.
39680         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
39681         hidden libm prototypes.
39682         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
39683         * math/Makefile (libm-calls): Add s_issignaling.
39684         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
39685         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
39686         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
39687         declaration.
39688         * math/math.h [__USE_GNU] (issignaling): New macro.
39689         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
39690         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
39691         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
39692         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
39693         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
39694         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
39695         * manual/arith.texi (issignaling): New section.
39696         * manual/libm-err-tab.pl (@all_functions): Update comment.
39697         * math/gen-libm-test.pl (parse_args): Apply special handling for
39698         issignaling.
39699         * math/libm-test.inc (print_float, issignaling_test): New
39700         functions.
39701         (check_float_internal): Add issignaling checks.
39702         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
39703         default definition.
39704         * sysdeps/powerpc/math-tests.h: New file.
39705         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
39706         tests.
39707         * math/test-snan.c (TEST_FUNC): Likewise.
39709 2013-03-30  David S. Miller  <davem@davemloft.net>
39711         * po/de.po: Update from translation team.
39713 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
39715         [BZ #10357]
39716         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39717         imaginary part less than 1.0 and real part less than 0.5
39718         specially.
39719         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39720         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39721         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
39722         (cacos_test): Add more tests.
39723         (casin_test): Likewise.
39724         (casinh_test): Likewise.
39725         * sysdeps/i386/fpu/libm-test-ulps: Update.
39726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39728 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39730         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
39731         ONE with its value.
39733         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
39734         (__pow_mp): Replace ONE and MONE with their values.
39735         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39736         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
39737         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39738         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
39739         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39740         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39742         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
39744         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
39745         (__pow_mp): Replace ZERO and MZERO with their values.
39746         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39747         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39748         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39749         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39750         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39751         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
39752         (__sqr): Likewise.
39754         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
39756         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
39758 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39760         * include/stdlib.h [!SHARED] (__call_tls_dtors):
39761         Declare with __attribute__ ((weak)).
39762         * stdlib/exit.c (__libc_atexit) [!SHARED]:
39763         Call __call_tls_dtors only if it's not NULL.
39765 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39767         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
39768         didn't do it already, then set _dl_phdr and _dl_phnum based on the
39769         magic __ehdr_start linker symbol if it's defined.
39770         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
39771         them up here if it was already done.
39773         * elf/dl-support.c (_dl_phdr): Make pointer to const.
39774         (_dl_aux_init): Use const in cast when setting it.
39775         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
39776         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
39777         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
39779         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
39780         Declare them here.
39781         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
39782         * csu/libc-tls.c: Nor here.
39783         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
39785         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
39786         (__libc_message): Never call vsyslog.
39788 2013-03-28  Alan Modra  <amodra@gmail.com>
39790         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
39791         Define as empty.
39792         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
39793         Likewise.
39795 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39797         [BZ #15214]
39798         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
39799         underflow.
39800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39802 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39804         [BZ #15304]
39805         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39806         Don't add gid passed as argument.
39808         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
39810 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
39812         [BZ #15307]
39813         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39814         imaginary part between 1.0 and 1.5 and real part less than 0.5
39815         specially.
39816         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39817         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39818         * math/libm-test.inc (cacos_test): Add more tests.
39819         (casin_test): Likewise.
39820         (casinh_test): Likewise.
39821         * sysdeps/i386/fpu/libm-test-ulps: Update.
39822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39824 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39826         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
39827         constants.
39828         (norm): Likewise.
39829         (denorm): Likewise.
39830         (__dbl_mp): Likewise.
39831         (add_magnitudes): Likewise.
39832         (sub_magnitudes): Likewise.
39833         (__add): Likewise.
39834         (__sub): Likewise.
39835         (__mul): Likewise.
39836         (__sqr): Likewise.
39837         (__inv): Likewise.
39838         (__dvd): Likewise.
39840         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
39841         commented code.
39842         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
39843         (__dubcos): Likewise.
39844         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
39845         (__ieee754_acos): Likewise.
39846         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39847         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
39848         (__exp1): Likewise.
39849         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39850         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39851         (log1): Likewise.
39852         (my_log2): Likewise.
39853         (checkint): Likewise.
39854         * sysdeps/ieee754/dbl-64/e_remainder.c
39855         (__ieee754_remainder): Likewise.
39856         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39857         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
39858         (bsloww): Likewise.
39859         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39861         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39862         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
39863         MANTISSA_STORE_T to store computations on mantissa.  Use
39864         macros for rounding and division.
39865         (denorm): Likewise.
39866         (__dbl_mp): Likewise.
39867         (add_magnitudes): Likewise.
39868         (sub_magnitudes): Likewise.
39869         (__mul): Likewise.
39870         (__sqr): Likewise.
39871         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
39872         powers of two in terms of TWOPOW macro.
39873         (mp_no): Make type of mantissa as MANTISSA_T.
39874         [!RADIXI]: Define RADIXI.
39875         [!TWO52]: Define TWO52.
39876         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39878 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39880         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
39881         llroundl symbol when building for PPC32.
39883 2013-03-24  Mark H Weaver  <mhw@netris.org>
39885         * manual/arith.texi (Normalization Functions): Fix prototypes for
39886         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
39888 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39890         [BZ #13889]
39891         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
39892         high value to check if expl overflow.
39893         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
39894         to check for underflow and overflow.
39895         * math/libm-test.inc: Add exp test.
39897 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
39899         [BZ #11120]
39900         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
39901         with NOT_IN_libc.
39903 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39905         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
39906         symbol.
39908 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39910         * math/gen-libm-test.pl (parse_args, special_functions): Properly
39911         wrap blocks consisting of several statements.
39913         * sysdeps/generic/math-tests.h: New file.
39914         * sysdeps/i386/fpu/math-tests.h: Likewise.
39915         * math/test-snan.c: Include it.
39916         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
39918 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39920         [BZ #15285]
39921         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
39922         (__ieee754_j0l): Do not improve calculations using cos of twice
39923         input for inputs above LDBL_MAX / 2.0L.
39924         (__ieee754_y0l): Likewise.
39925         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
39926         (__ieee754_j1l): Do not improve calculations using cos of twice
39927         input for inputs above LDBL_MAX / 2.0L.
39928         (__ieee754_y1l): Likewise.
39929         * math/libm-test.inc (j0_test): Add another test.
39930         (j1_test): Likewise.
39931         (y0_test): Likewise.
39932         (y1_test): Likewise.
39933         * sysdeps/i386/fpu/libm-test-ulps: Update.
39935 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39937         * Rules ($(objpfx)bench-%.c): Include code from a C source
39938         file.
39940 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39942         [BZ #15287]
39943         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39944         imaginary part 1.0 and real part less than 0.5 specially.
39945         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39946         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39947         * math/libm-test.inc (cacos_test): Add more tests.
39948         (casin_test): Likewise.
39949         (casinh_test): Likewise.
39950         * sysdeps/i386/fpu/libm-test-ulps: Update.
39951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39953 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39955         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39956         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39958 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
39960         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39961         * config.make.in (config-cflags-sse4): Remove variable.
39962         (config-cflags-avx): Likewise.
39963         (config-cflags-sse2avx): Likewise.
39964         (config-cflags-novzeroupper): Likewise.
39965         (config-asflags-i686): Likewise.
39966         (have-mfma4): Likewise.
39967         (have-as-vis3): Likewise.
39968         (MIG): Likewise.
39969         * configure.in (MIG): Do not AC_SUBST.
39970         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39971         (libc_cv_cc_sse4): Do not AC_SUBST.
39972         (libc_cv_cc_avx): Likewise.
39973         (libc_cv_cc_sse2avx): Likewise.
39974         (libc_cv_cc_novzeroupper): Likewise.
39975         (libc_cv_cc_fma4): Likewise.
39976         (libc_cv_as_i686): Likewise.
39977         (libc_cv_sparc_as_vis3): Likewise.
39978         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39979         LIBC_CONFIG_VAR.
39980         (config-asflags-i686): Likewise.
39981         (config-cflags-avx): Likewise.
39982         (config-cflags-sse2avx): Likewise.
39983         (have-mfma4): Likewise.
39984         (config-cflags-novzeroupper): Likewise.
39985         * sysdeps/mach/configure.in (MIG): Likewise.
39986         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39987         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39988         LIBC_CONFIG_VAR.
39989         (config-cflags-avx): Likewise.
39990         (config-cflags-sse2avx): Likewise.
39991         (have-mfma4): Likewise.
39992         (config-cflags-novzeroupper): Likewise.
39993         * configure: Regenerated.
39994         * sysdeps/i386/configure: Likewise.
39995         * sysdeps/mach/configure: Likewise.
39996         * sysdeps/sparc/configure: Likewise.
39997         * sysdeps/x86_64/configure: Likewise.
39999 2013-03-20  Roland McGrath  <roland@hack.frob.com>
40001         [BZ #14812]
40002         * locale/programs/localedef.c (options): Put N_ translation marker
40003         on argument names, not just descriptions.
40005 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40007         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
40009 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
40011         [BZ #14176]
40012         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
40014 2013-03-19  Roland McGrath  <roland@hack.frob.com>
40016         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
40017         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
40018         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
40019         [!BEFORE_ABORT] (before_abort): New function.
40020         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
40021         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
40022         (writev_for_fatal): New function.
40023         (WRITEV_FOR_FATAL): New macro; call that.
40024         (backtrace_and_maps): New function.
40025         (BEFORE_ABORT): New macro; call that.
40026         (struct str_list): Type removed.
40027         (__libc_message, __libc_fatal): Functions removed.
40028         Include <sysdeps/posix/libc_fatal.c> instead.
40030 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
40032         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
40033         constants.
40034         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
40035         double constants.
40037 2013-03-19  Andreas Schwab  <schwab@suse.de>
40039         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
40040         * sysdeps/gnu/configure: Regenerate.
40042         * configure.in: Substitute libc_cv_rtlddir.
40043         * configure: Regenerate.
40044         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
40045         * Makeconfig (rtlddir, inst_rtlddir): New variables.
40046         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
40047         * elf/Makefile (install-others, CFLAGS-interp.c)
40048         (ldso_install, common-ldd-rewrite): Likewise.
40049         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
40050         $(inst_slibdir)/$(rtld-installed-name).
40051         * scripts/rellns-sh: Add -p option.
40052         * Makerules (make-shlib-link): Use rellns-sh to get relative name
40053         for source.
40055 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40057         * manual/nptl.texi: Renamed to ...
40058         * manual/threads.texi: ... this.
40059         * manual/Makefile (chapters): Update.
40061 2013-03-18  Roland McGrath  <roland@hack.frob.com>
40063         [BZ #14812]
40064         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
40065         on argument names, not just descriptions.
40066         * malloc/memusagestat.c (options): Likewise.
40067         * nss/getent.c (options): Likewise.
40069 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
40071         [BZ #14812]
40072         * iconv/iconv_prog.c (options): Put N_ translation marker
40073         on argument names, not just descriptions.
40074         * iconv/iconvconfig.c (options): Likewise.
40076 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
40078         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
40079         implementation which is faster on all x86_64 architectures.
40080         Tested on AMD, Intel Nehalem, SNB, IVB.
40081         * sysdeps/x86_64/strnlen.S: Likewise.
40083         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40084         Remove all multiarch strlen and strnlen versions.
40085         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40086         Remove strlen and strnlen related parts.
40088         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
40089         Inline strlen part.
40090         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
40092         * sysdeps/x86_64/multiarch/strlen.S: Remove.
40093         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
40094         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
40095         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
40096         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40097         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
40099 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
40101         * manual/memory.texi (Malloc Tunable Parameters):
40102         Sort parameters alphabetically. Add comments for missing entries.
40104 2013-03-17  David S. Miller  <davem@davemloft.net>
40106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40108 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
40110         [BZ #15283]
40111         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
40112         for arguments at most half maximum finite value.
40113         * math/libm-test.inc (j0_test): Add more tests.
40114         (j1_test): Likewise.
40115         (y0_test): Likewise.
40116         (y1_test): Likewise.
40117         * sysdeps/i386/fpu/libm-test-ulps: Update.
40118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40120         [BZ #14155]
40121         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
40122         1 / x and functions P and Q for arguments above 0x1p256L.
40123         (__ieee754_y0l): Likewise.
40124         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
40125         (__ieee754_y1l): Likewise.
40126         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
40127         (j1_test): Likewise.
40128         (y0_test): Likewise.
40129         (y1_test): Likewise.
40131 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
40133         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
40134         variable.
40136 2013-03-15  Roland McGrath  <roland@hack.frob.com>
40138         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
40139         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
40140         zero since it's initialized to EXEC_PAGESIZE.
40142         * sysdeps/unix/sysv/linux/ldsodefs.h
40143         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
40144         * sysdeps/generic/ldsodefs.h: ... here.
40146 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
40148         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
40150         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
40151         math/test-snan.c.
40152         * math/test-snan.c: Renamed from
40153         sysdeps/powerpc/fpu/test-powerpc-snan.c.
40154         * math/Makefile (tests): Add test-snan.
40155         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
40156         test-powerpc-snan.
40158         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
40159         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
40160         functions.
40161         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
40162         __builtin_nan family of functions.
40163         * math/libm-test.inc (initialize): Initialize qnan_value with
40164         __builtin_nan family of functions.
40165         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
40166         Remove variables.
40167         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
40168         Remove functions.
40169         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
40170         storage class.  Initialize qNaN_var and sNaN_var with
40171         __builtin_nan and __builtin_nans families of functions,
40172         respectively.
40174         * math/libm-test.inc (acosh_test): Also test with qNaN input.
40175         (sqrt_test): Remove duplicate test with qNaN input.
40176         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
40177         (round_test, signbit_test, significand_test): Note missing +/-Inf
40178         as well as qNaN tests.
40180         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
40181         qNaN_var.  Fix a few strings, too.
40182         * math/libm-test.inc (nan_value): Rename to qnan_value.
40183         * math/gen-libm-test.pl (%beautify): Adjust to that.
40184         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
40185         * math/test-misc.c (main): Likewise.
40186         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
40187         to __qnan_bytes, and __qnan_union, respectively.
40188         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
40189         Likewise.
40190         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
40191         and lqnanval, respectively.
40192         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
40193         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
40194         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
40195         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
40197         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
40198         * math/test-misc.c (main) [__x86_64__]: Enable test for long
40199         doubles.
40201         * math/test-misc.c (main): Fix copy'n'pastos.
40202         * misc/tst-efgcvt.c (special): Likewise.
40204         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
40205         Remove declarations.
40207 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40209         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
40210         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
40211         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
40212         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
40214 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40216         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
40217         macro to return vdso values correctly in IFUNC implementations.
40218         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40219         Optimization by using IFUNC.
40221 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40222             Richard Henderson  <rth@redhat.com>
40223             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40225         * Makefile.in (bench): New target.
40226         * NEWS: Mention the benchmark framework.
40227         * Rules (bench): Likewise.
40228         (binaries-bench): Generate binaries for functions to
40229         benchmark.
40230         * benchtests/Makefile: New makefile for benchmark tests.
40231         * benchtests/bench-skeleton.c: New skeleton file for benchmark
40232         programs.
40233         * benchtests/exp-inputs: New input file for EXP function.
40234         * benchtests/pow-inputs: New input file for POW function.
40235         * scripts/bench.pl: New script to generate source files for
40236         benchmark programs.
40238 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40240         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
40241         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
40242         computations on mantissa.  Use macros for rounding and
40243         division.
40244         (denorm): Likewise.
40245         (__dbl_mp): Likewise.
40246         (add_magnitudes): Likewise.
40247         (sub_magnitudes): Likewise.
40248         (__mul): Likewise.
40249         (__sqr): Likewise.
40250         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
40251         powers of two in terms of TWOPOW macro.
40252         (mp_no): Make type of mantissa as MANTISSA_T.
40253         [!RADIXI]: Define RADIXI.
40254         [!TWO52]: Define TWO52.
40255         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
40257         * manual/nptl.texi (cindex): Modify threads to pthreads.
40259 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
40261         * sysdeps/x86_64/preconfigure: Regenerated.
40263 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
40265         [BZ #14155]
40266         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
40267         0x1p28 and above.
40268         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
40269         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
40270         0x1p28 and above.
40271         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
40272         * math/libm-test.inc (j0_test): Do not allow one spurious
40273         underflow exception.
40274         (y1_test): Likewise.
40276 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40278         * manual/Makefile (chapters): Add nptl.
40279         * manual/debug.texi (Debugging Support): Add link to Threads
40280         chapter.
40281         * manual/nptl.texi: New file.
40283         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
40285 2013-03-14  Petr Baudis  <pasky@ucw.cz>
40287         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
40288         for non-NULL pointer before the memory validity test. Pointed
40289         out by Holger Brunck <holger.brunck@keymile.com>.
40291 2013-03-13  Andreas Schwab  <schwab@suse.de>
40293         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
40294         instead of .os.
40296 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
40298         * timezone/zic.c: Update from tzcode 2013b.
40300 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
40302         * manual/install.texi (Configuring and compiling):
40303         Mention i686 and i586.
40304         * INSTALL: Regenerate.
40306 2013-03-12  Roland McGrath  <roland@hack.frob.com>
40308         * sysdeps/init_array/elf-init.c: New file.
40309         * csu/elf-init.c
40310         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
40311         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
40313         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
40314         __gmon_start__ as global, but as static with a .preinit_array pointer.
40315         * sysdeps/init_array/gmon-start.c: New file.  Use that.
40316         * sysdeps/init_array/crti.S: New file, empty except for comments.
40317         * sysdeps/init_array/crtn.S: Likewise.
40319 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
40321         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
40322         definining bcopy.
40323         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40324         Remove Prefer_SSE_for_memop.
40325         * sysdeps/x86_64/multiarch/init-arch.h: Remove
40326         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
40327         HAS_PREFER_SSE_FOR_MEMOP.
40328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
40329         memset-x86-64.
40330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40331         Remove bzero, memset ifunc support.
40332         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
40333         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
40334         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40335         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40337 2013-03-11  Andreas Schwab  <schwab@suse.de>
40339         [BZ #15234]
40340         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
40341         by SHLIB_COMPAT.
40342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
40343         (GLIBC_2.16): Remove pthread_atfork.
40345 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
40347         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
40348         (ptestcases.h): Likewise.
40350 2013-03-08  Roland McGrath  <roland@hack.frob.com>
40352         * Makeconfig ($(common-objpfx)config.status): Depend on
40353         sysdeps/*/preconfigure{,.in} too.
40355 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
40357         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
40358         (__free_hook): Use void * instead of __malloc_ptr_t.
40359         (__malloc_hook): Likewise.
40360         (__realloc_hook): Likewise.
40361         (__memalign_hook): Likewise.
40362         (__after_morecore_hook): Likewise.
40363         * malloc/arena.c (save_malloc_hook): Likewise.
40364         (save_free_hook): Likewise.
40365         * malloc/hooks.c (malloc_hook_ini): Likewise.
40366         (realloc_hook_ini): Likewise.
40367         (memalign_hook_ini): Likewise.
40368         * malloc/malloc.c (malloc_hook_ini): Likewise.
40369         (realloc_hook_ini): Likewise.
40370         (memalign_hook_ini): Likewise.
40371         (__free_hook): Likewise.
40372         (__malloc_hook): Likewise.
40373         (__realloc_hook): Likewise.
40374         (__memalign_hook): Likewise.
40375         (__libc_malloc): Likewise.
40376         (__libc_free): Likewise.
40377         (__libc_realloc): Likewise.
40378         (__libc_memalign): Likewise.
40379         (__libc_valloc): Likewise.
40380         (__libc_pvalloc): Likewise.
40381         (__libc_calloc): Likewise.
40382         (__posix_memalign): Likewise.
40383         * malloc/morecore.c (__sbrk): Likewise.
40384         (__default_morecore): Likewise.
40386         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
40388         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
40389         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
40390         __malloc_ptrdiff_t.
40392         * malloc/malloc.h (__malloc_size_t): Remove macro.
40393         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
40394         __malloc_size_t.
40395         (old_memalign_hook): Likewise.
40396         (old_realloc_hook): Likewise.
40397         (struct hdr): Likewise.
40398         (flood): Likewise.
40399         (mallochook): Likewise.
40400         (memalignhook): Likewise.
40401         (reallochook): Likewise.
40402         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
40403         (tr_old_realloc_hook): Likewise.
40404         (tr_old_memalign_hook): Likewise.
40405         (tr_mallochook): Likewise.
40406         (tr_reallochook): Likewise.
40407         (tr_memalignhook): Likewise.
40409 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40411         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
40412         default_ldbl_pack and using as default implementation.
40413         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
40414         implementation.
40415         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
40416         redundant definition.
40417         (ldbl_insert_mantissa): Likewise.
40418         (ldbl_canonicalize): Likewise.
40419         (ldbl_nearbyint): Likewise.
40420         (ldbl_pack): Rename to ldbl_pack_ppc.
40421         (ldbl_unpack): Rename to ldbl_unpack_ppc.
40422         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
40423         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
40425 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
40428         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
40429         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
40430         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
40431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
40432         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
40433         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
40434         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
40436 2013-03-07  Andreas Jaeger  <aj@suse.de>
40438         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40439         bits/mman-linux.h.
40441 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
40443         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
40444         Include mpa.h and declare __MPEXP.
40445         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
40446         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
40447         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
40448         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
40449         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
40450         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
40451         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
40453         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
40454         (__slowpow): Use long double EXPL and LOGL functions to
40455         compute POW.
40456         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
40457         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
40458         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
40459         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
40460         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
40461         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
40463         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
40464         intermediate variable to calculate exponent.
40465         (__sqr): Likewise.
40466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40467         Likewise.
40468         (__sqr): Likewise.
40470         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
40471         [!NO__SQR]: Define __sqr.
40472         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
40473         and NO__SQR.  Remove all code except __mul and __sqr.  Include
40474         sysdeps/ieee754/dbl-64/mpa.c.
40475         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40477         [BZ #12723]
40478         * posix/Makefile (tests): Add tst-pathconf.
40479         * posix/tst-pathconf.c: New test case.
40480         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
40481         _PC_PIPE_BUF.
40482         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
40484 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
40486         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
40488 2013-03-06  Andreas Jaeger  <aj@suse.de>
40490         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
40491         definition via __MAP_ANONYMOUS.
40493         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
40494         it's not part of Linux headers.
40496         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
40497         (MAP_HUGE_MASK): Define.
40499         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40500         Define.
40501         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40502         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40503         Define.
40504         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40505         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40506         Define.
40507         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40508         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
40509         Define.
40510         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40512         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
40513         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
40514         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
40515         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
40516         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
40517         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
40519         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
40520         Handle f2fs.
40522         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40523         Handle f2fs and efivarfs.
40525         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
40526         f2fs.
40528         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
40529         (EFIVARFS_MAGIC): Add.
40530         (F2FS_LINK_MAX): Add.
40532 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40534         * stdio-common/vfprintf.c: Replace __builtin_expect with
40535         __glibc_unlikely.
40537 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
40539         [BZ #13550]
40540         * sysdeps/generic/bp-sym.h: Remove file.
40541         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
40542         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
40543         <bp-sym.h> and <bp-asm.h>.
40544         (__longjmp): Don't use BP_SYM.
40545         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
40546         and <bp-asm.h>.
40547         (memcpy): Don't use BP_SYM.
40548         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
40549         <bp-sym.h> and <bp-asm.h>.
40550         (memcpy): Don't use BP_SYM.
40551         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
40552         <bp-asm.h>.
40553         (memcpy): Don't use BP_SYM.
40554         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
40555         <bp-asm.h>.
40556         (memset): Don't use BP_SYM.
40557         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40558         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40559         (__bzero): Don't use BP_SYM.
40560         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40561         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40562         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
40563         <bp-sym.h> and <bp-asm.h>.
40564         (memcmp): Don't use BP_SYM.  Remove comment about bounded
40565         pointers.
40566         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
40567         <bp-sym.h> and <bp-asm.h>.
40568         (memcpy): Don't use BP_SYM.
40569         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
40570         <bp-sym.h> and <bp-asm.h>.
40571         (memset): Don't use BP_SYM.
40572         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40573         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40574         (__bzero): Don't use BP_SYM.
40575         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40576         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40577         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
40578         <bp-sym.h> and <bp-asm.h>.
40579         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40580         pointers.
40581         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
40582         <bp-sym.h> and <bp-asm.h>.
40583         (memcpy): Don't use BP_SYM.
40584         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
40585         <bp-sym.h> and <bp-asm.h>.
40586         (memset): Don't use BP_SYM.
40587         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40588         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40589         (__bzero): Don't use BP_SYM.
40590         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40591         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40592         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
40593         <bp-sym.h> and <bp-asm.h>.
40594         (__memchr): Don't use BP_SYM.
40595         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
40596         <bp-sym.h> and <bp-asm.h>.
40597         (memcmp): Don't use BP_SYM.  Remove comment about bounded
40598         pointers.
40599         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
40600         <bp-sym.h> and <bp-asm.h>.
40601         (memcpy): Don't use BP_SYM.
40602         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
40603         <bp-sym.h> and <bp-asm.h>.
40604         (__mempcpy): Don't use BP_SYM.
40605         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
40606         <bp-sym.h> and <bp-asm.h>.
40607         (__memrchr): Don't use BP_SYM.
40608         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
40609         <bp-sym.h> and <bp-asm.h>.
40610         (memset): Don't use BP_SYM.
40611         (__bzero): Likewise.
40612         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
40613         <bp-sym.h> and <bp-asm.h>.
40614         (__rawmemchr): Don't use BP_SYM.
40615         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
40616         <bp-sym.h> and <bp-asm.h>.
40617         (__STRCMP): Don't use BP_SYM.
40618         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
40619         <bp-sym.h> and <bp-asm.h>.
40620         (strchr): Don't use BP_SYM.
40621         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
40622         <bp-sym.h> and <bp-asm.h>.
40623         (__strchrnul): Don't use BP_SYM.
40624         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
40625         <bp-sym.h> and <bp-asm.h>.
40626         (strlen): Don't use BP_SYM.
40627         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
40628         <bp-sym.h> and <bp-asm.h>.
40629         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40630         pointers.
40631         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
40632         <bp-sym.h> and <bp-asm.h>.
40633         (__strnlen): Don't use BP_SYM.
40634         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
40635         <bp-sym.h> and <bp-asm.h>.
40636         (__GI__setjmp): Don't use BP_SYM.
40637         (_setjmp): Likewise.
40638         (__sigsetjmp): Likewise.
40639         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
40640         (L(start_addresses)): Don't use BP_SYM.
40641         (_start): Likewise.
40642         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
40643         <bp-asm.h>.
40644         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
40645         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
40646         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40647         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40648         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
40649         <bp-asm.h>.
40650         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
40651         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
40652         about bounded pointers.
40653         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40654         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40655         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
40656         <bp-asm.h>.
40657         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
40658         about bounded pointers.  Remove GKM FIXME comments.
40659         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40660         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
40661         <bp-asm.h>.
40662         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
40663         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
40664         Remove GKM FIXME comments.
40665         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40666         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40667         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
40668         <bp-asm.h>.
40669         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
40670         about bounded pointers.  Remove GKM FIXME comment.
40671         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
40672         and <bp-asm.h>.
40673         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40674         pointers.
40675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
40676         <bp-sym.h> and <bp-asm.h>.
40677         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
40679         <bp-sym.h> and <bp-asm.h>.
40680         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
40681         comment.
40683 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40685         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
40686         call free(NULL).
40688 2013-03-05  David S. Miller  <davem@davemloft.net>
40690         * po/es.po: Update from translation team.
40692 2013-03-05  Andreas Jaeger  <aj@suse.de>
40694         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
40695         <bits/mman-linux.h>.
40696         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40697         is fine.
40698         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
40699         <bits/mman-linux.h> to end of file.
40700         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40701         is fine.
40702         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
40703         <bits/mman-linux.h> to end of file.
40704         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40705         is fine.
40706         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
40707         <bits/mman-linux.h> to end of file.
40709         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
40710         (MCL_CURRENT, MCL_FUTURE): Define here.
40712 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40714         [BZ #15232]
40715         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
40716         attribute_hidden.
40717         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40719 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40721         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
40722         fourth parameter needed for rt_sigprocmask syscall.
40723         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40724         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40725         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
40726         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40727         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40728         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
40730 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
40732         [BZ #13550]
40733         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
40734         comment about bounded pointers.
40735         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
40736         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
40738 2013-03-04  Andreas Jaeger  <aj@suse.de>
40740         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
40741         common definitions.
40743         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
40744         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
40745         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
40746         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40747         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40748         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40750 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40752         [BZ #15055]
40753         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
40754         __ieee754_sqrl instead of __sqrl.
40756 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
40758         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
40759         * sysdeps/powerpc/fpu_control.h: ... here.
40760         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
40761         * sysdeps/powerpc/bits/fenvinline.h: ... here.
40762         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
40763         * sysdeps/powerpc/bits/mathinline.h: ... here.
40765 2013-03-01  Roland McGrath  <roland@hack.frob.com>
40767         * elf/dl-hwcaps.c (_dl_important_hwcaps):
40768         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
40769         to just [NEED_DL_SYSINFO_DSO].
40770         * elf/dl-support.c: Likewise.
40771         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40772         * elf/rtld.c (dl_main): Likewise.
40773         * elf/setup-vdso.h (setup_vdso): Likewise.
40774         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
40775         * sysdeps/unix/sysv/linux/dl-sysdep.c
40776         (_dl_discover_osversion): Likewise.
40778 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
40780         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
40781         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40783 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40785         * NEWS: Mention libm performance improvements and non-x86 PI
40786         futex support.
40788         * csu/libc-start.c (__pthread_initialize_minimal): Change
40789         function arguments.
40790         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40792 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
40794         [BZ #13550]
40795         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
40796         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
40797         <bp-sym.h> and <bp-asm.h>.
40798         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40799         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
40800         and <bp-asm.h>.
40801         (memcpy): Don't use BP_SYM.
40802         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
40803         <bp-asm.h>.
40804         (__mpn_add_n): Don't use BP_SYM.
40805         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
40806         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
40807         and <bp-asm.h>.
40808         (__mpn_addmul_1): Don't use BP_SYM.
40809         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40810         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
40811         <bp-sym.h>.
40812         (_setjmp): Don't use BP_SYM.
40813         (__novmx_setjmp): Likewise.
40814         (__GI__setjmp): Likewise.
40815         (__vmx_setjmp): Likewise.
40816         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
40817         <bp-sym.h>.
40818         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
40819         (__bzero): Don't use BP_SYM.
40820         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40821         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40822         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
40823         <bp-sym.h> and <bp-asm.h>.
40824         (memcpy): Don't use BP_SYM.
40825         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
40826         <bp-sym.h> and <bp-asm.h>.
40827         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40828         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
40829         <bp-sym.h> and <bp-asm.h>.
40830         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40831         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
40832         <bp-asm.h>.
40833         (__mpn_lshift): Don't use BP_SYM.
40834         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40835         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
40836         <bp-asm.h>.
40837         (memset): Don't use BP_SYM.
40838         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40839         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40840         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
40841         <bp-asm.h>.
40842         (__mpn_mul_1): Don't use BP_SYM.
40843         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40844         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
40845         <bp-sym.h> and <bp-asm.h>.
40846         (memcmp): Don't use BP_SYM.
40847         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
40848         <bp-sym.h> and <bp-asm.h>.
40849         (memcpy): Don't use BP_SYM.
40850         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
40851         <bp-sym.h> and <bp-asm.h>.
40852         (memset): Don't use BP_SYM.
40853         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
40854         <bp-sym.h> and <bp-asm.h>.
40855         (strncmp): Don't use BP_SYM.
40856         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
40857         <bp-sym.h> and <bp-asm.h>.
40858         (memcpy): Don't use BP_SYM.
40859         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
40860         <bp-sym.h> and <bp-asm.h>.
40861         (memset): Don't use BP_SYM.
40862         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
40863         <bp-sym.h> and <bp-asm.h>.
40864         (__memchr): Don't use BP_SYM.
40865         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
40866         <bp-sym.h> and <bp-asm.h>.
40867         (memcmp): Don't use BP_SYM.
40868         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
40869         <bp-sym.h> and <bp-asm.h>.
40870         (memcpy): Don't use BP_SYM.
40871         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
40872         <bp-sym.h> and <bp-asm.h>.
40873         (__mempcpy): Don't use BP_SYM.
40874         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
40875         <bp-sym.h> and <bp-asm.h>.
40876         (__memrchr): Don't use BP_SYM.
40877         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
40878         <bp-sym.h> and <bp-asm.h>.
40879         (memset): Don't use BP_SYM.
40880         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
40881         <bp-sym.h> and <bp-asm.h>.
40882         (__rawmemchr): Don't use BP_SYM.
40883         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
40884         <bp-sym.h> and <bp-asm.h>.
40885         (__STRCMP): Don't use BP_SYM.
40886         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
40887         <bp-sym.h> and <bp-asm.h>.
40888         (strchr): Don't use BP_SYM.
40889         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
40890         <bp-sym.h> and <bp-asm.h>.
40891         (__strchrnul): Don't use BP_SYM.
40892         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
40893         <bp-sym.h> and <bp-asm.h>.
40894         (strlen): Don't use BP_SYM.
40895         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
40896         <bp-sym.h> and <bp-asm.h>.
40897         (strncmp): Don't use BP_SYM.
40898         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
40899         <bp-sym.h> and <bp-asm.h>.
40900         (__strnlen): Don't use BP_SYM.
40901         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
40902         <bp-asm.h>.
40903         (__mpn_rshift): Don't use BP_SYM.
40904         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40905         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
40906         <bp-sym.h> and <bp-asm.h>.
40907         (__sigsetjmp): Don't use BP_SYM.
40908         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
40909         (L(start_addresses)): Don't use BP_SYM.
40910         (_start): Likewise.
40911         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
40912         <bp-asm.h>.
40913         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
40914         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40915         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40916         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
40917         <bp-asm.h>.
40918         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
40919         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40920         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40921         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
40922         <bp-asm.h>.
40923         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40924         comments.
40925         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40926         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
40927         <bp-asm.h>.
40928         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
40929         FIXME comments.
40930         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40931         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40932         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
40933         <bp-asm.h>.
40934         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40935         comment.
40936         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
40937         and <bp-asm.h>.
40938         (strncmp): Don't use BP_SYM,
40939         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
40940         <bp-asm.h>.
40941         (__mpn_sub_n): Don't use BP_SYM.
40942         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40943         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
40944         and <bp-asm.h>.
40945         (__mpn_submul_1): Don't use BP_SYM.
40946         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40948         <bp-sym.h> and <bp-asm.h>.
40949         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40951         <bp-sym.h> and <bp-asm.h>.
40952         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
40953         comment.
40955 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40958         Use ZK to minimize writes to Z.
40959         (sub_magnitudes): Simplify code a bit.
40960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40961         Use ZK to minimize writes to Z.
40962         (sub_magnitudes): Simplify code a bit.
40964 2013-02-27  Roland McGrath  <roland@hack.frob.com>
40966         * csu/gmon-start.c: Add special exception to license text.
40968 2013-02-27  Richard Henderson  <rth@redhat.com>
40970         * scripts/config.guess: Update from config.git.
40971         * scripts/config.sub: Likewise.
40973 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40975         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40977         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40979         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40981         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40983         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40985 2013-02-26  Roland McGrath  <roland@hack.frob.com>
40987         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40988         [$(build-shared = yes].
40990 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40992         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40993         (__mul): Reduce iterations for calculating mantissa.
40995         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40996         MPTWO.
40997         (__mpranred): Likewise.
40999         [BZ #15160]
41000         * malloc/memusagestat.c (main): Draw graphs for heap and stack
41001         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
41003 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
41005         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
41006         Define __attribute__.
41008 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41010         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
41011         unused.
41012         * posix/regex_internal.h (__attribute): Remove.
41013         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
41014         (re_string_context_at): Likewise.
41015         (bitset_not): Use __attribute__ and mark function as possibly
41016         unused.
41017         (bitset_merge): Likewise.
41018         (bitset_mask): Likewise.
41019         (re_string_char_size_at): Likewise.
41020         (re_string_wchar_at): Likewise.
41021         (re_string_elem_size_at): Likewise.
41023 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41025         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
41026         code.
41027         (cc32): Likewise.
41029         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
41030         (__acr): Likewise.
41031         (__cpy): Likewise.
41032         (norm): Likewise.
41033         (denorm): Likewise.
41034         (__dbl_mp): Likewise.
41035         (add_magnitudes): Likewise.
41036         (sub_magnitudes): Likewise.
41037         (__mul): Likewise.
41038         (__inv): Likewise.
41040         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
41041         style.
41043         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
41044         style.
41046         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
41047         code.
41049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
41050         up changes with default code.
41051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
41052         Likewise.
41054 2013-02-24  Allan McRae  <allan@archlinux.org>
41056         * manual/socket.texi (The Internet Namespace): Order menu items
41057         to match that in the file.
41059         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
41060         node listing of the info page menu.
41062 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
41064         [BZ #13550]
41065         * sysdeps/i386/bp-asm.h: Remove file.
41066         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
41067         (PARMS): Do not use macros from bp-asm.h.
41068         (S1): Likewise.
41069         (S2): Likewise.
41070         (SIZE): Likewise.
41071         (__mpn_add_n): Do not use BP_SYM
41072         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
41073         "bp-asm.h".
41074         (PARMS): Do not use macros from bp-asm.h.
41075         (S1): Likewise.
41076         (SIZE): Likewise.
41077         (__mpn_addmul_1): Do not use BP_SYM
41078         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
41079         "bp-asm.h".
41080         (PARMS): Do not use macros from bp-asm.h.
41081         (SIGMSK): Likewise.
41082         (_setjmp): Likewise.  Do not use BP_SYM.
41083         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
41084         "bp-asm.h".
41085         (PARMS): Do not use macros from bp-asm.h.
41086         (SIGMSK): Likewise.
41087         (setjmp): Likewise.  Do not use BP_SYM.
41088         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
41089         "bp-asm.h".
41090         (PARMS): Do not use macros from bp-asm.h.
41091         (__frexp): Do not use BP_SYM.
41092         (frexp): Likewise.
41093         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
41094         "bp-asm.h".
41095         (PARMS): Do not use macros from bp-asm.h.
41096         (__frexpf): Do not use BP_SYM.
41097         (frexpf): Likewise.
41098         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
41099         "bp-asm.h".
41100         (PARMS): Do not use macros from bp-asm.h.
41101         (__frexpl): Do not use BP_SYM.
41102         (frexpl): Likewise.
41103         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
41104         "bp-asm.h".
41105         (PARMS): Do not use macros from bp-asm.h.
41106         (__remquo): Do not use BP_SYM.
41107         (remquo): Likewise.
41108         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
41109         "bp-asm.h".
41110         (PARMS): Do not use macros from bp-asm.h.
41111         (__remquof): Do not use BP_SYM.
41112         (remquof): Likewise.
41113         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
41114         "bp-asm.h".
41115         (PARMS): Do not use macros from bp-asm.h.
41116         (__remquol): Do not use BP_SYM.
41117         (remquol): Likewise.
41118         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
41119         "bp-asm.h".
41120         (PARMS): Do not use macros from bp-asm.h.
41121         (DEST): Likewise.
41122         (SRC): Likewise.
41123         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
41124         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
41125         "bp-asm.h".
41126         (PARMS): Do not use macros from bp-asm.h.
41127         (strlen): Do not use BP_SYM.
41128         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
41129         "bp-asm.h".
41130         (PARMS): Do not use macros from bp-asm.h.
41131         (S1): Likewise.
41132         (S2): Likewise.
41133         (SIZE): Likewise.
41134         (__mpn_add_n): Do not use BP_SYM.
41135         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
41136         "bp-asm.h".
41137         (PARMS): Do not use macros from bp-asm.h.
41138         (S1): Likewise.
41139         (SIZE): Likewise.
41140         (__mpn_addmul_1): Do not use BP_SYM.
41141         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
41142         weak_alias.
41143         (bzero): Likewise.
41144         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
41145         "bp-asm.h".
41146         (PARMS): Do not use macros from bp-asm.h.
41147         (S): Likewise.
41148         (SIZE): Likewise.
41149         (__mpn_lshift): Do not use BP_SYM.
41150         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
41151         "bp-asm.h".
41152         (PARMS): Do not use macros from bp-asm.h.
41153         (DEST): Likewise.
41154         (SRC): Likewise.
41155         (LEN): Likewise.
41156         (memcpy): Likewise.  Do not use BP_SYM.
41157         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
41158         libc_hidden_def and weak_alias.
41159         (mempcpy): Do not use BP_SYM in weak_alias.
41160         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
41161         "bp-asm.h".
41162         (PARMS): Do not use macros from bp-asm.h.
41163         (DEST): Likewise.
41164         (LEN): Likewise.
41165         [!BZERO_P] (CHR): Likewise.
41166         (memset): Likewise.  Do not use BP_SYM.
41167         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
41168         "bp-asm.h".
41169         (PARMS): Do not use macros from bp-asm.h.
41170         (S1): Likewise.
41171         (SIZE): Likewise.
41172         (__mpn_mul_1): Do not use BP_SYM.
41173         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
41174         "bp-asm.h".
41175         (PARMS): Do not use macros from bp-asm.h.
41176         (S): Likewise.
41177         (SIZE): Likewise.
41178         (__mpn_rshift): Do not use BP_SYM.
41179         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
41180         "bp-asm.h".
41181         (PARMS): Do not use macros from bp-asm.h.
41182         (STR): Likewise.
41183         (CHR): Likewise.
41184         (strchr): Likewise.  Do not use BP_SYM.
41185         (index): Do not use BP_SYM in weak_alias.
41186         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
41187         "bp-asm.h".
41188         (PARMS): Do not use macros from bp-asm.h.
41189         (DEST): Likewise.
41190         (SRC): Likewise.
41191         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
41192         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
41193         "bp-asm.h".
41194         (PARMS): Do not use macros from bp-asm.h.
41195         (strlen): Do not use BP_SYM.
41196         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
41197         "bp-asm.h".
41198         (PARMS): Do not use macros from bp-asm.h.
41199         (S1): Likewise.
41200         (S2): Likewise.
41201         (SIZE): Likewise.
41202         (__mpn_sub_n): Do not use BP_SYM.
41203         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
41204         "bp-asm.h".
41205         (PARMS): Do not use macros from bp-asm.h.
41206         (S1): Likewise.
41207         (SIZE): Likewise.
41208         (__mpn_submul_1): Do not use BP_SYM.
41209         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
41210         "bp-asm.h".
41211         (PARMS): Do not use macros from bp-asm.h.
41212         (S1): Likewise.
41213         (S2): Likewise.
41214         (SIZE): Likewise.
41215         (__mpn_add_n): Do not use BP_SYM.
41216         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
41217         weak_alias.
41218         (bzero): Likewise.
41219         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
41220         "bp-asm.h".
41221         (PARMS): Do not use macros from bp-asm.h.
41222         (BLK2): Likewise.
41223         (LEN): Likewise.
41224         (memcmp): Do not use BP_SYM.
41225         (bcmp): Do not use BP_SYM in weak_alias.
41226         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
41227         "bp-asm.h".
41228         (PARMS): Do not use macros from bp-asm.h.
41229         (DEST): Likewise.
41230         (SRC): Likewise.
41231         (LEN): Likewise.
41232         (memcpy): Likewise.  Do not use BP_SYM.
41233         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
41234         "bp-asm.h".
41235         (PARMS): Do not use macros from bp-asm.h.
41236         (DEST): Likewise.
41237         (SRC): Likewise.
41238         (LEN): Likewise.
41239         (memmove): Likewise.  Do not use BP_SYM.
41240         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
41241         "bp-asm.h".
41242         (PARMS): Do not use macros from bp-asm.h.
41243         (DEST): Likewise.
41244         (SRC): Likewise.
41245         (LEN): Likewise.
41246         (__mempcpy): Likewise.  Do not use BP_SYM.
41247         (mempcpy): Do not use BP_SYM in weak_alias.
41248         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
41249         "bp-asm.h".
41250         (PARMS): Do not use macros from bp-asm.h.
41251         (DEST): Likewise.
41252         (LEN): Likewise.
41253         [!BZERO_P] (CHR): Likewise.
41254         (memset): Likewise.  Do not use BP_SYM.
41255         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
41256         "bp-asm.h".
41257         (PARMS): Do not use macros from bp-asm.h.
41258         (STR2): Likewise.
41259         (strcmp): Do not use BP_SYM.
41260         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
41261         "bp-asm.h".
41262         (PARMS): Do not use macros from bp-asm.h.
41263         (STR): Likewise.
41264         (DELIM): Likewise.
41265         [USE_AS_STRTOK_R] (SAVE): Likewise.
41266         (FUNCTION): Likewise.  Do not use BP_SYM.
41267         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
41268         aliases.
41269         (strtok_r): Likewise.
41270         (__GI___strtok_r): Likewise.
41271         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
41272         (PARMS): Do not use macros from bp-asm.h.
41273         (S): Likewise.
41274         (SIZE): Likewise.
41275         (__mpn_lshift): Do not use BP_SYM.
41276         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
41277         (PARMS): Do not use macros from bp-asm.h.
41278         (STR): Likewise.
41279         (CHR): Likewise.
41280         (__memchr): Do not use BP_SYM.
41281         (memchr): Do not use BP_SYM in weak_alias.
41282         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
41283         (PARMS): Do not use macros from bp-asm.h.
41284         (BLK2): Likewise.
41285         (LEN): Likewise.
41286         (memcmp): Do not use BP_SYM.
41287         (bcmp): Do not use BP_SYM in weak_alias.
41288         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
41289         (PARMS): Do not use macros from bp-asm.h.
41290         (S1): Likewise.
41291         (SIZE): Likewise.
41292         (__mpn_mul_1): Do not use BP_SYM.
41293         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
41294         "bp-asm.h".
41295         (PARMS): Do not use macros from bp-asm.h.
41296         (STR): Likewise.
41297         (CHR): Likewise.
41298         (__rawmemchr): Do not use BP_SYM.
41299         (rawmemchr): Do not use BP_SYM in weak_alias.
41300         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
41301         (PARMS): Do not use macros from bp-asm.h.
41302         (S): Likewise.
41303         (SIZE): Likewise.
41304         (__mpn_rshift): Do not use BP_SYM.
41305         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
41306         (PARMS): Do not use macros from bp-asm.h.
41307         (SIGMSK): Likewise.
41308         (__sigsetjmp): Likewise.  Do not use BP_SYM.
41309         * sysdeps/i386/start.S: Do not include "bp-sym.h".
41310         (_start): Do not use BP_SYM.
41311         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
41312         (PARMS): Do not use macros from bp-asm.h.
41313         (DEST): Likewise.
41314         (SRC): Likewise.
41315         (__stpcpy): Likewise.  Do not use BP_SYM.
41316         (stpcpy): Do not use BP_SYM in weak_alias.
41317         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
41318         "bp-asm.h".
41319         (PARMS): Do not use macros from bp-asm.h.
41320         (DEST): Likewise.
41321         (SRC): Likewise.
41322         (LEN): Likewise.
41323         (__stpncpy): Likewise.  Do not use BP_SYM.
41324         (stpncpy): Do not use BP_SYM in weak_alias.
41325         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
41326         (PARMS): Do not use macros from bp-asm.h.
41327         (STR): Likewise.
41328         (CHR): Likewise.
41329         (strchr): Likewise.  Do not use BP_SYM.
41330         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
41331         "bp-asm.h".
41332         (PARMS): Do not use macros from bp-asm.h.
41333         (STR): Likewise.
41334         (CHR): Likewise.
41335         (__strchrnul): Likewise.  Do not use BP_SYM.
41336         (strchrnul): Do not use BP_SYM in weak_alias.
41337         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
41338         "bp-asm.h".
41339         (PARMS): Do not use macros from bp-asm.h.
41340         (STOP): Likewise.
41341         (strcspn): Do not use BP_SYM.
41342         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
41343         "bp-asm.h".
41344         (PARMS): Do not use macros from bp-asm.h.
41345         (STR): Likewise.
41346         (STOP): Likewise.
41347         (strpbrk): Likewise.  Do not use BP_SYM.
41348         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
41349         "bp-asm.h".
41350         (PARMS): Do not use macros from bp-asm.h.
41351         (STR): Likewise.
41352         (CHR): Likewise.
41353         (strrchr): Likewise.  Do not use BP_SYM.
41354         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
41355         (PARMS): Do not use macros from bp-asm.h.
41356         (SKIP): Likewise.
41357         (strspn): Do not use BP_SYM.
41358         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
41359         (PARMS): Do not use macros from bp-asm.h.
41360         (STR): Likewise.
41361         (DELIM): Likewise.
41362         (SAVE): Likewise.
41363         (FUNCTION): Likewise.  Do not use BP_SYM.
41364         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
41365         aliases.
41366         (strtok_r): Likewise.
41367         (__GI___strtok_r): Likewise.
41368         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
41369         (PARMS): Do not use macros from bp-asm.h.
41370         (S1): Likewise.
41371         (S2): Likewise.
41372         (SIZE): Likewise.
41373         (__mpn_sub_n): Do not use BP_SYM.
41374         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
41375         "bp-asm.h".
41376         (PARMS): Do not use macros from bp-asm.h.
41377         (S1): Likewise.
41378         (SIZE): Likewise.
41379         (__mpn_submul_1): Do not use BP_SYM.
41380         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
41381         <bp-sym.h>.
41382         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
41383         and <bp-asm.h>.
41384         (PARMS): Do not use macros from bp-asm.h.
41385         (FLAGS): Likewise.
41386         (PTID): Likewise.
41387         (TLS): Likewise.
41388         (CTID): Likewise.
41389         (__clone): Do not use BP_SYM.
41390         (clone): Do not use BP_SYM in weak_alias.
41391         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
41392         and <bp-asm.h>.
41393         (PARMS): Do not use macros from bp-asm.h.
41394         (LEN): Likewise.
41395         (__mmap64): Do not use BP_SYM.
41396         (mmap64): Do not use BP_SYM in weak_alias.
41397         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41398         <bp-sym.h> and <bp-asm.h>.
41399         (PARMS): Do not use macros from bp-asm.h.
41400         (__posix_fadvise64_l64): Do not use BP_SYM.
41401         * sysdeps/unix/sysv/linux/i386/semtimedop.S
41402         (PARMS): Do not use macros from bp-asm.h.
41403         (NSOPS): Likewise.
41404         (semtimedop): Do not use BP_SYM.
41405         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
41406         and <bp-asm.h>.
41408 2013-02-21  Allan McRae  <allan@archlinux.org>
41410         * manual/message.texi (Charset conversion in gettext):
41411         Move @end statement to beginning of line.
41413 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
41416         static.
41417         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41418         Likewise.
41420         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
41421         (denorm): Likewise.
41422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
41423         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
41425 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41427         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
41428         tail-call to the resolved function if pltexit isn't needed.
41430 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41432         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
41433         or Y being zero as being unlikely.
41434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
41435         Likewise.
41437 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
41439         * manual/nss.texi (System Databases and Name Service Switch):
41440         Remove frobnicate @pxref.
41442 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
41444         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
41445         __attribute__ ((unused)) to __attribute__ ((__unused__)).
41447 2013-02-20  Petr Machata  <pmachata@redhat.com>
41449         * elf/elf.h (R_ARM_TARGET1): New macro.
41450         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
41451         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
41452         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
41453         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
41454         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
41455         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
41456         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
41457         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
41458         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
41459         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
41460         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
41461         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
41462         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
41463         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
41464         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
41465         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
41466         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
41467         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
41468         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
41469         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
41470         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
41471         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
41472         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
41473         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
41474         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
41475         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
41476         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
41477         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
41478         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
41479         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
41480         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
41481         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
41482         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
41483         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
41484         (R_ARM_THM_GOT_BREL12): Likewise.
41485         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
41486         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
41487         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
41488         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
41489         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
41490         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
41491         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
41492         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
41493         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
41495 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
41497         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
41498         __attribute_used__ to __attribute__ ((unused)).
41500 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41502         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
41503         powerpc mpa.c.
41504         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
41505         comment formatting.
41506         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
41508 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
41510         [BZ #13550]
41511         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
41512         Remove macro.
41513         (ENTER): Remove both macro definitions.
41514         (LEAVE): Likewise.
41515         (CHECK_BOUNDS_LOW): Likewise.
41516         (CHECK_BOUNDS_HIGH): Likewise.
41517         (CHECK_BOUNDS_BOTH): Likewise.
41518         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
41519         (RETURN_BOUNDED_POINTER): Likewise.
41520         (RETURN_NULL_BOUNDED_POINTER): Likewise.
41521         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
41522         (POP_ERRNO_LOCATION_RETURN): Likewise.
41523         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
41524         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41525         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
41526         macros.
41527         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41528         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
41529         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
41530         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
41531         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
41532         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
41533         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
41534         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
41535         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
41536         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
41537         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
41538         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
41539         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41540         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
41541         removed macros.
41542         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41543         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
41544         macros.
41545         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41546         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
41547         * sysdeps/i386/i586/memset.S (memset): Likewise.
41548         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
41549         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41550         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
41551         macros.
41552         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41553         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
41554         Change uses of L(2) to L(out).
41555         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
41556         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
41557         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
41558         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41559         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
41560         removed macros.
41561         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41562         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
41563         macros.
41564         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41565         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
41566         (RETURN): Do not use macro LEAVE.
41567         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
41568         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
41569         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
41570         * sysdeps/i386/i686/memset.S (memset): Likewise.
41571         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
41572         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
41573         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
41574         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
41575         Likewise.
41576         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41577         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
41578         L(1_2) and L(1_3) into L(1).
41579         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
41580         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
41581         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41582         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
41583         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
41584         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
41585         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
41586         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41587         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
41588         macros.
41589         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
41590         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41591         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
41592         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
41593         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
41594         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41595         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
41596         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
41597         * sysdeps/i386/strcspn.S (strcspn): Likewise.
41598         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
41599         * sysdeps/i386/strrchr.S (strrchr): Likewise.
41600         * sysdeps/i386/strspn.S (strspn): Likewise.
41601         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
41602         conditional code.
41603         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41604         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
41605         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
41606         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
41607         L(1_3) into L(1_1).
41608         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
41609         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41610         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
41611         macros.
41612         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41614 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
41616         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
41617         macro.
41619 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41621         * math/atest-exp.c (exp_mpn): Remove ROUND.
41622         * math/atest-exp2.c (exp_mpn): Likewise.
41623         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
41625         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
41626         * stdlib/tst-tls-atexit-lib.c: Likewise.
41627         * stdlib/tst-tls-atexit.c: Likewise.
41629 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41631         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
41632         and __attribute_alloc_size__.
41634 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41636         * include/programs/xmalloc.h: Change __attribute_alloc_size to
41637         __attribute_alloc_size__.
41638         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
41639         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
41641 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41643         * include/programs/xmalloc.h: New file.
41644         * catgets/gencat.c: Include it.
41645         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
41646         * elf/pldd.c: Likewise.
41647         * iconv/iconv_charmap.c: Likewise.
41648         * iconv/iconvconfig.c: Likewise.
41649         * iconv/strtab.c: Likewise.
41650         * locale/programs/locale.c: Likewise.
41651         * locale/programs/localedef.h: Likewise.
41652         * locale/programs/simple-hash.c: Likewise.
41653         * nscd/nscd.h: Likewise.
41654         * nss/makedb.c: Likewise.
41655         * sysdeps/generic/ldconfig.h: Likewise.
41657 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41659         * Versions.def: Add GLIBC_2.18.
41660         * include/link.h (struct link_map): New member l_tls_dtor_count.
41661         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
41662         (__call_tls_dtors): Likewise.
41663         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
41664         __cxa_thread_atexit_impl.
41665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41666         Likewise.
41667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41668         Likewise.
41669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41670         Likewise.
41671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41672         Likewise.
41673         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
41675         Likewise.
41676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
41677         Likewise.
41678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41680         Likewise.
41681         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
41682         (tests): Add test case tst-tls-atexit.
41683         (modules-names): Add shared library for tst-tls-atexit.
41684         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
41685         (GLIBC_PRIVATE): Add __call_tls_dtors.
41686         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
41687         for libstdc++.
41688         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
41689         * stdlib/tst-tls-atexit.c: New test case.
41690         * stdlib/tst-tls-atexit-lib.c: New test case.
41692         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
41694         * elf/Versions (ld): Add _dl_find_dso_for_object.
41695         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
41696         * elf/dl-open.c (_dl_find_dso_for_object): New function.
41697         (dl_open_worker): Use _dl_find_dso_for_object.
41698         * elf/dl-sym.c (do_sym): Likewise.
41699         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
41701 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41703         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
41704         Syntactic changes only.
41705         (_dl_runtime_profile): Do a tail-call to the resolved function.
41707 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
41709         [BZ #13550]
41710         * sysdeps/x86_64/bp-asm.h: Remove file.
41711         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
41712         <bp-sym.h> and <bp-asm.h>.
41713         (__clone): Do not use BP_SYM.
41714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
41715         <bp-sym.h> and <bp-asm.h>.
41716         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41717         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
41718         "bp-asm.h".
41719         (_setjmp): Do not use BP_SYM.
41720         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
41721         "bp-asm.h".
41722         (setjmp): Do not use BP_SYM.
41723         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
41724         libc_hidden_def.
41725         (mempcpy): Do not use BP_SYM in weak_alias.
41726         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
41727         "bp-asm.h".
41728         (strchr): Do not use BP_SYM.
41729         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
41730         "bp-asm.h".
41731         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
41732         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
41733         (_start): Do not use BP_SYM.
41734         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
41735         "bp-asm.h".
41736         (strcat): Do not use BP_SYM.
41737         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
41738         "bp-asm.h".
41739         (STRCMP): Do not use BP_SYM.
41740         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
41741         "bp-asm.h".
41742         (STRCPY): Do not use BP_SYM.
41743         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
41744         "bp-asm.h".
41745         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
41746         "bp-asm.h".
41747         (FUNCTION): Do not use BP_SYM.
41748         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
41749         weak_alias.
41750         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
41752 2013-02-17  Andreas Jaeger  <aj@suse.de>
41754         * time/Versions: Sort entries.
41755         * string/Versions: Likewise.
41756         * resolv/Versions: Likewise.
41757         * posix/Versions: Likewise.
41758         * iconv/Versions: Likewise.
41759         * elf/Versions: Likewise.
41760         * wcsmbs/Versions: Likewise.
41762 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41764         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
41765         loop termination condition.
41767         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
41768         variable to calculate EZ.
41769         (__sqr): Likewise.
41771         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
41772         the lower precision input.
41774 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
41776         [BZ #13550]
41777         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
41778         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
41779         (run-via-rtld-prefix): Do not handle %-bp tests.
41780         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
41781         (all-object-suffixes): Remove .ob.
41782         (bppfx): Remove variable.
41783         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
41784         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
41785         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
41786         [$(build-bounded) = yes] (libtype.ob): Likewise.
41787         * Makerules (elide-routines.ob): Remove variable.
41788         (do-tests-clean): Do not handle *-bp.out.
41789         (common-mostlyclean): Do not handle *-bp and *-bp.out.
41790         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
41791         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41792         (tests): Do not include $(tests-bp.out).
41793         (xtests): Do not include $(xtests-bp.out).
41794         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
41795         [$(build-bounded) = yes] ($(addprefix
41796         $(objpfx),$(binaries-bounded))): Remove rule.
41797         ($(objpfx)%-bp.out): Remove rule.
41798         * config.make.in (build-bounded): Remove variable.
41799         * crypt/Makefile [$(build-bounded) = yes]
41800         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
41801         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
41802         append to variable.
41803         [$(build-bounded) = yes] (install-lib): Likewise.
41804         [$(build-bounded) = yes] (generated): Likewise.
41805         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
41806         Remove rule.
41807         * intl/Makefile [$(build-bounded) = yes]
41808         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
41809         * math/Makefile [$(build-bounded) = yes]
41810         ($(tests:%=$(objpfx)%-bp): Likewise.
41811         * misc/Makefile [$(build-bounded) = yes]
41812         ($(objpfx)tst-tsearch-bp): Likewise.
41813         * nptl/Makeconfig (bounded-thread-library): Remove variable.
41814         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
41815         Remove dependency.
41816         * string/Makefile (o-objects.ob): Remove variable.
41817         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
41818         (CFLAGS-.ob): Remove variable.
41819         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
41820         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
41821         both definitions of variable.
41822         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
41823         (ASFLAGS-.ob): Remove variable.
41825 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
41827         [BZ #13550]
41828         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
41829         Remove __BOUNDED_POINTERS__ from condition.
41830         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
41831         * string/bits/string2.h [!__NO_STRING_INLINES &&
41832         !__BOUNDED_POINTERS__]: Likewise.
41833         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
41834         Likewise.
41835         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
41836         Remove conditional code.
41837         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
41838         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
41839         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
41840         condition.
41842         [BZ #13550]
41843         * csu/libc-start.c: Do not include <bp-sym.h>.
41844         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
41845         * elf/dl-open.c: Do not include <bp-sym.h>.
41846         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
41847         * math/fegetenv.c: Do not include <bp-sym.h>.
41848         (fegetenv): Do not use BP_SYM in versioned symbols.
41849         * nptl/sysdeps/pthread/bits/libc-lockP.h
41850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
41851         <bp-sym.h>.
41852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41853         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
41854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41855         (__pthread_mutex_destroy): Likewise.
41856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41857         (__pthread_mutex_lock): Likewise.
41858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41859         (__pthread_mutex_trylock): Likewise.
41860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41861         (__pthread_mutex_unlock): Likewise.
41862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41863         (__pthread_mutexattr_init): Likewise.
41864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41865         (__pthread_mutexattr_destroy): Likewise.
41866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41867         (__pthread_mutexattr_settype): Likewise.
41868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41869         (__pthread_rwlock_init): Likewise.
41870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41871         (__pthread_rwlock_destroy): Likewise.
41872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41873         (__pthread_rwlock_rdlock): Likewise.
41874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41875         (__pthread_rwlock_tryrdlock): Likewise.
41876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41877         (__pthread_rwlock_wrlock): Likewise.
41878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41879         (__pthread_rwlock_trywrlock): Likewise.
41880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41881         (__pthread_rwlock_unlock): Likewise.
41882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41883         (__pthread_key_create): Likewise.
41884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41885         (__pthread_setspecific): Likewise.
41886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41887         (__pthread_getspecific): Likewise.
41888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
41889         Likewise.
41890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41891         (_pthread_cleanup_push_defer): Likewise.
41892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41893         (_pthread_cleanup_pop_restore): Likewise.
41894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41895         (pthread_setcancelstate): Likewise.
41896         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
41897         <bp-sym.h>.
41898         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
41899         (memchr): Do not use BP_SYM in weak_alias.
41900         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
41901         (fegetenv): Do not use BP_SYM in versioned symbols.
41902         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
41903         (fesetenv): Do not use BP_SYM in versioned symbols.
41904         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41905         (feupdateenv): Do not use BP_SYM in versioned symbols.
41906         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41907         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41908         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
41909         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
41910         (open64): Do not use BP_SYM in weak_alias.
41911         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
41912         (fegetenv): Do not use BP_SYM in versioned symbols.
41913         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
41914         (fesetenv): Do not use BP_SYM in versioned symbols.
41915         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41916         (feupdateenv): Do not use BP_SYM in versioned symbols.
41917         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
41918         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
41919         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
41920         (feraiseexcept): Do not use BP_SYM in versioned symbols.
41921         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41922         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41923         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
41924         <bp-sym.h>.
41925         (__libc_start_main): Do not use BP_SYM.
41927 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41929         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
41930         redundant return line.
41931         (norm): Likewise.
41932         (denorm): Likewise.
41933         (dbl_mp): Likewise.
41934         (sub_magnitudes): Likewise.
41935         (__add): Likewise.
41936         (__sub): Likewise.
41937         (__mul): Likewise.
41938         (__inv): Likewise.
41939         (__dvd): Likewise.
41940         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
41941         (norm): Likewise.
41942         (denorm): Likewise.
41943         (dbl_mp): Likewise.
41944         (sub_magnitudes): Likewise.
41945         (__add): Likewise.
41946         (__sub): Likewise.
41947         (__mul): Likewise.
41948         (__inv): Likewise.
41949         (__dvd): Likewise.
41951         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41952         instead of __mul.
41953         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41954         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41955         (cc32): Likewise.
41957         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41958         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41959         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41960         of __mul for squares.
41961         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41962         function
41963         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41964         Likewise.
41965         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41966         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41968 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
41970         [BZ #13550]
41971         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41972         code.
41973         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41974         prototype or function definition.  Rename ubp_* variables and
41975         parameters.  Remove argv definitions conditional on
41976         [__BOUNDED_POINTERS__].
41977         * debug/backtrace.c (__backtrace): Do not use __unbounded.
41978         * elf/dl-runtime.c (_dl_fixup): Likewise.
41979         * include/set-hooks.h (RUN_HOOK): Likewise.
41980         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41981         definition.
41982         * string/strcpy.c (strcpy): Do not use __unbounded.
41983         * sysdeps/generic/frame.h (struct layout): Likewise.
41984         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41985         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41986         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41987         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41988         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41989         (__backtrace): Likewise.
41990         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41991         use __ptrvalue.
41992         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41993         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41994         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41995         Likewise.
41996         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41997         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41998         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41999         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
42000         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
42001         Do not use __unbounded.
42002         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
42003         Rename __unboundedrlimits parameter to rlimits in prototype.
42004         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
42005         Do not use __unbounded.
42006         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
42007         not use __ptrvalue.
42008         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
42009         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
42010         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
42011         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
42012         __ptrvalue or __unbounded.
42013         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
42014         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
42015         use __unbounded.
42016         (__new_msgctl): Do not use __ptrvalue.
42017         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
42018         __unbounded.
42019         (__libc_msgrcv): Do not use __ptrvalue.
42020         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
42021         startup_info): Do not use __unbounded.
42022         (__libc_start_main): Likewise.  Rename ubp_* variables and
42023         parameters.  Remove argv definitions conditional on
42024         [__BOUNDED_POINTERS__].
42025         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
42026         __ptrvalue.
42027         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
42028         use __unbounded.
42029         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
42030         or __ptrvalue.
42031         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
42032         use __unbounded.
42033         (__new_shmctl): Do not use __ptrvalue.
42034         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
42035         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
42036         Likewise.
42037         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
42038         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
42039         (__libc_sigaction): Likewise.
42040         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
42041         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
42042         Likewise.
42043         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
42045 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
42047         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
42049         * string/mempcpy.c: Implement by calling memcpy.
42051 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
42055         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
42056         evaluation.
42058         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
42059         values in the mantissa.
42061         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
42062         minimize writes to Z.
42063         (sub_magnitudes): Simplify code a bit.
42065 2013-02-12  Roland McGrath  <roland@hack.frob.com>
42067         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
42068         from the message.  The linker prefixes all warnings with that already.
42070 2013-02-12  Andreas Schwab  <schwab@suse.de>
42072         [BZ #15078]
42073         * posix/regexec.c (extend_buffers): Add parameter min_len.
42074         (check_matching): Pass minimum needed length.
42075         (clean_state_log_if_needed): Likewise.
42076         (get_subexp): Likewise.
42077         * posix/Makefile (tests): Add bug-regex34.
42078         (bug-regex34-ENV): Define.
42079         * posix/bug-regex34.c: New file.
42081         [BZ #11561]
42082         * posix/regcomp.c (parse_bracket_exp): When looking up collating
42083         elements compare against the byte sequence of it, not its name.
42084         * posix/Makefile (tests): Add bug-regex35.
42085         (bug-regex35-ENV): Define.
42086         * posix/bug-regex35.c: New file.
42088 2013-02-11  Tom de Vries  <tom@codesourcery.com>
42090         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
42091         comment.
42092         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
42093         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
42094         (CHECK_EOL): Add undef.
42096 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
42098         * bits/stdlib-bsearch.h: New file.
42099         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
42100         * stdlib/stdlib.h: Likewise.
42102 2013-02-11  Roland McGrath  <roland@hack.frob.com>
42104         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
42105         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
42106         declaration.
42107         * manual/search.texi (Array Search Function): Add missing const in
42108         lfind prototype.
42109         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
42110         declaration to use rlim_t.
42111         (Basic Scheduling Functions): Remove erroneous const from
42112         sched_getparam prototype.  Remove erroneous * from
42113         sched_get_priority_max and sched_get_priority_min prototypes.
42114         (Resource Usage): Fix summary @comment on vtimes to refer to
42115         sys/vtimes.h rather than vtimes.h.
42116         Add missing *s in vtimes prototype.
42117         (Limits on Resources): Fix ulimit prototype to return long int.
42118         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
42119         prototypes to use long int rather than double.
42120         (BSD Random): Fix initstate and setstate to use char *, not void *.
42121         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
42122         prototype to make second argument 'struct aiocb64 *const[]'.
42123         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
42124         (Status of AIO Operations): Remove erroneous const in aio_return and
42125         aio_return64 prototypes.
42126         (Synchronizing I/O): Fix sync prototype to return void.
42127         * manual/startup.texi (Suboptions): Remove an erroneous const in
42128         getsubopt prototype.
42129         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
42130         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
42131         use size_t rather than int.
42132         (Scanning All Users): Likewise for getpwent_r.
42133         (Setting Groups): Add missing const to setgroups prototype.
42134         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
42135         * manual/socket.texi (Host Names): Fix gethostbyaddr and
42136         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
42137         'const void *' rather than 'const char *'.
42138         (Host Address Functions): Likewise for inet_ntop.
42139         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
42140         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
42141         ssize_t for return value.
42142         (Sending Data): Likewise for send, sendto, sendmsg.
42143         (Socket Option Functions): Add a missing const in setsockopt prototype.
42144         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
42145         use wchar_t for the argument.
42146         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
42147         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
42148         take no arguments.
42149         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
42150         double/float/long double for second argument.
42151         Fix return types of significand, significandf, significandl.
42152         * manual/filesys.texi (Setting Permissions): Use mode_t for second
42153         argument in fchmod prototype.
42154         (File Owner): Use uid_t and gid_t in fchown prototype.
42155         (File Times): Add const to utimes, futimes, and lutimes prototypes.
42156         (Making Special Files): Use mode_t and dev_t in mknod prototype.
42157         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
42158         use 'const struct dirent **' as argument types to CMP function pointer
42159         argument.
42160         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
42161         (File Times): Fix summary magic @comment for struct utimbuf and utime
42162         to refer to utime.h, not time.h.
42163         * manual/string.texi (Argz Functions): Add missing const in
42164         argz_extract and argz_next prototypes.
42165         (Finding Tokens in a String): Likewise for basename.
42166         (String/Array Comparison): Fix typo in wcscasecmp prototype.
42167         (Copying and Concatenation): Fix typo in wmemmove prototype.
42168         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
42169         (Signal Stack): Remove erroneous const in sigstack prototype.
42170         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
42171         prototype.
42172         (Simple Calendar Time): Likewise for stime.
42173         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
42174         prototype.
42175         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
42176         say sys/sysctl.h instead.
42177         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
42178         and vsyslog prototypes.
42180 2013-02-11  Tom de Vries  <tom@codesourcery.com>
42182         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
42183         Remove.
42185 2013-02-11  Roland McGrath  <roland@hack.frob.com>
42187         * misc/sys/mman.h: Fix typo in mremap comment.
42189 2013-02-08  Roland McGrath  <roland@hack.frob.com>
42191         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
42192         the '\0' terminator.
42194 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
42196         [BZ #13550]
42197         * debug/segfault.c: Don't include <bp-checks.h>.
42198         * sysdeps/generic/bp-checks.h: Remove file.
42199         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
42200         (__GETDENTS): Don't use CHECK_N.
42201         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
42202         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
42203         (__getgroups): Don't use CHECK_N.
42204         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
42205         (setgroups): Don't use CHECK_N.
42206         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
42207         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
42208         (__libc_msgrcv): Don't use CHECK_N.
42209         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
42210         (__libc_msgsnd): Don't use CHECK_N.
42211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
42212         <bp-checks.h>.
42213         (__libc_pread): Don't use CHECK_N.
42214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
42215         include <bp-checks.h>.
42216         (__libc_pread64): Don't use CHECK_N.
42217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
42218         include <bp-checks.h>.
42219         (__libc_pwrite): Don't use CHECK_N.
42220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
42221         include <bp-checks.h>.
42222         (__libc_pwrite64): Don't use CHECK_N.
42223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
42224         <bp-checks.h>.
42225         (__libc_pread): Don't use CHECK_N.
42226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
42227         include <bp-checks.h>.
42228         (__libc_pread64): Don't use CHECK_N.
42229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
42230         include <bp-checks.h>.
42231         (__libc_pwrite): Don't use CHECK_N.
42232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
42233         include <bp-checks.h>.
42234         (__libc_pwrite64): Don't use CHECK_N.
42235         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
42236         (do_pread): Don't use CHECK_N.
42237         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
42238         (do_pread64): Don't use CHECK_N.
42239         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
42240         (do_pwrite): Don't use CHECK_N.
42241         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
42242         (do_pwrite64): Don't use CHECK_N.
42243         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
42244         (__libc_readv): Don't use CHECK_N.
42245         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
42246         (semop): Don't use CHECK_N.
42247         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
42248         <bp-checks.h>.
42249         (semtimedop): Don't use CHECK_N.
42250         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
42251         (__libc_pread): Don't use CHECK_N.
42252         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
42253         <bp-checks.h>.
42254         (__libc_pread64): Don't use CHECK_N.
42255         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
42256         <bp-checks.h>.
42257         (__libc_pwrite): Don't use CHECK_N.
42258         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
42259         <bp-checks.h>.
42260         (__libc_pwrite64): Don't use CHECK_N.
42261         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
42262         <bp-checks.h>.
42263         (__libc_msgrcv): Don't use CHECK_N.
42264         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
42265         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
42266         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
42267         (__libc_writev): Don't use CHECK_N.
42269 2013-02-08  Roland McGrath  <roland@hack.frob.com>
42271         * string/strcpy.c: Removed unused variable.
42273         * Makeconfig (+sysdep-includes): Define with := rather than =.
42274         Use an existing include/ subdir of each sysdeps dir before it.
42276 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
42278         * nscd/connection.c (register_traced_file): Comment function.
42279         [HAVE_INOTIFY] (union __inev): Define.
42280         [HAVE_INOTIFY] (inotify_check_files): New function.
42281         [HAVE_INOTIFY] (clear_db_cache): Likewise.
42282         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
42283         clear_db_cache.
42284         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
42286 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
42288         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
42289         loaded if not already and that a failure is permanent.
42291 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
42293         [BZ #15006]
42294         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
42295         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
42297 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
42299         [BZ #13550]
42300         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
42301         (CHECK_1_NULL_OK): Likewise.
42302         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
42303         (__fxstat): Do not use CHECK_1.
42304         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
42305         <bp-checks.h>.
42306         (___fxstat64): Do not use CHECK_1.
42307         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42308         <bp-checks.h>.
42309         (__fxstatat): Do not use CHECK_1.
42310         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42311         <bp-checks.h>.
42312         (__fxstatat64): Do not use CHECK_1.
42313         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
42314         <bp-checks.h>.
42315         (__fxstat): Do not use CHECK_1.
42316         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42317         <bp-checks.h>.
42318         (__fxstatat): Do not use CHECK_1.
42319         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42320         <bp-checks.h>.
42321         (__getresgid): Do not use CHECK_1.
42322         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42323         <bp-checks.h>.
42324         (__getresuid): Do not use CHECK_1.
42325         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
42326         <bp-checks.h>.
42327         (__lxstat): Do not use CHECK_1.
42328         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42329         <bp-checks.h>.
42330         (__old_msgctl): Do not use CHECK_1.
42331         (__new_msgctl): Likewise.
42332         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
42333         <bp-checks.h>.
42334         (__new_setrlimit): Do not use CHECK_1.
42335         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42336         <bp-checks.h>.
42337         (__old_shmctl): Do not use CHECK_1.
42338         (__new_shmctl): Likewise.
42339         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
42340         <bp-checks.h>.
42341         (__xstat): Do not use CHECK_1.
42342         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
42343         (__lxstat): Do not use CHECK_1.
42344         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
42345         <bp-checks.h>.
42346         (___lxstat64): Do not use CHECK_1.
42347         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
42348         (__old_msgctl): Do not use CHECK_1.
42349         (__new_msgctl): Likewise.
42350         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
42351         <bp-checks.h>.
42352         (__gettimeofday): Do not use CHECK_1.
42353         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
42354         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
42355         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
42356         <bp-checks.h>.
42357         (__gettimeofday): Do not use CHECK_1.
42358         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
42359         (__old_shmctl): Do not use CHECK_1_NULL_OK.
42360         (__new_shmctl): Do not use CHECK_1.
42361         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
42362         <bp-checks.h>.
42363         (do_sigtimedwait): Do not use CHECK_1.
42364         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
42365         <bp-checks.h>.
42366         (do_sigwaitinfo): Do not use CHECK_1.
42367         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
42368         <bp-checks.h>.
42369         (msgctl): Do not use CHECK_1.
42370         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
42371         <bp-checks.h>.
42372         (shmctl): Do not use CHECK_1.
42373         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
42374         (ustat): Do not use CHECK_1.
42375         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
42376         <bp-checks.h>.
42377         (__fxstat): Do not use CHECK_1.
42378         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42379         <bp-checks.h>.
42380         (__fxstatat): Do not use CHECK_1.
42381         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
42382         <bp-checks.h>.
42383         (__lxstat): Do not use CHECK_1.
42384         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
42385         <bp-checks.h>.
42386         (__xstat): Do not use CHECK_1.
42387         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
42388         (__xstat): Do not use CHECK_1.
42389         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
42390         (___xstat64): Do not use CHECK_1.
42392         [BZ #13550]
42393         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
42394         definitions.
42395         (CHECK_BOUNDS_HIGH): Likewise.
42396         * string/strcpy.c: Do not include <bp-checks.h>.
42397         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
42399 2013-02-07  Roland McGrath  <roland@hack.frob.com>
42401         * nscd/nscd-client.h (__nscd_drop_map_ref):
42402         Add __attribute__ ((unused)).
42403         * nis/nss-nisplus.h (niserr2nss): Likewise.
42405         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
42406         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
42408         * csu/libc-tls.c (init_static_tls, init_slotinfo):
42409         Remove inline keyword.
42410         * include/rounding-mode.h (round_away): Likewise.
42411         * libio/wfileops.c (adjust_wide_data): Likewise.
42412         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
42413         (__m128i_strloadu_tolower): Likewise.
42414         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
42415         (__m128i_strloadu_tolower): Likewise.
42416         * time/mktime.c (ydhms_diff): Likewise.
42417         * locale/elem-hash.h (elem_hash): Likewise.
42418         * locale/setlocale.c (setdata): Likewise.
42419         * posix/regex_internal.h (re_string_char_size_at): Likewise.
42420         (re_string_wchar_at): Likewise.
42421         (bitset_not, bitset_merge, bitset_mask): Likewise.
42422         [!(__GNUC__ > 3)] (inline): Remove macro.
42423         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
42424         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
42425         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
42426         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
42427         * string/memcmp.c (memcmp_bytes): Likewise.
42428         * locale/programs/locarchive.c (compute_hashval): Likewise.
42429         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
42430         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
42431         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
42432         * nss/getent.c (print_rpc, print_protocols): Likewise.
42433         (print_passwd, print_group, print_aliases): Likewise.
42434         * nis/nss-nisplus.h (niserr2nss): Likewise.
42435         * nscd/connections.c (restart_p): Likewise.
42436         Change return type to bool.
42438 2013-02-05  Roland McGrath  <roland@hack.frob.com>
42440         * Makeconfig (all-Depend-files): Add existing
42441         $(sorted-subdirs:=/Depend) files.
42442         (all-subdirs): Remove nss.
42443         * sysdeps/unix/inet/Subdirs: Add it here instead.
42444         * hesiod/Depend: New file.
42446         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
42447         instead of calling alloca.
42449         * io/lseek.c (__lseek): Rename to __libc_lseek.
42450         Define __lseek as an alias.
42452         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
42454 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
42456         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
42457         else clause and remove check for non-standard endianness.
42459 2013-02-04  David S. Miller  <davem@davemloft.net>
42461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42463 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
42465         [BZ #13550]
42466         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
42467         (__ubp_memchr): Remove prototype.
42468         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
42469         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
42470         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
42471         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
42472         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
42473         Remove alias.
42474         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
42475         (__ubp_memchr): Likewise.
42476         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
42477         (__ubp_memchr): Likewise.
42478         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
42479         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
42480         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
42481         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
42482         CHECK_STRING.
42483         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42484         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
42485         (__getcwd): Do not use CHECK_STRING.
42486         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42487         <bp-checks.h>.
42488         (__real_chown): Do not use CHECK_STRING.
42489         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
42490         <bp-checks.h>.
42491         (fchownat): Do not use CHECK_STRING.
42492         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
42493         CHECK_STRING.
42494         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42495         <bp-checks.h>.
42496         (__lchown): Do not use CHECK_STRING.
42497         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
42498         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
42499         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
42500         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
42501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42502         include <bp-checks.h>.
42503         (truncate64): Do not use CHECK_STRING.
42504         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42505         <bp-checks.h>.
42506         (__real_chown): Do not use CHECK_STRING.
42507         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42508         <bp-checks.h>.
42509         (__lchown): Do not use CHECK_STRING.
42510         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42511         <bp-checks.h>.
42512         (__chown): Do not use CHECK_STRING.
42513         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
42514         <bp-checks.h>.
42515         (truncate64): Do not use CHECK_STRING.
42516         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
42517         Likewise.
42518         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
42519         (__xmknod): Do not use CHECK_STRING.
42520         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42521         <bp-checks.h>.
42522         (__xmknodat): Do not use CHECK_STRING.
42523         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
42524         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
42526 2013-02-04  Andreas Schwab  <schwab@suse.de>
42528         [BZ #14142]
42529         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
42530         * include/netdb.h: Likewise for h_errno.
42531         * elf/tst-stackguard1.c: Include <tls.h>.
42533 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
42535         * elf/link.h (struct link_map): Extend the l_addr comment.
42536         * include/link.h (struct link_map): Likewise.
42538 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
42540         [BZ #13550]
42541         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
42542         (BOUNDED_1): Remove macro.
42543         * debug/backtrace.c: Don't include <bp-checks.h>.
42544         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
42545         (__backtrace): Likewise.
42546         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
42547         <bp-checks.h>.
42548         (__backtrace): Don't use BOUNDED_1.
42549         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
42550         <bp-checks.h>.
42551         (__backtrace): Don't use BOUNDED_1.
42552         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
42553         (__backtrace): Don't use BOUNDED_1.
42554         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
42555         (shmat): Don't use BOUNDED_N.
42557 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
42559         [BZ #13550]
42560         * sysdeps/generic/bp-start.h: Remove file.
42561         * csu/libc-start.c: Don't include <bp-start.h>.
42562         (LIBC_START_MAIN): Set up __environ directly instead of using
42563         INIT_ARGV_and_ENVIRON.
42564         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
42565         <bp-start.h>.
42567         [BZ #13550]
42568         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
42569         definitions.
42570         (CHECK_FCNTL): Likewise.
42571         (CHECK_N_PAGES): Likewise.
42573         [BZ #13550]
42574         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
42575         definitions.
42576         (CHECK_SIGSET_NULL_OK): Likewise.
42577         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
42578         <bp-checks.h>.
42579         (sigpending): Don't use CHECK_SIGSET.
42580         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
42581         <bp-checks.h>.
42582         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42583         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
42584         <bp-checks.h>.
42585         (do_sigsuspend): Don't use CHECK_SIGSET.
42586         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
42587         use CHECK_SIGSET.
42588         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
42589         (do_sigwait): Don't use CHECK_SIGSET.
42590         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
42591         use CHECK_SIGSET.
42592         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
42593         include <bp-checks.h>.
42594         (sigpending): Don't use CHECK_SIGSET.
42595         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
42596         include <bp-checks.h>.
42597         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42598         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
42599         <bp-checks.h>.
42600         (sigpending): Don't use CHECK_SIGSET.
42601         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
42602         <bp-checks.h>.
42603         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42605         [BZ #13550]
42606         * sysdeps/generic/bp-semctl.h: Remove file.
42607         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
42608         <bp-checks.h> and <bp-semctl.h>.
42609         (__old_semctl): Don't use CHECK_SEMCTL.
42610         (__new_semctl): Likewise.
42611         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
42612         and <bp-semctl.h>.
42613         (__old_semctl): Don't use CHECK_SEMCTL.
42614         (__new_semctl): Likewise.
42615         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
42616         <bp-checks.h> and <bp-semctl.h>.
42617         (__old_semctl): Don't use CHECK_SEMCTL.
42618         (__new_semctl): Likewise.
42619         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
42620         <bp-checks.h> and <bp-semctl.h>.
42621         (semctl): Don't use CHECK_SEMCTL.
42623         [BZ #13550]
42624         * Makerules (elide-bp-thunks): Remove variable.
42625         (elide-routines.oS): Don't use $(elide-bp-thunks).
42626         (elide-routines.os): Likewise.
42627         (elide-routines.o): Likewise.
42628         (elide-routines.op): Likewise.
42629         (elide-routines.og): Likewise.
42630         (objects): Don't use $(bp-thunks).
42631         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
42632         include.
42633         (common-generated): Do not add s-proto-bp.d.
42634         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
42635         (int): Likewise.
42636         (typ): Likewise.
42637         Do not generate makefile rules for bounded-pointer thunks.
42638         * sysdeps/generic/bp-thunks.h: Remove file.
42639         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
42640         * sysdeps/unix/s-proto-bp.S: Likewise.
42642         [BZ #15062]
42643         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
42644         parts of result separately when argument is not close to line from
42645         -i to i and one part of argument is small.
42646         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42647         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42648         * math/libm-test.inc (cacos_test): Add more tests.
42649         (casin_test): Likewise.
42650         (casinh_test): Likewise.
42651         * sysdeps/i386/fpu/libm-test-ulps: Update.
42652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42654 2013-01-31  David S. Miller  <davem@davemloft.net>
42656         * po/de.po: Update from translation team.
42658 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
42660         * time/tzfile.c: Include stdint.h for SIZE_MAX.
42662 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
42664         * configure.in (_AC_PROG_CC_C89): New definition.
42665         * configure: Regenerate.
42667         * configure.in (AC_PROG_CPP): New definition.
42668         * configure: Regenerate.
42670 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
42672         * debug/tst-backtrace.h: New file.
42673         * debug/tst-backtrace2.c: Include tst-backtrace.h.
42674         (ret): Remove variable.
42675         (x): Likewise.
42676         (FAIL): Remove macro.
42677         (NO_INLINE): Likewise.
42678         (fn1): Use match function instead of strstr.
42679         * debug/tst-backtrace3.c: Include tst-backtrace.h.
42680         (ret): Remove variable.
42681         (x): Likewise.
42682         (FAIL): Remove macro.
42683         (NO_INLINE): Likewise.
42684         (fn): Use match function instead of strstr.
42685         * debug/tst-backtrace4.c: Include tst-backtrace.h.
42686         (ret): Remove variable.
42687         (x): Likewise.
42688         (FAIL): Remove macro.
42689         (NO_INLINE): Likewise.
42690         (handle_signal): Use match function instead of strstr.
42691         * debug/tst-backtrace5.c: Include tst-backtrace.h.
42692         (ret): Remove variable.
42693         (x): Likewise.
42694         (FAIL): Remove macro.
42695         (NO_INLINE): Likewise.
42696         (handle_signal): Use match function instead of strstr.
42698 2013-01-23  Roland McGrath  <roland@hack.frob.com>
42700         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
42702 2013-01-23  David S. Miller  <davem@davemloft.net>
42704         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
42705         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
42706         argument of CAS if possible.
42707         * sysdeps/sparc/sparc64/bits/atomic.h
42708         (__arch_compare_and_exchange_val_32_acq): Likewise.
42709         (__arch_compare_and_exchange_val_64_acq): Likewise.
42711 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
42713         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
42714         * sysdeps/posix/ulimit.c: ... this.
42715         Include <limits.h>.
42716         * sysdeps/unix/bsd/ulimit.c: Remove file.
42718 2013-01-23  Adam Conrad  <adconrad@0c3.net>
42720         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
42721         (LDFLAGS-tst-array5): Likewise.
42723 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
42725         [BZ #15036]
42726         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
42727         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
42728         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
42729         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
42731 2013-01-21  David S. Miller  <davem@davemloft.net>
42733         * sysdeps/sparc/backtrace.c: New file.
42734         * sysdeps/sparc/sparc32/backtrace.h: New file.
42735         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
42736         * sysdeps/sparc/sparc64/backtrace.h: New file.
42737         * sysdeps/sparc/sparc64/backtrace.c: Delete.
42738         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
42739         -funwind-tables.
42741 2013-01-21  Andreas Schwab  <schwab@suse.de>
42743         [BZ #15020]
42744         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
42745         closed its stdout.
42747 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
42749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
42750         "mpa2.h".
42751         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42753 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
42754             Mark Mitchell  <mark@codesourcery.com>
42755             Tom de Vries  <tom@codesourcery.com>
42756             Paul Pluzhnikov  <ppluzhnikov@google.com>
42758         * debug/tst-backtrace2.c: New file.
42759         * debug/tst-backtrace3.c: Likewise.
42760         * debug/tst-backtrace4.c: Likewise.
42761         * debug/tst-backtrace5.c: Likewise.
42762         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
42763         (CFLAGS-tst-backtrace3.c): Likewise.
42764         (CFLAGS-tst-backtrace4.c): Likewise.
42765         (CFLAGS-tst-backtrace5.c): Likewise.
42766         (LDFLAGS-tst-backtrace2): Likewise.
42767         (LDFLAGS-tst-backtrace3): Likewise.
42768         (LDFLAGS-tst-backtrace4): Likewise.
42769         (LDFLAGS-tst-backtrace5): Likewise.
42770         (tests): Add new tests tst-backtrace2, tst-backtrace3,
42771         tst-backtrace4 and tst-backtrace5.
42773 2013-01-18  Anton Blanchard  <anton@samba.org>
42774             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42776         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
42777         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
42778         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
42779         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
42780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42781         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
42782         "+r" and remove output regs list as redundant.  Add explicit inline
42783         asm to specify register of return val to work around compiler codegen
42784         bug.  Remove (int) cast on return value.  Add return type parameter to
42785         use in macro so that this macro does not truncate return value for
42786         64-bit values.
42787         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42788         pass to INTERNAL_VSYSCALL_NCS.
42789         (INLINE_VSYSCALL): Add 'long int' as return type to
42790         INTERNAL_VSYSCALL_NCS macro invocation.
42791         (INTERNAL_VSYSCALL): Add 'long int' as return type to
42792         INTERNAL_VSYSCALL_NCS macro invocation.
42793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42795 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42797         [BZ #14496]
42798         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
42799         Fix application of SIMD FP exception mask.
42801         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
42802         mp_no from a power of two.
42803         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
42804         __mpexp_twomm1.  Use __pow_mp.
42806         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
42807         multiplication.
42809 2013-01-17  David S. Miller  <davem@davemloft.net>
42811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42813 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42815         [BZ #15023]
42816         * include/complex.h: Condition contents on [!_COMPLEX_H].
42817         (__kernel_casinhf): New prototype.
42818         (__kernel_casinh): Likewise.
42819         (__kernel_casinhl): Likewise.
42820         * math/Makefile (libm_calls): Add k_casinh.
42821         * math/k_casinh.c: New file.
42822         * math/k_casinhf.c: Likewise.
42823         * math/k_casinhl.c: Likewise.
42824         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
42825         finite nonzero arguments.
42826         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
42827         finite nonzero arguments.
42828         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
42829         finite nonzero arguments.
42830         * math/s_casinh.c: Do not include <float.h>.
42831         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
42832         * math/s_casinhf.c: Do not include <float.h>.
42833         (__casinhf): Move code for finite nonzero arguments to
42834         k_casinhf.c.
42835         * math/s_casinhl.c: Do not include <float.h>.
42836         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
42837         redefine.
42838         (__casinhl): Move code for finite nonzero arguments to
42839         k_casinhl.c.
42840         * math/libm-test.inc (cacos_test): Add more tests.
42841         * sysdeps/i386/fpu/libm-test-ulps: Update.
42842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42844 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
42846         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
42847         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
42848         [!HAVE_MREMAP]: Remove [defined linux] case.
42849         * malloc/arena.c: Do not include <malloc-sysdep.h>.
42851 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42853         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
42855 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
42857         * elf/elf.h (R_386_SIZE32): New relocation.
42858         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
42859         R_386_SIZE32.
42860         (elf_machine_rela): Likewise.
42861         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42862         R_X86_64_SIZE64 and R_X86_64_SIZE32.
42864 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42866         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
42867         (FP_FAST_FMA): Do not define.
42868         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
42869         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
42870         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
42871         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
42872         !_SOFT_FLOAT]: Likewise.
42873         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
42874         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
42875         value.
42876         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
42877         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
42878         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
42879         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
42880         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
42881         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
42882         file.
42884 2013-01-16  Andreas Schwab  <schwab@suse.de>
42886         [BZ #14327]
42887         * include/stdlib.h (__mktemp): Add declaration.
42888         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
42889         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
42891 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42893         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
42894         definitions.
42895         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42896         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
42897         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
42898         definitions here.
42899         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
42900         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
42901         definitions.
42902         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
42903         and ONE.
42904         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
42905         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
42906         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
42907         definitions.
42908         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
42909         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
42910         definitions.
42911         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42913         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
42915 2013-01-15  David S. Miller  <davem@davemloft.net>
42917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42918         trunc{,f} to libm-sysdep_routes.
42919         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
42921         file.
42922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
42923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
42924         file.
42925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
42926         file.
42927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
42928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
42929         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
42930         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
42931         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
42932         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
42933         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
42934         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
42936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42937         nearbyint{,f} to libm-sysdep_routes.
42938         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
42940         New file.
42941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
42942         file.
42943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
42944         New file.
42945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42946         file.
42947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42949         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42950         file.
42951         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42952         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42953         file.
42954         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42955         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42956         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42958         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42959         libc_feholdexcept and libc_fesetenv.
42961 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
42963         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42965 2013-01-14  David S. Miller  <davem@davemloft.net>
42967         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42968         (SPARC_ASM_VIS2_IFUNC): Likewise.
42969         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42971         use of 'siam' instruction.
42972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42973         Likewise.
42974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42975         Likewise.
42976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42977         Likewise.
42978         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42979         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42980         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42981         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42983         file.
42984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42985         file.
42986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42987         file.
42988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42989         file.
42990         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42991         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42993         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42995         new VIS2 routines.
42996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42999         Likewise.
43000         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43001         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
43005         routines to libm-sysdep_routines.
43006         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
43008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
43009         fdim/fdimf to libm-sysdep_routines.
43010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
43011         file.
43012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
43013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
43014         file.
43015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
43016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
43017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
43018         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
43019         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
43020         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
43021         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
43023 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43025         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
43026         to optimize copies.
43028         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
43029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43030         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43032         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
43033         local variable MPTWO.
43034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
43035         Likewise.
43037 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
43039         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
43040         GLOB_NOESCAPE.
43042 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
43044         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
43046 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
43048         * manual/pattern.texi (glob_t): Document gl_flags.
43049         (glob64_t): Likewise.
43051 2013-01-11  David S. Miller  <davem@davemloft.net>
43053         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
43054         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
43055         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
43056         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
43057         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
43058         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
43059         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
43060         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
43061         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
43062         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
43063         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
43064         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
43065         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
43067         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
43068         sparc V9 rather than using V8 code.
43069         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
43070         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
43072         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43073         Move to...
43074         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
43075         Here.
43077 2013-01-11  Roland McGrath  <roland@hack.frob.com>
43079         [BZ #14941]
43080         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
43081         not in the main loop.
43082         * configure: Regenerated.
43084 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
43086         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
43087         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
43088         to just #else.
43089         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
43090         [!__GLIBC_HAVE_LONG_LONG] case.
43091         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
43092         condition to just #else.
43093         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
43094         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
43095         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
43096         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
43097         unconditional.
43098         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
43099         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
43100         #elif condition to just #else.
43101         * sysdeps/unix/sysv/linux/sys/sysmacros.h
43102         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
43103         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
43104         #elif condition to just #else.
43106 2013-01-11  Steve Ellcey  <sellcey@mips.com>
43108         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
43109         (EF_MIPS_ARCH_64): Fix value.
43110         (EF_MIPS_ARCH_32R2): New.
43111         (EF_MIPS_ARCH_64R2): New.
43113 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
43115         * Makeconfig (+link-pie-before-libc): New.
43116         (+link-pie-after-libc): Likewise.
43117         (+link-pie-tests): Likewise.
43118         (+link-pie): Rewritten.
43119         (link-before-libc): Remove $(config-LDFLAGS).
43120         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
43121         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
43122         (config-LDFLAGS): Renamed to ...
43123         (rtld-LDFLAGS): This.
43124         (rtld-tests-LDFLAGS): New macro.
43125         (link-libc-rpath-link): Likewise.
43126         (link-libc-tests-rpath-link): Likewise.
43127         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
43128         (link-libc): Prepand $(link-libc-rpath-link).
43129         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
43130         (test-program-prefix): New macro.
43131         (test-via-rtld-prefix): Likewise.
43132         (test-program-cmd): Likewise.
43133         (host-test-program-cmd): Likewise.
43134         * Makefile ($(common-objpfx)testrun.sh): Replace
43135         $(run-program-prefix) with $(test-program-prefix).
43136         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
43137         $(rtld-LDFLAGS).
43138         ($(common-objpfx)shlib.lds): Likewise.
43139         (build-module-helper): Likewise.
43140         ($(common-objpfx)format.lds): Likewise.
43141         * Rules (binaries-pie-tests): New.
43142         (binaries-pie-notests): Likewise.
43143         (binaries-pie): Rewritten.
43144         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
43145         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
43146         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
43147         (make-test-out): Replace $(host-built-program-cmd) with
43148         $(host-test-program-cmd).
43149         * config.make.in (build-hardcoded-path-in-tests): New variable.
43150         * configure.in (--enable-hardcoded-path-in-tests): New configure
43151         option.
43152         (hardcoded_path_in_tests): New AC_SUBST.
43153         * configure: Regenerated.
43154         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
43155         $(built-program-cmd) with $(test-program-cmd).
43156         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
43157         (test_program_cmd): This.
43158         * elf/Makefile ($(objpfx)order.out): Run test with
43159         $(test-program-prefix).
43160         ($(objpfx)order2.out): Likewise.
43161         ($(objpfx)tst-initorder.out): Likewise.
43162         ($(objpfx)tst-initorder2.out): Likewise.
43163         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
43164         $(test-program-cmd).
43165         ($(objpfx)tst-array1-static.out): Likewise.
43166         ($(objpfx)tst-array2.out): Likewise.
43167         ($(objpfx)tst-array3.out): Likewise.
43168         ($(objpfx)tst-array4.out): Likewise.
43169         ($(objpfx)tst-array5.out): Likewise.
43170         ($(objpfx)tst-array5-static.out): Likewise.
43171         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
43172         $(test-program-cmd).
43173         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
43174         $(run-program-prefix) with $(test-program-prefix).
43175         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
43176         (test_program_prefix): This.
43177         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
43178         $(run-program-prefix) with $(test-program-prefix).
43179         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
43180         (test_program_prefix): This.
43181         * iconvdata/tst-tables.sh: Likewise.
43182         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
43183         $(run-program-prefix) with $(test-program-prefix).
43184         ($(objpfx)tst-translit.out): Likewise.
43185         ($(objpfx)tst-gettext2.out): Likewise.
43186         ($(objpfx)tst-gettext4.out): Likewise.
43187         ($(objpfx)tst-gettext6.out): Likewise.
43188         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
43189         (test_program_prefix): This.
43190         * intl/tst-gettext2.sh: Likewise.
43191         * intl/tst-gettext4.sh  Likewise.
43192         * intl/tst-gettext6.sh: Likewise.
43193         * intl/tst-translit.sh: Likewise.
43194         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
43195         with $(test-program-cmd).
43196         * libio/Makefile ($(objpfx)test-freopen.out): Replace
43197         $(run-program-prefix) with $(test-program-prefix).
43198         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
43199         (test_program_prefix): This.
43200         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
43201         $(run-program-prefix) with $(test-program-prefix).
43202         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
43203         (test_program_prefix): This.
43204         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
43205         * posix/Makefile ($(objpfx)globtest.out): Replace
43206         $(run-via-rtld-prefix) and $(test-wrapper) with
43207         $(test-program-prefix) and $(test-via-rtld-prefix).
43208         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
43209         $(test-program-prefix).
43210         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
43211         $(host-test-program-cmd).
43212         (tst-spawn-ARGS): Likewise.
43213         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
43214         $(test-program-prefix).
43215         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
43216         (test_via_rtld_prefix): This.
43217         (test_wrapper): Renamed to ...
43218         (test_program_prefix): This.
43219         (run_program_prefix): Replaced by test_program_prefix.
43220         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
43221         (test_program_prefix): This.
43222         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
43223         with $(host-test-program-cmd).
43224         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
43225         $(run-program-prefix) with $(test-program-prefix).
43226         ($(objpfx)tst-printf.out): Likewise.
43227         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
43228         $(test-program-cmd).
43229         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
43230         (test_program_prefix): This.
43231         * stdio-common/tst-unbputc.sh: Likewise.
43232         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
43233         $(run-program-prefix) with $(test-program-prefix).
43234         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
43235         (test_program_prefix): This.
43236         * string/Makefile ($(objpfx)tst-svc.out):  Replace
43237         $(built-program-cmd) with $(test-program-cmd).
43239 2013-01-11  Andreas Jaeger  <aj@suse.de>
43241         [BZ #15003]
43242         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
43243         value. Sync with Linux 3.7.
43245 2013-01-10  David S. Miller  <davem@davemloft.net>
43247         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
43248         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
43249         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
43251 2013-01-10  Roland McGrath  <roland@hack.frob.com>
43253         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
43254         never set.
43255         * configure: Regenerated.
43257 2013-01-10  David S. Miller  <davem@davemloft.net>
43259         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
43260         sparc V9 rather than using V8 code.
43261         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
43262         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
43264 2013-01-10  Roland McGrath  <roland@hack.frob.com>
43266         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
43267         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
43268         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
43269         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
43270         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
43271         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
43272         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
43273         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
43274         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
43275         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
43276         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
43277         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
43278         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
43279         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
43280         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
43281         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
43282         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
43283         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
43284         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
43285         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
43286         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
43287         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
43288         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
43289         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
43290         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
43291         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
43292         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
43294 2013-01-10  David S. Miller  <davem@davemloft.net>
43296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43298 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
43300         * posix/Makefile (tests-static): New variable.
43301         (tests): Add $(tests-static).
43302         (tst-exec-static-ARGS): New variable.
43303         (tst-spawn-static-ARGS): Likewise.
43304         * posix/tst-exec-static.c: New file.
43305         * posix/tst-spawn-static.c: Likewise.
43306         * posix/tst-exec.c: Support run directly.
43307         * posix/tst-spawn.c: Likewise.
43309 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
43311         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
43312         long.
43313         * math/bits/mathcalls.h (llrint): Likewise.
43314         (llround): Likewise.
43315         * stdlib/stdlib.h (struct drand48_data): Likewise.
43316         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
43317         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
43318         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
43319         Likewise.
43320         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
43321         Likewise.
43322         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
43323         (elf_greg_t): Likewise.
43324         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
43325         (__jmp_buf): Likewise.
43326         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
43327         definitions.
43328         (llrint): Likewise, for all definitions.
43329         (llrintl): Likewise.
43331         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
43332         Remove [__GNUC__] condition.
43333         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
43334         condition to just [__USE_ISOC99].
43335         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
43337 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
43339         [BZ #14200]
43340         * sysdeps/unix/sysv/linux/x86/bits/environments.h
43341         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
43342         defined.
43343         (_POSIX_V6_ILP32_OFF32): Likewise.
43344         (_XBS5_ILP32_OFF32): Likewise.
43345         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
43346         (__ILP32_OFFBIG_LDFLAGS): Likewise.
43348 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43350         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
43352         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
43353         doubles __mpexp_twomm1.  Adjust usage.
43354         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
43355         Remove.
43357 2013-01-10  Andreas Schwab  <schwab@suse.de>
43359         [BZ #14964]
43360         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
43361         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
43363 2013-01-09  David S. Miller  <davem@davemloft.net>
43365         [BZ #15003]
43366         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
43367         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
43368         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
43369         (TCP_FASTOPEN): Define.
43370         (tcp_repair_opt): New structure.
43371         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
43372         enum values.
43373         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
43374         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
43375         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
43376         (tcp_cookie_transactions): New structure.
43378 2013-01-09  Anton Blanchard  <anton@samba.org>
43380         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
43381         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
43382         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
43383         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
43385 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
43387         * include/features.h (__USE_ANSI): Remove.
43389 2013-01-09  Roland McGrath  <roland@hack.frob.com>
43391         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
43393         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
43395 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
43397         * sysdeps/s390/fpu/libm-test-ulps: Update.
43399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43401         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
43402         (__acr): Likewise.
43403         (__cpy): Likewise.
43404         (norm): Likewise.
43405         (denorm): Likewise.
43406         (__mp_dbl): Likewise.
43407         (__dbl_mp): Likewise.
43408         (add_magnitudes): Likewise.
43409         (sub_magnitudes): Likewise.
43410         (__add): Likewise.
43411         (__sub): Likewise.
43412         (__mul): Likewise.
43413         (__inv): Likewise.
43414         (__dvd): Likewise.
43415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
43416         (__acr): Likewise.
43417         (__cpy): Likewise.
43418         (norm): Likewise.
43419         (denorm): Likewise.
43420         (__mp_dbl): Likewise.
43421         (__dbl_mp): Likewise.
43422         (add_magnitudes): Likewise.
43423         (sub_magnitudes): Likewise.
43424         (__add): Likewise.
43425         (__sub): Likewise.
43426         (__mul): Likewise.
43427         (__inv): Likewise.
43428         (__dvd): Likewise.
43429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
43430         (__acr): Likewise.
43431         (__cpy): Likewise.
43432         (norm): Likewise.
43433         (denorm): Likewise.
43434         (__mp_dbl): Likewise.
43435         (__dbl_mp): Likewise.
43436         (add_magnitudes): Likewise.
43437         (sub_magnitudes): Likewise.
43438         (__add): Likewise.
43439         (__sub): Likewise.
43440         (__mul): Likewise.
43441         (__inv): Likewise.
43442         (__dvd): Likewise.
43444 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
43446         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
43447         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
43448         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
43449         2 && __USE_EXTERN_INLINES]: Likewise.
43451 2013-01-08  Andreas Jaeger  <aj@suse.de>
43453         [BZ# 14985]
43454         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
43455         Remove.
43456         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
43457         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
43459 2013-01-07  Anton Blanchard  <anton@samba.org>
43461         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
43462         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
43463         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
43464         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
43465         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
43466         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43467         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
43468         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43469         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43470         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43471         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43472         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43473         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43474         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43475         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43476         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43477         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43478         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43479         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43480         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
43481         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43482         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
43483         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43484         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43485         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
43486         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
43487         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43488         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
43489         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
43490         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43491         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43493         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43494         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43495         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43496         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43497         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43498         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43499         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
43500         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43501         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
43502         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43503         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43505 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
43507         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
43508         (__MALLOC_PMT): Likewise.
43509         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
43510         [__GNUC__], only on [_LIBC].
43511         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
43512         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
43513         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
43514         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
43515         forward declaration.
43516         (realloc_hook_ini): Likewise.
43517         (memalign_hook_ini): Likewise.
43518         (__libc_memalign): Do not use __MALLOC_PMT in variable
43519         declaration.
43520         (__libc_valloc): Likewise.
43521         (__libc_pvalloc): Likewise.
43522         (__libc_calloc): Likewise.
43523         (__posix_memalign): Likewise.
43525         [BZ #14996]
43526         * math/s_casinh.c: Include <float.h>.
43527         (__casinh): Do not do computation with squaring and square root
43528         for large arguments.
43529         * math/s_casinhf.c: Include <float.h>.
43530         (__casinhf): Do not do computation with squaring and square root
43531         for large arguments.
43532         * math/s_casinhl.c: Include <float.h>.
43533         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
43534         (__casinhl): Do not do computation with squaring and square root
43535         for large arguments.
43536         * math/libm-test.inc (casin_test): Add more tests.
43537         (casinh_test): Likewise.
43538         * sysdeps/i386/fpu/libm-test-ulps: Update.
43539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43541 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
43543         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
43544         (__x86_64_raw_data_cache_size): Likewise.
43545         (__x86_64_data_cache_size_half): Likewise.
43546         (__x86_64_raw_data_cache_size_half): Likewise.
43547         (__x86_64_shared_cache_size): Likewise.
43548         (__x86_64_raw_shared_cache_size): Likewise.
43549         (__x86_64_shared_cache_size_half): Likewise.
43550         (__x86_64_raw_shared_cache_size_half): Likewise.
43551         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
43552         to ...
43553         (__x86_data_cache_size): This.
43554         (__x86_64_raw_data_cache_size): Renamed to ...
43555         (__x86_raw_data_cache_size): This.
43556         (__x86_64_data_cache_size_half): Renamed to ...
43557         (__x86_data_cache_size_half): This.
43558         (__x86_64_raw_data_cache_size_half): Renamed to ...
43559         (__x86_raw_data_cache_size_half): This.
43560         (__x86_64_shared_cache_size): Renamed to ...
43561         (__x86_shared_cache_size): This.
43562         (__x86_64_raw_shared_cache_size): Renamed to ...
43563         (__x86_raw_shared_cache_size): This.
43564         (__x86_64_shared_cache_size_half): Renamed to ...
43565         (__x86_shared_cache_size_half): This.
43566         (__x86_64_raw_shared_cache_size_half): Renamed to ...
43567         (__x86_raw_shared_cache_size_half): This.
43568         * sysdeps/x86_64/memcpy.S: Updated.
43569         * sysdeps/x86_64/memset.S: Likewise.
43570         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43571         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43572         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43574 2013-01-04  David S. Miller  <davem@davemloft.net>
43576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43578 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
43580         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
43581         1 to avoid redefinition warning.
43582         (__USE_GNU): Don't define.
43583         (init_signaling_nan): Protoize.
43585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43587 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43589         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
43590         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
43591         (__cpymn): Likewise.
43592         (norm): Remove commented code.
43593         (denorm): Likewise.
43594         (__mp_dbl): Likewise.
43595         (__inv): Likewise.
43596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
43597         (__cpymn): Likewise.
43598         (norm): Remove commented code.
43599         (denorm): Likewise.
43600         (__mp_dbl): Likewise.
43601         (__inv): Likewise.
43603         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
43604         mp_no value for 1.0 and 2.0.
43605         (norm): Use RADIXI instead of radixi.d.
43606         (denorm): Likewise.
43607         (__mul): Use 0.0 instead of zero.d.
43608         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
43609         mp_no value for 1.0 and 2.0.
43610         (norm): Use RADIXI instead of radixi.d.
43611         (denorm): Likewise.
43612         (__mul): Use 0.0 instead of zero.d.
43614 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
43616         [BZ #14994]
43617         * math/s_casinh.c (__casinh): Reduce finite argument to first
43618         quadrant then set signs of results at the end.
43619         * math/s_casinhf.c (__casinhf): Likewise.
43620         * math/s_casinhl.c (__casinhl): Likewise.
43621         * math/libm-test.inc (casin_test): Add more tests.
43622         (casinh_test): Likewise.
43623         * sysdeps/i386/fpu/libm-test-ulps: Update.
43624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43626 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43628         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
43630         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
43632         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
43633         declarations.
43634         (denorm): Likewise.
43635         (__mp_dbl): Likewise.
43636         (__inv): Likewise.
43638         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
43639         and adjust the header comment.
43641         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
43642         variable name from declaration.
43644 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
43646         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43647         Initialize COMMON_CPUID_INDEX_7 element.
43648         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
43649         (CPUID_RTM): Likewise.
43650         (HAS_RTM): Likewise.
43651         (COMMON_CPUID_INDEX_7): New enum.
43653 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
43655         [BZ #14981]
43656         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
43657         size is zero, record memory as freed.
43659 2013-01-03  Andreas Jaeger  <aj@suse.de>
43661         * po/ia.po: Add new Interlingua translation.
43663 2012-01-03  Allan McRae  <allan@archlinux.org>
43665         * locale/programs/localedef.c: Fix description of '--posix' flag.
43667 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
43669         * NEWS: Update dates in second copyright notice.
43670         * README: Update copyright dates in example.
43671         * manual/libc.texinfo: Update copyright dates.
43672         * scripts/test-installation.pl: Update copyright date in --version
43673         output.
43675         * hurd/ctty-input.c: Fix copyright notice formatting.
43676         * hurd/ctty-output.c: Likewise.
43677         * hurd/dtable.c: Likewise.
43678         * hurd/hurd-raise.c: Likewise.
43679         * hurd/hurdprio.c: Likewise.
43680         * hurd/msgportdemux.c: Likewise.
43681         * misc/sys/file.h: Likewise.
43682         * misc/sys/ioctl.h: Likewise.
43683         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43684         * sysdeps/mach/hurd/chdir.c: Likewise.
43685         * sysdeps/mach/hurd/fchdir.c: Likewise.
43686         * sysdeps/mach/hurd/rename.c: Likewise.
43687         * sysdeps/mach/hurd/rmdir.c: Likewise.
43688         * sysdeps/mach/hurd/seekdir.c: Likewise.
43689         * sysdeps/mach/hurd/setsid.c: Likewise.
43690         * sysdeps/posix/wait3.c: Likewise.
43692         * All files with FSF copyright notices: Update copyright dates
43693         using scripts/update-copyrights.
43694         * intl/plural.c: Regenerated.
43695         * locale/programs/charmap-kw.h: Likewise.
43696         * locale/programs/locfile-kw.h: Likewise.
43698 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43700         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
43701         four values.
43703         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
43704         calculation loop and add branch prediction.
43706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
43707         check access beyond bounds of m1np.
43709         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43710         MPTWO.
43711         (__inv): Remove local variable MPTWO to use the global
43712         constant.
43713         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
43714         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43715         variable MPTWO.
43716         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
43717         MP3HALFS static const.
43719 2013-01-01  David S. Miller  <davem@davemloft.net>
43721         * po/ca.po: Update from translation team.
43723 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
43725         * scripts/update-copyrights: New file.
43726         * Makeconfig: Reformat copyright notice.
43727         * ctype/ctype.h: Likewise.
43728         * debug/swprintf_chk.c: Likewise.
43729         * elf/dl-cache.c: Likewise.
43730         * elf/dl-debug.c: Likewise.
43731         * elf/dl-object.c: Likewise.
43732         * grp/initgroups.c: Likewise.
43733         * hurd/Makefile: Likewise.
43734         * hurd/hurd/signal.h: Likewise.
43735         * hurd/hurdfault.c: Likewise.
43736         * hurd/hurdioctl.c: Likewise.
43737         * hurd/hurdlookup.c: Likewise.
43738         * hurd/intr-msg.c: Likewise.
43739         * iconv/gconv_open.c: Likewise.
43740         * libio/swprintf.c: Likewise.
43741         * locale/lc-ctype.c: Likewise.
43742         * locale/nl_langinfo.c: Likewise.
43743         * mach/Machrules: Likewise.
43744         * mach/Makefile: Likewise.
43745         * malloc/obstack.h: Likewise.
43746         * manual/Makefile: Likewise.
43747         * manual/tsort.awk: Likewise.
43748         * misc/bits/stab.def: Likewise.
43749         * nis/nis_print_group_entry.c: Likewise.
43750         * nis/nis_table.c: Likewise.
43751         * nis/nss_compat/compat-pwd.c: Likewise.
43752         * nis/nss_compat/compat-spwd.c: Likewise.
43753         * po/Makefile: Likewise.
43754         * posix/fnmatch.c: Likewise.
43755         * posix/regex.h: Likewise.
43756         * resolv/Makefile: Likewise.
43757         * resolv/nss_dns/dns-network.c: Likewise.
43758         * resolv/res_hconf.c: Likewise.
43759         * scripts/gen-sorted.awk: Likewise.
43760         * soft-fp/soft-fp.h: Likewise.
43761         * stdio-common/printf.h: Likewise.
43762         * stdlib/monetary.h: Likewise.
43763         * stdlib/random.c: Likewise.
43764         * stdlib/random_r.c: Likewise.
43765         * sysdeps/generic/Makefile: Likewise.
43766         * sysdeps/gnu/Makefile: Likewise.
43767         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43768         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43769         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43770         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43771         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43772         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43774         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43775         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43776         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43777         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43778         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43779         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43780         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43781         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
43782         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43783         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43784         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43785         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43786         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43787         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43788         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43789         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43790         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43791         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
43792         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43793         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43794         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
43795         * sysdeps/mach/hurd/errnos.awk: Likewise.
43796         * sysdeps/mach/hurd/fork.c: Likewise.
43797         * sysdeps/mach/hurd/getcwd.c: Likewise.
43798         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
43799         * sysdeps/mach/hurd/mmap.c: Likewise.
43800         * sysdeps/mach/hurd/utimes.c: Likewise.
43801         * sysdeps/mach/hurd/xmknod.c: Likewise.
43802         * sysdeps/posix/profil.c: Likewise.
43803         * sysdeps/posix/readdir_r.c: Likewise.
43804         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43805         * sysdeps/powerpc/bits/setjmp.h: Likewise.
43806         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
43807         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43809         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43810         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43811         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43813         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43814         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43815         * sysdeps/pthread/lio_listio.c: Likewise.
43816         * sysdeps/sparc/dl-procinfo.h: Likewise.
43817         * sysdeps/unix/i386/sysdep.S: Likewise.
43818         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
43819         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
43820         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
43821         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
43822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43823         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
43824         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
43825         * sysdeps/unix/sysv/linux/speed.c: Likewise.
43826         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43827         * sysdeps/wordsize-32/divdi3.c: Likewise.
43828         * time/sys/time.h: Likewise.
43829         * wcsmbs/Makefile: Likewise.
43831 2013-01-01  David S. Miller  <davem@davemloft.net>
43833         * po/fr.po: Update from translation team.
43835         * catgets/gencat.c: Update copyright year.
43836         * csu/version.c: Likewise.
43837         * debug/catchsegv.sh: Likewise.
43838         * debug/pcprofiledump.c: Likewise.
43839         * debug/xtrace.sh: Likewise.
43840         * elf/ldconfig.c: Likewise.
43841         * elf/ldd.bash.in: Likewise.
43842         * elf/pldd.c: Likewise.
43843         * elf/sotruss.ksh: Likewise.
43844         * elf/sprof.c: Likewise.
43845         * iconv/iconv_prog.c: Likewise.
43846         * iconv/iconvconfig.c: Likewise.
43847         * locale/programs/locale.c: Likewise.
43848         * locale/programs/localedef.c: Likewise.
43849         * login/programs/pt_chown.c: Likewise.
43850         * malloc/memusage.sh: Likewise.
43851         * malloc/memusagestat.c: Likewise.
43852         * malloc/mtrace.pl: Likewise.
43853         * nscd/nscd.c: Likewise.
43854         * nss/getent.c: Likewise.
43855         * nss/makedb.c: Likewise.
43856         * posix/getconf.c: Likewise.
43858 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43860         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
43861         numbers.
43863 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
43865         * math/bits/mathcalls.h (modf): Use __nonnull.
43867 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43869         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
43870         (split): Use macro CN instead of the bare value.
43871         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43872         could be used.
43873         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
43874         instead of the bare value.
43875         (power1): Likewise.
43877 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43879         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
43880         __ATAN_TWOM.
43881         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43883         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
43884         their values.
43885         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43886         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43887         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
43888         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43890 2012-12-28  Andreas Jaeger  <aj@suse.de>
43892         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
43893         values are from Linux 3.7.
43895         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43896         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
43898 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43900         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
43901         TRUE case.
43903         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
43904         (norm): Likewise.
43905         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
43906         variables with preprocessor constants.
43907         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43908         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43909         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43911 2012-12-27  Bruno Haible  <bruno@clisp.org>
43913         [BZ #14317]
43914         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
43915         only if needed.
43917 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
43920         and use variable directly.
43921         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
43923         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43924         MPONE.
43925         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
43926         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43927         variable MPONE.
43928         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43929         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43930         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
43931         include directive.  Remove local variable MPONE.
43932         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
43933         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
43934         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43936 2012-12-25  David S. Miller  <davem@davemloft.net>
43938         * version.h (RELEASE): Set to "development".
43939         (VERSION): Set to "2.17.90".
43940         * NEWS: Add 2.18 section.
43942 2012-12-21  David S. Miller  <davem@davemloft.net>
43944         * po/hr.po: Update from translation team.
43946 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43948         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43950 2012-12-19  Steve Ellcey  <sellcey@mips.com>
43952         * NEWS:  Mention new memcpy for MIPS.
43954 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43956         * manual/contrib.texi (Contributors): Spelling correction.
43958 2012-12-15  David S. Miller  <davem@davemloft.net>
43960         * po/ru.po: Update from translation team.
43962 2012-12-13  David S. Miller  <davem@davemloft.net>
43964         * NEWS: Mention IFUNC testsuite enhancements.
43966         * po/pl.po: Update from translation team.
43967         * po/bg.po: Likewise.
43969         * manual/contrib.texi (Contributors): Update entries for Hongjiu
43970         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
43972 2012-12-11  David S. Miller  <davem@davemloft.net>
43974         * po/sv.po: Update from translation team.
43976         * po/vi.po: Update from translation team.
43978         * po/cs.po: Update from translation team.
43980         * po/de.po: Update from translation team.
43981         * po/eo.po: Likewise.
43982         * po/nl.po: Likewise.
43984 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43986         [BZ #14246]
43987         * manual/argp.texi (Argp Helper Functions): Move node to follow
43988         Argp Parsing State.
43990         [BZ #14872]
43991         * manual/conf.texi (Limits on File System Capacity): Mention if
43992         terminating null is included in the max size.
43994 2012-12-10  Andreas Jaeger  <aj@suse.de>
43996         * po/cs.po: Update from translation team.
43998 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44000         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
44001         void pointer and cast to uintptr_t.
44002         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
44003         path.
44004         * sysdeps/s390/s390-64/memcpy.S: Likewise.
44005         * sysdeps/s390/s390-64/memset.S: Likewise.
44007 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
44009         [BZ #14833]
44010         * menual/message.texi (Message Translation): Fix typos.
44011         (Helper programs for gettext): Likewise.
44013 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
44015         [BZ #14898]
44016         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
44017         Change to -1.
44019 2012-12-07  David S. Miller  <davem@davemloft.net>
44021         * po/libc.pot: Update.
44023 2012-12-07  Richard Henderson  <rth@redhat.com>
44025         [BZ #10114]
44026         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
44027         normal/normal case to before the switch.
44028         (_FP_DIV): Likewise.
44030 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
44031             Mike Frysinger  <vapier@gentoo.org>
44033         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
44034         check for __NR_fadvise64_64.
44036 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
44038         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
44039         0, not just to plain "0" as a statement.
44040         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
44041         with cw.
44043 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
44045         * NEWS: Use sourceware.org in Bugzilla URL.
44047 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
44050         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
44052         * stdio-common/tst-put-error.c (do_test): Add newline to the
44053         padded test to ensure flush.
44055 2012-12-05  Jeff Law  <law@redhat.com>
44057         * sunrpc/etc.rpc (fedfs_admin): Add entry.
44059 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
44061         * README: Don't refer to ports add-on as distributed separately.
44062         Mention AArch64 in list of systems supported in the ports add-on.
44064         * LICENSES: Add more non-FSF copyright and license notices.
44066         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
44067         ((unused)).
44069         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
44071         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
44072         10000 as width of padded output.
44074 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
44076         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
44078         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
44079         variable LX with __attribute__ ((unused)).
44080         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44081         Likewise.
44082         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44083         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44084         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
44085         with __attribute__ ((unused)).
44087 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
44089         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
44091 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
44093         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
44094         (CFLAGS-nldbl-acos.c): New variable.
44095         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
44096         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
44097         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
44098         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
44099         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
44100         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
44101         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
44102         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
44103         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
44104         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
44105         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
44106         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
44107         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
44108         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
44109         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
44110         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
44111         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
44112         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
44113         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
44114         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
44115         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
44116         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
44117         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
44118         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
44119         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
44120         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
44121         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
44122         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
44123         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
44124         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
44125         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
44126         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
44127         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
44128         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
44129         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
44130         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
44131         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
44132         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
44133         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
44134         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
44135         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
44136         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
44137         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
44138         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
44139         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
44140         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
44141         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
44142         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
44143         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
44144         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
44145         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
44146         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
44147         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
44148         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
44149         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
44150         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
44151         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
44152         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
44153         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
44154         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
44155         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
44156         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
44157         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
44158         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
44159         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
44160         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
44161         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
44162         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
44163         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
44164         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
44165         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
44166         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
44167         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
44168         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
44169         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
44170         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
44171         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
44172         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
44173         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
44174         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
44175         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
44176         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
44177         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
44178         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
44179         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
44180         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
44181         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
44182         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
44183         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
44184         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
44185         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
44186         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
44187         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
44188         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
44189         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
44190         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
44191         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
44193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
44194         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
44196         [BZ #14914]
44197         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
44198         whole low double instead of just low 47 bits when splitting values
44199         into two parts.
44201 2012-12-03  Allan McRae  <allan@archlinux.org>
44203         * manual/stdio.texi (Predefined Printf Handlers): Remove
44204         @hsep and @vsep usage.
44206 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
44208         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
44209         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
44211 2012-12-03  Jeff Law  <law@redhat.com>
44213         * time/sys/time.h (settimeofday): Do not mark TV argument
44214         as __nonnull.
44216 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
44218         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
44219         when currently writing and seek to current position when not.
44220         * libio/Makefile (tests): Remove bug-fclose1.
44221         * libio/bug-fclose1.c: Delete.
44223 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
44225         * manual/arith.texi (feenableexcept): Fix typo.
44226         (fedisableexcept): Likewise.
44228 2012-11-30  Roland McGrath  <roland@hack.frob.com>
44230         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
44231         second, differently-typed declaration, rather than a cast.
44233 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44235         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
44236         * include/rpc/svc.h: ... here.
44238 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
44240         [BZ #13013]
44241         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
44242         depending n and resplen2 to catch cases where answer
44243         equals answerp2.
44245 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
44247         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
44248         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
44250 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
44252         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
44254 2012-11-29  Roland McGrath  <roland@hack.frob.com>
44256         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
44258 2012-11-28  Jeff Law  <law@redhat.com>
44260         [BZ #13761]
44261         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
44262         dataset_temporary.  Track alloca usage into alloca_used.
44263         If dataset is large allocate and release it via malloc/free.
44265 2012-06-04  Florian Weimer  <fweimer@redhat.com>
44267         [BZ #14197]
44268         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
44270 2012-11-28  David S. Miller  <davem@davemloft.net>
44272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44274 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
44276         [BZ #14803]
44277         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
44278         of pi/2 rounded to nearest to 64 bits.
44279         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
44280         nearest to 64 bits.
44281         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
44282         bits.
44284 2012-11-28  Jeff Law <law@redhat.com>
44285             Martin Osvald <mosvald@redhat.com>
44287         [BZ #14889]
44288         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
44289         * sunrpc/svc.c: Include time.h.
44290         (__svc_accept_failed): New function.
44291         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
44292         any reason other than EINTR, call __svc_accept_failed.
44293         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
44294         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
44296 2012-11-28  Andreas Schwab  <schwab@suse.de>
44298         * scripts/abilist.awk: Also handle indirect functions in .opd
44299         section.
44301 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
44303         [BZ #13881]
44304         * sysdeps/x86/fpu/powl_helper.c: New file.
44305         * sysdeps/x86/fpu/Makefile: Likewise.
44306         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
44307         (p3): New object.
44308         (__ieee754_powl): Use __powl_helper for finite arguments except
44309         integer exponents below 8.
44310         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
44311         (p3): New object.
44312         (__ieee754_powl): Use __powl_helper for finite arguments except
44313         integer exponents below 8.
44314         * math/libm-test.inc (pow_test): Add more tests and enable some
44315         previously disabled tests.
44316         * sysdeps/i386/fpu/libm-test-ulps: Update.
44317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44319 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44320             Carlos O'Donell  <carlos_odonell@mentor.com>
44322         * nss/makedb.c (is_prime): Assert that input is odd and greater
44323         than 4.  Note that fact in a comment too.
44324         (next_prime): Add 4 to input.
44326 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44328         [BZ #11741]
44329         * libio/Makefile (tests): Add test case tst-fwrite-error.
44330         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
44331         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
44332         * libio/tst-fwrite-error.c: New test case.
44334 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
44336         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
44337         before casting to void *.
44338         * include/libc-internal.h (__pointer_type): New macro.
44339         (__integer_if_pointer_type_sub): Likewise.
44340         (__integer_if_pointer_type): Likewise.
44341         (cast_to_integer): Likewise.
44342         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
44343         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
44344         before casting to atomic64_t.
44345         (atomic_exchange_acq): Likewise.
44346         (__arch_exchange_and_add_body): Likewise.
44347         (__arch_add_body): Likewise.
44348         (atomic_add_negative): Likewise.
44349         (atomic_add_zero): Likewise.
44351 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
44353         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
44354         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
44355         (add_fdes): Likewise.
44356         (linear_search_fdes): Likewise.
44357         (binary_search_unencoded_fdes): Likewise.
44359 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
44361         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
44363 2012-11-24  Adam Conrad  <adconrad@0c3.net>
44365         * configure.in: Autodetect C++ header directories.
44366         * configure: Regenerated.
44368 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
44370         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
44372 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
44374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44376 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
44378         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
44379         LDBL_MANT_DIG == 106]: Disable some tests.
44380         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
44381         Likewise.
44382         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
44383         Likewise.
44385         [BZ #14871]
44386         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
44387         input for small inputs.  Return +/- pi/2 for large inputs.
44388         * math/libm-test.inc (atan_test): Add more tests.
44390         * sysdeps/generic/unwind-dw2-fde-glibc.c
44391         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
44392         __attribute__ ((unused)).
44394         [BZ #14645]
44395         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
44396         x * y if x and y are nonzero and z is zero.
44398         [BZ #14811]
44399         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
44400         nonzero exponents with absolute value below 0x1p-117 to +/-
44401         0x1p-117.
44403         [BZ #14869]
44404         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
44405         up arguments below 2**-450, not just those below 2**-500.
44406         * math/libm-test.inc (hypot_test): Add another test.
44408         [BZ #14868]
44409         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
44410         Return a+b for ratio over 2**120, not 2**60.
44411         * math/libm-test.inc (hypot_test): Add another test.
44413         * math/libm-test.inc (clog_test): Use
44414         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
44415         (clog10_test): Likewise.
44417         [BZ #6778]
44418         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
44420 2012-11-22  Andreas Schwab  <schwab@suse.de>
44422         * sysdeps/i386/fpu/libm-test-ulps: Update.
44424 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
44426         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
44427         printf output with newline.
44429 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
44431         [BZ #14865]
44432         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
44433         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
44434         -z nodlopen, -z initfirst and -z execstack support.
44435         * configure: Regenerated.
44437         * elf/elf.h (DF_1_NODIRECT): New macro.
44438         (DF_1_IGNMULDEF): Likewise.
44439         (DF_1_NOKSYMS): Likewise.
44440         (DF_1_NOHDR): Likewise.
44441         (DF_1_EDITED): Likewise.
44442         (DF_1_NORELOC): Likewise.
44443         (DF_1_SYMINTPOSE): Likewise.
44444         (DF_1_GLOBAUDIT): Likewise.
44445         (DF_1_SINGLETON): Likewise.
44446         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
44447         DT_1_SUPPORTED_MASK bits.
44448         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
44450 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
44452         * sysdeps/unix/make-syscalls.sh: Document prefixes.
44454 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
44456         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
44457         macro.
44459         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
44460         (sendmmsg): Move declarations...
44461         * socket/sys/socket.h: ... here.
44462         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
44463         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
44464         include it from...
44465         * socket/recvmmsg.c: ... this new file.
44466         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
44467         (sendmmsg): Rename to __sendmmsg, create weak alias and make
44468         definition of __sendmmsg hidden.
44469         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
44470         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
44471         Move ENOSYS stub into and include it from...
44472         * socket/sendmmsg.c: ... this new file.
44473         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
44474         (sysdep_routines): Move recvmmsg and sendmmsg...
44475         * socket/Makefile (routines): ... here.
44476         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
44477         (GLIBC_PRIVATE): Add __sendmmsg.
44478         * include/sys/socket.h (__sendmmsg): Add declarations.
44479         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
44480         sendmmsg.
44482 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
44484         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
44485         variable I1 with __attribute__ ((unused)).
44486         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44488 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
44490         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
44491         DUMMY variables with __attribute__ ((unused)).
44493         * bits/byteswap.h: Include <bits/types.h>.
44494         (__bswap_64): Use __uint64_t instead of unsigned long long int.
44496 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
44498         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
44499         string_t.  Do not manually set errno.
44500         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
44501         length with __strnlen.  Make sure to both set errno and return it on
44502         failure.
44504 2012-11-19  David S. Miller  <davem@davemloft.net>
44506         With help from Joseph Myers.
44507         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
44508         very large arguments properly.
44509         * math/libm-test.inc (atan_test): New tests.
44510         (atan2_test): New tests.
44511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44512         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44514 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
44516         [BZ #14856]
44517         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
44518         Define to 3.
44520         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
44521         [POSIX] (EADDRNOTAVAIL): Likewise.
44522         [POSIX] (EAFNOSUPPORT): Likewise.
44523         [POSIX] (EALREADY): Likewise.
44524         [POSIX] (ECONNABORTED): Likewise.
44525         [POSIX] (ECONNREFUSED): Likewise.
44526         [POSIX] (ECONNRESET): Likewise.
44527         [POSIX] (EDESTADDRREQ): Likewise.
44528         [POSIX] (EDQUOT): Likewise.
44529         [POSIX] (EHOSTUNREACH): Likewise.
44530         [POSIX] (EIDRM): Likewise.
44531         [POSIX] (EISCONN): Likewise.
44532         [POSIX] (ELOOP): Likewise.
44533         [POSIX] (EMULTIHOP): Likewise.
44534         [POSIX] (ENETDOWN): Likewise.
44535         [POSIX] (ENETUNREACH): Likewise.
44536         [POSIX] (ENOBUFS): Likewise.
44537         [POSIX] (ENODATA): Likewise.
44538         [POSIX] (ENOLINK): Likewise.
44539         [POSIX] (ENOMSG): Likewise.
44540         [POSIX] (ENOPROTOOPT): Likewise.
44541         [POSIX] (ENOSR): Likewise.
44542         [POSIX] (ENOSTR): Likewise.
44543         [POSIX] (ENOTCONN): Likewise.
44544         [POSIX] (ENOTSOCK): Likewise.
44545         [POSIX] (EOPNOTSUPP): Likewise.
44546         [POSIX] (EOVERFLOW): Likewise.
44547         [POSIX] (EPROTO): Likewise.
44548         [POSIX] (EPROTONOSUPPORT): Likewise.
44549         [POSIX] (EPROTOTYPE): Likewise.
44550         [POSIX] (ESTALE): Likewise.
44551         [POSIX] (ETIME): Likewise.
44552         [POSIX] (ETXTBSY): Likewise.
44553         [POSIX] (EWOULDBLOCK): Likewise.
44554         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
44555         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
44556         [POSIX] (SEEK_CUR): Likewise.
44557         [POSIX] (SEEK_END): Likewise.
44558         [POSIX || UNIX98] (mode_t): Do not require.
44559         [POSIX] (off_t): Likewise.
44560         [POSIX] (pid_t): Likewise.
44561         [POSIX] (sys/stat.h): Do not allow header.
44562         [POSIX] (unistd.h): Likewise.
44563         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
44564         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
44565         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
44566         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
44567         require.
44568         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
44569         sigevent): Specify elements.
44570         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
44571         entry.
44572         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
44573         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
44575         * conform/data/cpio.h-data [POSIX]: Disable whole file.
44576         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
44577         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
44578         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
44579         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
44580         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
44581         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
44582         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
44583         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
44584         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
44585         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
44586         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
44587         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
44588         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
44589         Likewise.
44590         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
44591         Likewise.
44592         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
44593         Likewise.
44594         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
44595         Likewise.
44596         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
44597         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
44598         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
44599         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
44600         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
44601         Specify lower bound on value.
44602         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
44603         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
44604         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
44605         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
44606         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
44607         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
44608         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
44609         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
44610         value.
44611         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
44612         as optional.
44613         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
44614         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
44615         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
44616         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
44617         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
44618         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
44619         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
44620         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
44621         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
44622         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
44623         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
44624         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
44625         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
44626         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
44627         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
44628         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
44629         entry.
44630         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
44631         optional.
44632         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
44633         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
44634         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
44635         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
44636         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
44637         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
44638         Likewise.
44639         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
44640         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
44641         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
44642         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
44643         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
44644         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
44645         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
44646         as optional.
44647         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
44648         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
44649         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
44650         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
44651         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
44652         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
44653         specify as optional.
44654         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
44655         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
44656         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
44657         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
44658         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
44659         [XPG3] (NL_LANGMAX): Likewise.
44660         [POSIX || XPG3] (NL_MSGMAX): Likewise.
44661         [POSIX || XPG3] (NL_NMAX): Likewise.
44662         [POSIX || XPG3] (NL_SETMAX): Likewise.
44663         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
44664         [XPG3] (NZERO): Likewise.
44665         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
44666         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
44667         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
44668         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
44669         (REG_ERANGE): Expect.
44670         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
44671         optional-constant.
44672         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
44673         Use (void) in prototype.
44674         [POSIX] (*_t): Allow.
44675         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
44676         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
44677         (WRDE_BADVAL): Expect.
44679         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
44680         expect.
44681         [XPG3 || XPG4] (O_RSYNC): Likewise.
44682         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
44683         Likewise.
44684         [XPG3 || XPG4] (pthread_sigmask): Likewise.
44685         [XPG3 || XPG4] (sigqueue): Likewise.
44686         [XPG3 || XPG4] (sigtimedwait): Likewise.
44687         [XPG3 || XPG4] (sigwaitinfo): Likewise.
44688         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
44689         [XPG3 || XPG4] (vsnprintf): Likewise.
44690         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
44691         Likewise.
44692         [XPG3 || XPG4] (blksize_t): Likewise.
44693         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
44694         Likewise.
44695         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
44696         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44697         [XPG3 || XPG4] (struct itimerspec): Likewise.
44698         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
44699         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
44700         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
44701         [XPG3 || XPG4] (clockid_t): Likewise.
44702         [XPG3 || XPG4] (timer_t): Likewise.
44703         [XPG3 || XPG4] (clock_getres): Likewise.
44704         [XPG3 || XPG4] (clock_gettime): Likewise.
44705         [XPG3 || XPG4] (clock_settime): Likewise.
44706         [XPG3 || XPG4] (nanosleep): Likewise.
44707         [XPG3 || XPG4] (timer_create): Likewise.
44708         [XPG3 || XPG4] (timer_delete): Likewise.
44709         [XPG3 || XPG4] (timer_gettime): Likewise.
44710         [XPG3 || XPG4] (timer_getoverrun): Likewise.
44711         [XPG3 || XPG4] (timer_settime): Likewise.
44712         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
44713         [XPG3 || XPG4] (getlogin_r): Likewise.
44714         [XPG3 || XPG4] (pread): Likewise.
44715         [XPG3 || XPG4] (pthread_atfork): Likewise.
44716         [XPG3 || XPG4] (pwrite): Likewise.
44718         [BZ #14835]
44719         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
44720         <bits/siginfo.h>.
44722 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
44724         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
44725         finalizing MALLSTREAM.
44727         * sysdeps/mach/hurd/syncfs.c: New file.
44729 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44731         [BZ #14719]
44732         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
44733         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
44734         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
44735         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
44736         (_nss_dns_gethostbyname4_r): Likewise.
44737         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
44738         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
44740 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
44742         [BZ #13763]
44743         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
44745 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
44747         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
44748         * elf/cache.c (print_entry): Print ",AArch64" for
44749         FLAG_AARCH64_LIB64
44751         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
44752         * elf/cache.c (print_entry): Print ",hard-float" for
44753         FLAG_ARM_LIBHF.
44755 2012-11-18  David S. Miller  <davem@davemloft.net>
44757         With help from Joseph Myers.
44758         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
44759         cutoff to 2**-13.
44760         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
44761         cutoff to 2**-25.
44762         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
44763         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
44764         small.
44765         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
44766         * math/libm-test.inc (y0_test): New tests.
44767         (y1_test): New tests.
44768         * sysdeps/i386/fpu/libm-test-ulps: Update.
44769         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44772 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
44774         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
44775         64-bit targets.
44776         * configure: Regenerated.
44778 2012-11-17  David S. Miller  <davem@davemloft.net>
44780         [BZ #14811]
44781         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
44782         nonzero exponents with absolute value below 0x1p-128 to +/-
44783         0x1p-128.
44785 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
44787         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
44789         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
44791         * posix/getconf-speclist.c: New file.
44792         * posix/posix-envs.def: Likewise.
44793         * posix/confstr.c (START_ENV_GROUP): New macro.
44794         (END_ENV_GROUP): Likewise.
44795         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44796         (KNOWN_PRESENT_ENV_STRING): Likewise.
44797         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44798         (UNKNOWN_ENVIRONMENT): Likewise.
44799         (confstr): Include posix-envs.def instead of handling
44800         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
44801         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
44802         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
44803         (END_ENV_GROUP): Likewise.
44804         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44805         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44806         (UNKNOWN_ENVIRONMENT): Likewise.
44807         (__sysconf): Include posix-envs.def instead of handling associated
44808         cases directly here.
44809         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
44810         preprocessing getconf-speclist.c rather than running getconf or
44811         generating empty file.
44813 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
44815         * scripts/check-local-headers.sh: Ignore 'mach' headers.
44817 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
44819         [BZ #14672]
44820         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
44822 2012-11-16  David S. Miller  <davem@davemloft.net>
44824         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
44825         smaller than LDBL_EPSILON/2.0L, just return xm1.
44827 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
44829         * elf/tst-array1.c (init): Set constructor priority to 1000.
44830         (fini): Set destructor priority to 1000.
44831         * elf/tst-array2dep.c: Likewise.
44833 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44835         [BZ #11741]
44836         * libio/fileops.c (_IO_new_file_write): Correctly return error.
44837         (_IO_new_file_xsputn): Also return EOF if none of the input
44838         data was written when overflow failed.
44839         * libio/iopadn.c (_IO_padn): Likewise.
44840         * libio/iowpadn.c (_IO_wpadn): Likewise.
44841         * stdio-common/tst-put-error.c: Add copyright notice.
44842         (do_test): Add case for printing padded string.
44843         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
44844         _IO_padn returned error.
44845         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
44846         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
44847         return EOF.
44849 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44851         * libio/libioP.h: Add comment note that the references to C++
44852         bits are now obsolete.
44854 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44856         * math/libm-test.inc (check_complex): Use asprintf.
44858 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
44860         * debug/pcprofiledump.c (print_version): Update copyright year.
44861         * malloc/memusagestat.c (print_version): Likewise.
44863 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
44865         [BZ #14831]
44866         * elf/Makefile (tests): Add tst-audit8.
44867         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
44868         ($(objpfx)tst-audit8.out): New target.
44869         (tst-audit8-ENV): New variable.
44870         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
44871         audit if l_reloc_result is NULL.
44872         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
44873         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
44874         * elf/tst-audit8.c: New file.
44876 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44878         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
44879         * misc/Makefile (CFLAGS-select.c): Define.
44880         * posix/Makefile (CFLAGS-pause.c): Define.
44882 2012-11-13  David S. Miller  <davem@davemloft.net>
44884         * crypt/Makefile: Move test targets after toplevel Rules
44885         inclusion.  Grab any necessary sysdep routines when linking.
44886         * crypt/md5.c (md5_process_block): Remove define, we will always
44887         name it __md5_process_block.
44888         (md5_finish_ctx): Update md5_process_block call.
44889         (md5_stream): Likewise.
44890         (md5_process_bytes): Likewise.
44891         (md5_process_block): Rename to __md5_process_block and move to ...
44892         * crypt/md5-block.c: ... here.
44893         * crypt/sha256.c (sha256_process_block): Move to ...
44894         * crypt/sha256-block.c: ... here.
44895         * crypt/sha512.c (sha512_process_block): Move to ...
44896         * crypt/sha512-block.c: ... here.
44897         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
44898         path.
44899         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
44900         * sysdeps/sparc/sparc64/multiarch/Makefile
44901         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
44902         crypt subdir.
44903         (localedef-aux): Add md5 crypto assembler when in locale subdir.
44904         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
44905         multiarch changes.
44906         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
44907         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
44908         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
44909         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
44910         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
44911         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
44912         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
44913         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
44914         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
44915         file.
44916         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
44917         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
44918         file.
44919         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
44921 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
44923         * timezone/tzselect.ksh: Update from tzcode git revision
44924         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
44925         * timezone/zdump.c: Likewise.
44926         * timezone/zic.c: Likewise.
44927         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
44928         in TZVERSION setting, not $(PKGVERSION).
44929         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
44930         REPORT_BUGS_TO settings.
44932         [BZ #14838]
44933         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
44934         macro.
44936 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44938         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
44939         detection to immediately after _FP_ROUND().
44940         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
44941         bits are 0.
44943 2012-11-11  David S. Miller  <davem@davemloft.net>
44945         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44946         inttypes.h
44947         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44948         __close rather than their public counterparts.
44950 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
44952         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44953         file.
44954         [UNIX98] (sem_timedwait): Do not expect.
44955         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44956         [XPG4 || UNIX98] (sockatmark): Do not expect.
44957         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44958         (clock_getcpuclockid): Do not expect.
44959         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44960         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44961         Do not expect.
44962         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44963         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44964         [UNIX98] (vwscanf): Likewise.
44965         [UNIX98] (vswscanf): Likewise.
44967 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
44969         * timezone/version.h: Remove file.
44970         * timezone/README: Do not refer to version.h.
44971         * timezone/Makefile ($(objpfx)zic.o): New dependency on
44972         $(objpfx)version.h.
44973         ($(objpfx)zdump.o): Likewise.
44974         ($(objpfx)version.h): New target.
44976         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44977         2012i.
44978         * timezone/README: Don't mention modification to tzselect.ksh.
44979         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44980         work on unmodified tzselect.ksh.  Substitute version numbers in
44981         tzselect.ksh.
44983         * Makefile (format-me): Remove.
44984         (INSTALL): Adjust indentation.  Use commands directly instead of
44985         using $(format-me).
44987         * aclocal.m4 (ACX_PKGVERSION): New macro.
44988         (ACX_BUGURL): Likewise.
44989         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44990         (PKGVERSION): New AC_DEFINE_UNQUOTED.
44991         (REPORT_BUGS_TO): Likewise.
44992         * configure: Regenerated.
44993         * config.h.in (PKGVERSION): New macro.
44994         (REPORT_BUGS_TO): Likewise.
44995         * config.make.in (PKGVERSION): New variable.
44996         (PKGVERSION_TEXI): Likewise.
44997         (REPORT_BUGS_TO): Likewise.
44998         (REPORT_BUGS_TEXI): Likewise.
44999         * Makefile (format-me): Use -I$(common-objpfx)manual.
45000         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
45001         ($(common-objpfx)manual/%): New target.
45002         (manual/%): Remove target.
45003         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
45004         (print_version): Use PKGVERSION.
45005         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
45006         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
45007         and REPORT_BUGS_TO.
45008         ($(objpfx)xtrace): Likewise.
45009         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
45010         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
45011         (print_version): Use PKGVERSION.
45012         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
45013         (do_version): Use PKGVERSION.
45014         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
45015         REPORT_BUGS_TO.
45016         (common-ldd-rewrite): Likewise.
45017         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
45018         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
45019         (print_version): Use PKGVERSION.
45020         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
45021         * elf/pldd.c (argp_program_bug_address): Remove variable.
45022         (more_help): New function.
45023         (argp): Use more_help.
45024         (print_version): Use PKGVERSION.
45025         * elf/sln.c (main): Use PKGVERSION.
45026         (usage): Use REPORT_BUGS_TO.
45027         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
45028         (top level): Use PKGVERSION.
45029         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
45030         (print_version): Use PKGVERSION.
45031         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
45032         (print_version): Use PKGVERSION.
45033         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
45034         (print_version): Use PKGVERSION.
45035         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
45036         (print_version): Use PKGVERSION.
45037         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
45038         (print_version): Use PKGVERSION.
45039         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
45040         (print_version): Use PKGVERSION.
45041         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
45042         and BUGURL.
45043         ($(objpfx)memusage): Likewise.
45044         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
45045         (do_version): Use PKGVERSION.
45046         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
45047         (print_version): Use PKGVERSION.
45048         * malloc/mtrace.pl ($PACKAGE): Remove variable.
45049         ($PKGVERSION): New variable.
45050         ($REPORT_BUGS_TO): Likewise.
45051         (usage): Use $REPORT_BUGS_TO.
45052         (top level): Use $PKGVERSION.
45053         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
45054         ($(objpfx)pkgvers.texi): New rule.
45055         ($(objpfx)stamp-pkgvers): Likewise.
45056         * manual/install.texi: Include pkgvers.texi.
45057         (--with-pkgversion): Document new configure option.
45058         (--with-bugurl): Likewise.
45059         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
45060         than necessarily for this particular distribution.  Use
45061         REPORT_BUGS_TO for where to report bugs.
45062         * INSTALL: Regenerated.
45063         * manual/libc.texinfo: Include pkgvers.texi.
45064         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
45065         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
45066         (print_version): Use PKGVERSION.
45067         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
45068         (print_version): Use PKGVERSION.
45069         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
45070         (print_version): Use PKGVERSION.
45071         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
45072         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
45073         macro.
45074         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
45075         (print_version): Use PKGVERSION.
45076         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
45077         (print_version): Use PKGVERSION.
45078         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
45079         and PKGVERSION.
45081         * timezone/checktab.awk: Update from tzcode 2012i.
45082         * timezone/ialloc.c: Likewise.
45083         * timezone/private.h: Likewise.
45084         * timezone/scheck.c: Likewise.
45085         * timezone/tzfile.h: Likewise.
45086         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
45087         (TZVERSION): Hardcode tzcode version number.
45088         * timezone/zdump.c: Update from tzcode 2012i.
45089         * timezone/zic.c: Likewise.
45090         * timezone/version.h: New file.
45091         * timezone/README: Describe version.h.  Update upstream location.
45093         [BZ #14824]
45094         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
45095         (mktemp): Enable declaration.
45096         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
45097         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
45098         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
45099         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
45100         Likewise.
45101         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
45102         Likewise.
45103         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
45104         Likewise.
45105         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
45106         Likewise.
45107         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
45108         Likewise.
45109         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
45110         Likewise.
45112         [BZ #14821]
45113         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
45114         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
45115         for copies of such integer values.
45116         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45117         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45119 2012-11-09  Andreas Jaeger  <aj@suse.de>
45121         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
45122         definitions and declarations that are provided by
45123         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45125 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45127         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
45128         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
45129         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
45130         definition.
45132 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45134         * elf/elf.h: Update comment before AArch64 relocations.
45136 2012-11-07  David S. Miller  <davem@davemloft.net>
45138         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
45139         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45140         (__start_context): Declare.
45141         (__makecontext_ret): Delete.
45142         (__makecontext): Hook up __start_context instead of
45143         __makecontext_ret.
45144         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
45145         (sysdep_routines): Add __start_context when in stdlib.
45147 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
45149         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
45150         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
45151         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
45152         hardcoded "nm".
45153         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
45154         (READELF): New variable.  Use it instead of hardcoded "readelf".
45156 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45158         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
45159         * sysdeps/x86/Makefile: Here.
45160         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
45161         * sysdeps/x86/tst-xmmymm.sh: This.
45163 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
45165         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
45166         expectations.
45167         [UNIX98] (pthread_barrier_t): Do not expect.
45168         [UNIX98] (pthread_barrierattr_t): Likewise.
45169         [UNIX98] (pthread_spinlock_t): Likewise.
45170         [UNIX98] (pthread_barrier_destroy): Likewise.
45171         [UNIX98] (pthread_barrier_init): Likewise.
45172         [UNIX98] (pthread_barrier_wait): Likewise.
45173         [UNIX98] (pthread_barrierattr_destroy): Likewise.
45174         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
45175         [UNIX98] (pthread_barrierattr_init): Likewise.
45176         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
45177         [UNIX98] (pthread_getcpuclockid): Likewise.
45178         [UNIX98] (pthread_mutex_timedlock): Likewise.
45179         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
45180         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
45181         [UNIX98] (pthread_sigmask): Likewise.
45182         [UNIX98] (pthread_spin_destroy): Likewise.
45183         [UNIX98] (pthread_spin_init): Likewise.
45184         [UNIX98] (pthread_spin_lock): Likewise.
45185         [UNIX98] (pthread_spin_trylock): Likewise.
45186         [UNIX98] (pthread_spin_unlock): Likewise.
45187         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
45188         Do not expect.
45189         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
45190         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
45191         [XPG3 || XPG4] (pthread_cond_t): Likewise.
45192         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
45193         [XPG3 || XPG4] (pthread_key_t): Likewise.
45194         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
45195         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
45196         [XPG3 || XPG4] (pthread_once_t): Likewise.
45197         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
45198         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
45199         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
45200         [XPG3 || XPG4] (pthread_t): Likewise.
45202         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
45203         not expect.
45204         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
45206         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
45207         Change function return type to int.
45209         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
45210         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
45211         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
45212         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
45213         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
45214         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
45215         [!POSIX] (posix_madvise): Likewise.
45216         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
45217         && !UNIX98].
45218         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
45219         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
45220         (mode_t): Likewise.
45221         (posix_mem_offset): Likewise.
45222         (posix_typed_mem_get_info): Likewise.
45223         (posix_typed_mem_open): Likewise.
45225         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
45226         Change condition to [XOPEN2K8].
45228         * conform/conformtest.pl: Preprocess allow-header data with -x c
45229         instead of from stdin.
45230         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
45231         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
45232         [C99-based standards] (cerfc): Likewise.
45233         [C99-based standards] (cexp2): Likewise.
45234         [C99-based standards] (cexpm1): Likewise.
45235         [C99-based standards] (clog10): Likewise.
45236         [C99-based standards] (clog1p): Likewise.
45237         [C99-based standards] (clog2): Likewise.
45238         [C99-based standards] (clgamma): Likewise.
45239         [C99-based standards] (ctgamma): Likewise.
45240         [C99-based standards] (cerff): Likewise.
45241         [C99-based standards] (cerfcf): Likewise.
45242         [C99-based standards] (cexp2f): Likewise.
45243         [C99-based standards] (cexpm1f): Likewise.
45244         [C99-based standards] (clog10f): Likewise.
45245         [C99-based standards] (clog1pf): Likewise.
45246         [C99-based standards] (clog2f): Likewise.
45247         [C99-based standards] (clgammaf): Likewise.
45248         [C99-based standards] (ctgammaf): Likewise.
45249         [C99-based standards] (cerfl): Likewise.
45250         [C99-based standards] (cerfcl): Likewise.
45251         [C99-based standards] (cexp2l): Likewise.
45252         [C99-based standards] (cexpm1l): Likewise.
45253         [C99-based standards] (clog10l): Likewise.
45254         [C99-based standards] (clog1pl): Likewise.
45255         [C99-based standards] (clog2l): Likewise.
45256         [C99-based standards] (clgammal): Likewise.
45257         [C99-based standards] (ctgammal): Likewise.
45258         * conform/data/inttypes.h-data [C99-based standards]: Include
45259         stdint.h-data.  Remove all expectations for stdint.h contents.
45260         [C99-based standards] (PRI*): Do not allow.
45261         [C99-based standards] (SCN*): Likewise.
45262         [C99-based standards] (*_t): Likewise.
45263         [C99-based-standards] (PRId8): Expect macro.
45264         [C99-based-standards] (PRIi8): Likewise.
45265         [C99-based-standards] (PRIo8): Likewise.
45266         [C99-based-standards] (PRIu8): Likewise.
45267         [C99-based-standards] (PRIx8): Likewise.
45268         [C99-based-standards] (PRIX8): Likewise.
45269         [C99-based-standards] (SCNd8): Likewise.
45270         [C99-based-standards] (SCNi8): Likewise.
45271         [C99-based-standards] (SCNo8): Likewise.
45272         [C99-based-standards] (SCNu8): Likewise.
45273         [C99-based-standards] (SCNx8): Likewise.
45274         [C99-based-standards] (PRIdLEAST8): Likewise.
45275         [C99-based-standards] (PRIiLEAST8): Likewise.
45276         [C99-based-standards] (PRIoLEAST8): Likewise.
45277         [C99-based-standards] (PRIuLEAST8): Likewise.
45278         [C99-based-standards] (PRIxLEAST8): Likewise.
45279         [C99-based-standards] (PRIXLEAST8): Likewise.
45280         [C99-based-standards] (SCNdLEAST8): Likewise.
45281         [C99-based-standards] (SCNiLEAST8): Likewise.
45282         [C99-based-standards] (SCNoLEAST8): Likewise.
45283         [C99-based-standards] (SCNuLEAST8): Likewise.
45284         [C99-based-standards] (SCNxLEAST8): Likewise.
45285         [C99-based-standards] (PRIdFAST8): Likewise.
45286         [C99-based-standards] (PRIiFAST8): Likewise.
45287         [C99-based-standards] (PRIoFAST8): Likewise.
45288         [C99-based-standards] (PRIuFAST8): Likewise.
45289         [C99-based-standards] (PRIxFAST8): Likewise.
45290         [C99-based-standards] (PRIXFAST8): Likewise.
45291         [C99-based-standards] (SCNdFAST8): Likewise.
45292         [C99-based-standards] (SCNiFAST8): Likewise.
45293         [C99-based-standards] (SCNoFAST8): Likewise.
45294         [C99-based-standards] (SCNuFAST8): Likewise.
45295         [C99-based-standards] (SCNxFAST8): Likewise.
45296         [C99-based-standards] (PRId16): Likewise.
45297         [C99-based-standards] (PRIi16): Likewise.
45298         [C99-based-standards] (PRIo16): Likewise.
45299         [C99-based-standards] (PRIu16): Likewise.
45300         [C99-based-standards] (PRIx16): Likewise.
45301         [C99-based-standards] (PRIX16): Likewise.
45302         [C99-based-standards] (SCNd16): Likewise.
45303         [C99-based-standards] (SCNi16): Likewise.
45304         [C99-based-standards] (SCNo16): Likewise.
45305         [C99-based-standards] (SCNu16): Likewise.
45306         [C99-based-standards] (SCNx16): Likewise.
45307         [C99-based-standards] (PRIdLEAST16): Likewise.
45308         [C99-based-standards] (PRIiLEAST16): Likewise.
45309         [C99-based-standards] (PRIoLEAST16): Likewise.
45310         [C99-based-standards] (PRIuLEAST16): Likewise.
45311         [C99-based-standards] (PRIxLEAST16): Likewise.
45312         [C99-based-standards] (PRIXLEAST16): Likewise.
45313         [C99-based-standards] (SCNdLEAST16): Likewise.
45314         [C99-based-standards] (SCNiLEAST16): Likewise.
45315         [C99-based-standards] (SCNoLEAST16): Likewise.
45316         [C99-based-standards] (SCNuLEAST16): Likewise.
45317         [C99-based-standards] (SCNxLEAST16): Likewise.
45318         [C99-based-standards] (PRIdFAST16): Likewise.
45319         [C99-based-standards] (PRIiFAST16): Likewise.
45320         [C99-based-standards] (PRIoFAST16): Likewise.
45321         [C99-based-standards] (PRIuFAST16): Likewise.
45322         [C99-based-standards] (PRIxFAST16): Likewise.
45323         [C99-based-standards] (PRIXFAST16): Likewise.
45324         [C99-based-standards] (SCNdFAST16): Likewise.
45325         [C99-based-standards] (SCNiFAST16): Likewise.
45326         [C99-based-standards] (SCNoFAST16): Likewise.
45327         [C99-based-standards] (SCNuFAST16): Likewise.
45328         [C99-based-standards] (SCNxFAST16): Likewise.
45329         [C99-based-standards] (PRId32): Likewise.
45330         [C99-based-standards] (PRIi32): Likewise.
45331         [C99-based-standards] (PRIo32): Likewise.
45332         [C99-based-standards] (PRIu32): Likewise.
45333         [C99-based-standards] (PRIx32): Likewise.
45334         [C99-based-standards] (PRIX32): Likewise.
45335         [C99-based-standards] (SCNd32): Likewise.
45336         [C99-based-standards] (SCNi32): Likewise.
45337         [C99-based-standards] (SCNo32): Likewise.
45338         [C99-based-standards] (SCNu32): Likewise.
45339         [C99-based-standards] (SCNx32): Likewise.
45340         [C99-based-standards] (PRIdLEAST32): Likewise.
45341         [C99-based-standards] (PRIiLEAST32): Likewise.
45342         [C99-based-standards] (PRIoLEAST32): Likewise.
45343         [C99-based-standards] (PRIuLEAST32): Likewise.
45344         [C99-based-standards] (PRIxLEAST32): Likewise.
45345         [C99-based-standards] (PRIXLEAST32): Likewise.
45346         [C99-based-standards] (SCNdLEAST32): Likewise.
45347         [C99-based-standards] (SCNiLEAST32): Likewise.
45348         [C99-based-standards] (SCNoLEAST32): Likewise.
45349         [C99-based-standards] (SCNuLEAST32): Likewise.
45350         [C99-based-standards] (SCNxLEAST32): Likewise.
45351         [C99-based-standards] (PRIdFAST32): Likewise.
45352         [C99-based-standards] (PRIiFAST32): Likewise.
45353         [C99-based-standards] (PRIoFAST32): Likewise.
45354         [C99-based-standards] (PRIuFAST32): Likewise.
45355         [C99-based-standards] (PRIxFAST32): Likewise.
45356         [C99-based-standards] (PRIXFAST32): Likewise.
45357         [C99-based-standards] (SCNdFAST32): Likewise.
45358         [C99-based-standards] (SCNiFAST32): Likewise.
45359         [C99-based-standards] (SCNoFAST32): Likewise.
45360         [C99-based-standards] (SCNuFAST32): Likewise.
45361         [C99-based-standards] (SCNxFAST32): Likewise.
45362         [C99-based-standards] (PRId64): Likewise.
45363         [C99-based-standards] (PRIi64): Likewise.
45364         [C99-based-standards] (PRIo64): Likewise.
45365         [C99-based-standards] (PRIu64): Likewise.
45366         [C99-based-standards] (PRIx64): Likewise.
45367         [C99-based-standards] (PRIX64): Likewise.
45368         [C99-based-standards] (SCNd64): Likewise.
45369         [C99-based-standards] (SCNi64): Likewise.
45370         [C99-based-standards] (SCNo64): Likewise.
45371         [C99-based-standards] (SCNu64): Likewise.
45372         [C99-based-standards] (SCNx64): Likewise.
45373         [C99-based-standards] (PRIdLEAST64): Likewise.
45374         [C99-based-standards] (PRIiLEAST64): Likewise.
45375         [C99-based-standards] (PRIoLEAST64): Likewise.
45376         [C99-based-standards] (PRIuLEAST64): Likewise.
45377         [C99-based-standards] (PRIxLEAST64): Likewise.
45378         [C99-based-standards] (PRIXLEAST64): Likewise.
45379         [C99-based-standards] (SCNdLEAST64): Likewise.
45380         [C99-based-standards] (SCNiLEAST64): Likewise.
45381         [C99-based-standards] (SCNoLEAST64): Likewise.
45382         [C99-based-standards] (SCNuLEAST64): Likewise.
45383         [C99-based-standards] (SCNxLEAST64): Likewise.
45384         [C99-based-standards] (PRIdFAST64): Likewise.
45385         [C99-based-standards] (PRIiFAST64): Likewise.
45386         [C99-based-standards] (PRIoFAST64): Likewise.
45387         [C99-based-standards] (PRIuFAST64): Likewise.
45388         [C99-based-standards] (PRIxFAST64): Likewise.
45389         [C99-based-standards] (PRIXFAST64): Likewise.
45390         [C99-based-standards] (SCNdFAST64): Likewise.
45391         [C99-based-standards] (SCNiFAST64): Likewise.
45392         [C99-based-standards] (SCNoFAST64): Likewise.
45393         [C99-based-standards] (SCNuFAST64): Likewise.
45394         [C99-based-standards] (SCNxFAST64): Likewise.
45395         [C99-based-standards] (PRIdMAX): Likewise.
45396         [C99-based-standards] (PRIiMAX): Likewise.
45397         [C99-based-standards] (PRIoMAX): Likewise.
45398         [C99-based-standards] (PRIuMAX): Likewise.
45399         [C99-based-standards] (PRIxMAX): Likewise.
45400         [C99-based-standards] (PRIXMAX): Likewise.
45401         [C99-based-standards] (SCNdMAX): Likewise.
45402         [C99-based-standards] (SCNiMAX): Likewise.
45403         [C99-based-standards] (SCNoMAX): Likewise.
45404         [C99-based-standards] (SCNuMAX): Likewise.
45405         [C99-based-standards] (SCNxMAX): Likewise.
45406         [C99-based-standards] (PRIdPTR): Likewise.
45407         [C99-based-standards] (PRIiPTR): Likewise.
45408         [C99-based-standards] (PRIoPTR): Likewise.
45409         [C99-based-standards] (PRIuPTR): Likewise.
45410         [C99-based-standards] (PRIxPTR): Likewise.
45411         [C99-based-standards] (PRIXPTR): Likewise.
45412         [C99-based-standards] (SCNdPTR): Likewise.
45413         [C99-based-standards] (SCNiPTR): Likewise.
45414         [C99-based-standards] (SCNoPTR): Likewise.
45415         [C99-based-standards] (SCNuPTR): Likewise.
45416         [C99-based-standards] (SCNxPTR): Likewise.
45417         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
45418         allow.
45419         * conform/data/stdint.h-data: Update comments to clarify
45420         requirements.
45421         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
45422         type.
45423         [C99-based standards] (INT8_MAX): Likewise.
45424         [C99-based standards] (INT16_MIN): Likewise.
45425         [C99-based standards] (INT16_MAX): Likewise.
45426         [C99-based standards] (INT32_MIN): Likewise.
45427         [C99-based standards] (INT32_MAX): Likewise.
45428         [C99-based standards] (INT64_MIN): Likewise.
45429         [C99-based standards] (INT64_MAX): Likewise.
45430         [C99-based standards] (UINT8_MAX): Likewise.
45431         [C99-based standards] (UINT16_MAX): Likewise.
45432         [C99-based standards] (UINT32_MAX): Likewise.
45433         [C99-based standards] (UINT64_MAX): Likewise.
45434         [C99-based standards] (INT_LEAST8_MIN): Likewise.
45435         [C99-based standards] (INT_LEAST8_MAX): Likewise.
45436         [C99-based standards] (INT_LEAST16_MIN): Likewise.
45437         [C99-based standards] (INT_LEAST16_MAX): Likewise.
45438         [C99-based standards] (INT_LEAST32_MIN): Likewise.
45439         [C99-based standards] (INT_LEAST32_MAX): Likewise.
45440         [C99-based standards] (INT_LEAST64_MIN): Likewise.
45441         [C99-based standards] (INT_LEAST64_MAX): Likewise.
45442         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
45443         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
45444         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
45445         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
45446         [C99-based standards] (INT_FAST8_MIN): Likewise.
45447         [C99-based standards] (INT_FAST8_MAX): Likewise.
45448         [C99-based standards] (INT_FAST16_MIN): Likewise.
45449         [C99-based standards] (INT_FAST16_MAX): Likewise.
45450         [C99-based standards] (INT_FAST32_MIN): Likewise.
45451         [C99-based standards] (INT_FAST32_MAX): Likewise.
45452         [C99-based standards] (INT_FAST64_MIN): Likewise.
45453         [C99-based standards] (INT_FAST64_MAX): Likewise.
45454         [C99-based standards] (UINT_FAST8_MAX): Likewise.
45455         [C99-based standards] (UINT_FAST16_MAX): Likewise.
45456         [C99-based standards] (UINT_FAST32_MAX): Likewise.
45457         [C99-based standards] (UINT_FAST64_MAX): Likewise.
45458         [C99-based standards] (INTPTR_MIN): Likewise.
45459         [C99-based standards] (INTPTR_MAX): Likewise.
45460         [C99-based standards] (UINTPTR_MAX): Likewise.
45461         [C99-based standards] (INTMAX_MIN): Likewise.
45462         [C99-based standards] (INTMAX_MAX): Likewise.
45463         [C99-based standards] (UINTMAX_MAX): Likewise.
45464         [C99-based standards] (PTRDIFF_MIN): Likewise.
45465         [C99-based standards] (PTRDIFF_MAX): Likewise.
45466         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
45467         [C99-based standards] (SIZE_MAX): Likewise.
45468         [C99-based standards] (WCHAR_MAX): Likewise.
45469         [C99-based standards] (WINT_MAX): Likewise.
45470         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
45471         constraint on value.
45472         [C99-based standards] (WCHAR_MIN): Likewise.
45473         [C99-based standards] (WINT_MIN): Likewise.
45474         [C99-based standards] (*_t): Allow.
45475         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
45476         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
45477         Include math.h-data and complex.h-data.  Remove all expectations
45478         of math.h and complex.h contents.
45479         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
45480         at end of line.
45481         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
45482         (struct tm): Expect tag.
45483         [C99-based-standards] (wcstof): Expect function.
45484         [C99-based-standards] (wcstold): Likewise.
45485         [C99-based-standards] (wcstoll): Likewise.
45486         [C99-based-standards] (wcstoull): Likewise.
45487         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
45488         macro-int-constant.  Specify type.
45489         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
45490         constraint on value.
45491         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
45492         Specify type.
45493         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
45494         Specify value.
45495         [ISO C standards]: Do not allow headers.
45496         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
45497         wcs[abcdefghijklmnopqrstuvwxyz]*.
45498         [ISO C standards] (*_t): Do not allow.
45499         * conform/data/wctype.h-data [C99-based standards] (iswblank):
45500         Expect function.
45501         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
45502         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
45503         Specify type.
45504         [ISO C standards]: Do not allow headers.
45505         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
45506         is[abcdefghijklmnopqrstuvwxyz]*.
45507         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
45508         to[abcdefghijklmnopqrstuvwxyz]*.
45509         [ISO C standards] (*_t): Do not allow.
45510         * conform/data/stdalign.h-data: New file.
45511         * conform/data/stdbool.h-data: Likewise.
45512         * conform/data/stdnoreturn.h-data: Likewise.
45514 2012-11-07  Roland McGrath  <roland@hack.frob.com>
45516         [BZ #14815]
45517         * manual/filesys.texi (Directory Entries): Typo fix.
45518         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
45520 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45522         * elf/elf.h (EM_AARCH64): New macro.
45523         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
45524         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
45525         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
45526         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
45527         (R_AARCH64_TLSDESC): Likewise.
45528         (NT_ARM_TLS): Likewise.
45529         (NT_ARM_HW_BREAK): Likewise.
45530         (NT_ARM_HW_WATCH): Likewise.
45532 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
45534         [BZ #14811]
45535         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
45536         (__ieee754_powl): Saturate nonzero exponents with absolute value
45537         below 0x1p-79 to +/- 0x1p-79.
45538         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
45539         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
45540         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
45541         nonzero exponents with absolute value below 0x1p-32 to +/-
45542         0x1p-32.
45543         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
45544         (__ieee754_powl): Saturate nonzero exponents with absolute value
45545         below 0x1p-79 to +/- 0x1p-79.
45546         * math/libm-test.inc (pow_test): Add more tests.
45548 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45550         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
45551         _dl_s390_cap_flags with kernel. Increase string length.
45552         (_dl_s390_platforms): Add z196 and zEC12.
45554 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
45556         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
45557         Change XOPEN21K to XOPEN2K.
45559 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
45561         * string/memmove.c: Use memcpy when possible.
45563 2012-11-06  Andreas Jaeger  <aj@suse.de>
45565         * po/eo.po: Update from translation team.
45567 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
45569         [BZ #14793]
45570         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
45571         exponent and small x and y exponents, scale x or y up.  Increase
45572         by 2 the exponent used in scaling up.
45573         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45574         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45575         * math/libm-test.inc (fma_test): Add more tests.
45576         (fma_test_towardzero): Likewise.
45577         (fma_test_downward): Likewise.
45578         (fma_test_upward): Likewise.
45580 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
45582         [BZ #14805]
45583         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
45584         fenv_t *.
45586         [BZ #14801]
45587         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
45588         namespace for names of struct fields.
45589         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
45590         fenv_t fields.
45591         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
45592         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
45594 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45596         [BZ #3665]
45597         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
45599 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
45601         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
45602         PTR_DEMANGLE.
45604         [BZ #5246]
45605         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
45606         PTR_DEMANGLE.
45608 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
45610         [BZ #14797]
45611         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
45612         definitely overflow as x * y not x * y + z.
45613         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45614         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45615         * math/libm-test.inc (fma_test): Add more tests.
45616         (fma_test_towardzero): Likewise.
45617         (fma_test_downward): Likewise.
45618         (fma_test_upward): Likewise.
45620 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
45622         [BZ #157]
45624         * include/stub-tag.h: Remove file.
45625         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
45626         '#include' of it.
45627         * manual/maint.texi (Porting): Don't reference it.
45628         * Makerules ($(objpfx)stubs): Likewise.
45629         * dirent/closedir.c: Don't include <stub-tag.h>.
45630         * dirent/dirfd.c: Likewise.
45631         * dirent/fdopendir.c: Likewise.
45632         * dirent/getdents.c: Likewise.
45633         * dirent/getdents64.c: Likewise.
45634         * dirent/opendir.c: Likewise.
45635         * dirent/readdir.c: Likewise.
45636         * dirent/readdir64.c: Likewise.
45637         * dirent/readdir64_r.c: Likewise.
45638         * dirent/readdir_r.c: Likewise.
45639         * dirent/rewinddir.c: Likewise.
45640         * dirent/seekdir.c: Likewise.
45641         * dirent/telldir.c: Likewise.
45642         * gmon/profil.c: Likewise.
45643         * grp/setgroups.c: Likewise.
45644         * inet/if_index.c: Likewise.
45645         * io/access.c: Likewise.
45646         * io/chdir.c: Likewise.
45647         * io/chmod.c: Likewise.
45648         * io/chown.c: Likewise.
45649         * io/close.c: Likewise.
45650         * io/dup.c: Likewise.
45651         * io/dup2.c: Likewise.
45652         * io/dup3.c: Likewise.
45653         * io/euidaccess.c: Likewise.
45654         * io/faccessat.c: Likewise.
45655         * io/fchdir.c: Likewise.
45656         * io/fchmod.c: Likewise.
45657         * io/fchmodat.c: Likewise.
45658         * io/fchown.c: Likewise.
45659         * io/fchownat.c: Likewise.
45660         * io/fcntl.c: Likewise.
45661         * io/flock.c: Likewise.
45662         * io/fstatfs.c: Likewise.
45663         * io/fstatfs64.c: Likewise.
45664         * io/fstatvfs.c: Likewise.
45665         * io/fstatvfs64.c: Likewise.
45666         * io/futimens.c: Likewise.
45667         * io/fxstat.c: Likewise.
45668         * io/fxstat64.c: Likewise.
45669         * io/fxstatat.c: Likewise.
45670         * io/fxstatat64.c: Likewise.
45671         * io/getcwd.c: Likewise.
45672         * io/isatty.c: Likewise.
45673         * io/lchmod.c: Likewise.
45674         * io/lchown.c: Likewise.
45675         * io/link.c: Likewise.
45676         * io/linkat.c: Likewise.
45677         * io/lseek.c: Likewise.
45678         * io/lseek64.c: Likewise.
45679         * io/lxstat64.c: Likewise.
45680         * io/mkdir.c: Likewise.
45681         * io/mkdirat.c: Likewise.
45682         * io/mkfifo.c: Likewise.
45683         * io/mkfifoat.c: Likewise.
45684         * io/open.c: Likewise.
45685         * io/open64.c: Likewise.
45686         * io/openat.c: Likewise.
45687         * io/openat64.c: Likewise.
45688         * io/pipe.c: Likewise.
45689         * io/pipe2.c: Likewise.
45690         * io/poll.c: Likewise.
45691         * io/posix_fadvise.c: Likewise.
45692         * io/posix_fadvise64.c: Likewise.
45693         * io/posix_fallocate.c: Likewise.
45694         * io/posix_fallocate64.c: Likewise.
45695         * io/read.c: Likewise.
45696         * io/readlink.c: Likewise.
45697         * io/readlinkat.c: Likewise.
45698         * io/rmdir.c: Likewise.
45699         * io/sendfile.c: Likewise.
45700         * io/sendfile64.c: Likewise.
45701         * io/statfs.c: Likewise.
45702         * io/statfs64.c: Likewise.
45703         * io/statvfs.c: Likewise.
45704         * io/statvfs64.c: Likewise.
45705         * io/symlink.c: Likewise.
45706         * io/symlinkat.c: Likewise.
45707         * io/ttyname.c: Likewise.
45708         * io/ttyname_r.c: Likewise.
45709         * io/umask.c: Likewise.
45710         * io/unlink.c: Likewise.
45711         * io/unlinkat.c: Likewise.
45712         * io/utime.c: Likewise.
45713         * io/utimensat.c: Likewise.
45714         * io/write.c: Likewise.
45715         * io/xmknod.c: Likewise.
45716         * io/xmknodat.c: Likewise.
45717         * io/xstat.c: Likewise.
45718         * io/xstat64.c: Likewise.
45719         * login/getpt.c: Likewise.
45720         * login/grantpt.c: Likewise.
45721         * login/unlockpt.c: Likewise.
45722         * math/e_acoshl.c: Likewise.
45723         * math/e_acosl.c: Likewise.
45724         * math/e_asinl.c: Likewise.
45725         * math/e_atan2l.c: Likewise.
45726         * math/e_atanhl.c: Likewise.
45727         * math/e_coshl.c: Likewise.
45728         * math/e_expl.c: Likewise.
45729         * math/e_fmodl.c: Likewise.
45730         * math/e_gammal_r.c: Likewise.
45731         * math/e_hypotl.c: Likewise.
45732         * math/e_j0l.c: Likewise.
45733         * math/e_j1l.c: Likewise.
45734         * math/e_jnl.c: Likewise.
45735         * math/e_lgammal_r.c: Likewise.
45736         * math/e_log10l.c: Likewise.
45737         * math/e_log2l.c: Likewise.
45738         * math/e_logl.c: Likewise.
45739         * math/e_powl.c: Likewise.
45740         * math/e_rem_pio2l.c: Likewise.
45741         * math/e_sinhl.c: Likewise.
45742         * math/e_sqrtl.c: Likewise.
45743         * math/fclrexcpt.c: Likewise.
45744         * math/fedisblxcpt.c: Likewise.
45745         * math/feenablxcpt.c: Likewise.
45746         * math/fegetenv.c: Likewise.
45747         * math/fegetexcept.c: Likewise.
45748         * math/fegetround.c: Likewise.
45749         * math/feholdexcpt.c: Likewise.
45750         * math/fesetenv.c: Likewise.
45751         * math/fesetround.c: Likewise.
45752         * math/feupdateenv.c: Likewise.
45753         * math/fgetexcptflg.c: Likewise.
45754         * math/fraiseexcpt.c: Likewise.
45755         * math/fsetexcptflg.c: Likewise.
45756         * math/ftestexcept.c: Likewise.
45757         * math/k_cosl.c: Likewise.
45758         * math/k_rem_pio2l.c: Likewise.
45759         * math/k_sinl.c: Likewise.
45760         * math/k_tanl.c: Likewise.
45761         * math/s_asinhl.c: Likewise.
45762         * math/s_atanl.c: Likewise.
45763         * math/s_cbrtl.c: Likewise.
45764         * math/s_erfl.c: Likewise.
45765         * math/s_expm1l.c: Likewise.
45766         * math/s_log1pl.c: Likewise.
45767         * math/s_tanhl.c: Likewise.
45768         * misc/acct.c: Likewise.
45769         * misc/brk.c: Likewise.
45770         * misc/chflags.c: Likewise.
45771         * misc/chroot.c: Likewise.
45772         * misc/fchflags.c: Likewise.
45773         * misc/fgetxattr.c: Likewise.
45774         * misc/flistxattr.c: Likewise.
45775         * misc/fremovexattr.c: Likewise.
45776         * misc/fsetxattr.c: Likewise.
45777         * misc/fsync.c: Likewise.
45778         * misc/ftruncate.c: Likewise.
45779         * misc/futimes.c: Likewise.
45780         * misc/futimesat.c: Likewise.
45781         * misc/getdomain.c: Likewise.
45782         * misc/getdtsz.c: Likewise.
45783         * misc/gethostid.c: Likewise.
45784         * misc/gethostname.c: Likewise.
45785         * misc/getloadavg.c: Likewise.
45786         * misc/getpagesize.c: Likewise.
45787         * misc/getsysstats.c: Likewise.
45788         * misc/getxattr.c: Likewise.
45789         * misc/gtty.c: Likewise.
45790         * misc/ioctl.c: Likewise.
45791         * misc/lgetxattr.c: Likewise.
45792         * misc/listxattr.c: Likewise.
45793         * misc/llistxattr.c: Likewise.
45794         * misc/lremovexattr.c: Likewise.
45795         * misc/lsetxattr.c: Likewise.
45796         * misc/lutimes.c: Likewise.
45797         * misc/madvise.c: Likewise.
45798         * misc/mincore.c: Likewise.
45799         * misc/mlock.c: Likewise.
45800         * misc/mlockall.c: Likewise.
45801         * misc/mmap.c: Likewise.
45802         * misc/mprotect.c: Likewise.
45803         * misc/msync.c: Likewise.
45804         * misc/munlock.c: Likewise.
45805         * misc/munlockall.c: Likewise.
45806         * misc/munmap.c: Likewise.
45807         * misc/preadv.c: Likewise.
45808         * misc/preadv64.c: Likewise.
45809         * misc/ptrace.c: Likewise.
45810         * misc/pwritev.c: Likewise.
45811         * misc/pwritev64.c: Likewise.
45812         * misc/readv.c: Likewise.
45813         * misc/reboot.c: Likewise.
45814         * misc/remap_file_pages.c: Likewise.
45815         * misc/removexattr.c: Likewise.
45816         * misc/revoke.c: Likewise.
45817         * misc/select.c: Likewise.
45818         * misc/setdomain.c: Likewise.
45819         * misc/setegid.c: Likewise.
45820         * misc/seteuid.c: Likewise.
45821         * misc/sethostid.c: Likewise.
45822         * misc/sethostname.c: Likewise.
45823         * misc/setregid.c: Likewise.
45824         * misc/setreuid.c: Likewise.
45825         * misc/setxattr.c: Likewise.
45826         * misc/sstk.c: Likewise.
45827         * misc/stty.c: Likewise.
45828         * misc/swapoff.c: Likewise.
45829         * misc/swapon.c: Likewise.
45830         * misc/sync.c: Likewise.
45831         * misc/syncfs.c: Likewise.
45832         * misc/syscall.c: Likewise.
45833         * misc/truncate.c: Likewise.
45834         * misc/ualarm.c: Likewise.
45835         * misc/usleep.c: Likewise.
45836         * misc/ustat.c: Likewise.
45837         * misc/utimes.c: Likewise.
45838         * misc/vhangup.c: Likewise.
45839         * misc/writev.c: Likewise.
45840         * posix/_exit.c: Likewise.
45841         * posix/alarm.c: Likewise.
45842         * posix/execve.c: Likewise.
45843         * posix/fexecve.c: Likewise.
45844         * posix/fork.c: Likewise.
45845         * posix/fpathconf.c: Likewise.
45846         * posix/getaddrinfo.c: Likewise.
45847         * posix/getegid.c: Likewise.
45848         * posix/geteuid.c: Likewise.
45849         * posix/getgid.c: Likewise.
45850         * posix/getgroups.c: Likewise.
45851         * posix/getlogin.c: Likewise.
45852         * posix/getlogin_r.c: Likewise.
45853         * posix/getpgid.c: Likewise.
45854         * posix/getpid.c: Likewise.
45855         * posix/getppid.c: Likewise.
45856         * posix/getresgid.c: Likewise.
45857         * posix/getresuid.c: Likewise.
45858         * posix/getsid.c: Likewise.
45859         * posix/getuid.c: Likewise.
45860         * posix/glob64.c: Likewise.
45861         * posix/nanosleep.c: Likewise.
45862         * posix/pathconf.c: Likewise.
45863         * posix/pause.c: Likewise.
45864         * posix/posix_madvise.c: Likewise.
45865         * posix/pread.c: Likewise.
45866         * posix/pread64.c: Likewise.
45867         * posix/pwrite.c: Likewise.
45868         * posix/pwrite64.c: Likewise.
45869         * posix/sched_getaffinity.c: Likewise.
45870         * posix/sched_getp.c: Likewise.
45871         * posix/sched_gets.c: Likewise.
45872         * posix/sched_primax.c: Likewise.
45873         * posix/sched_primin.c: Likewise.
45874         * posix/sched_rr_gi.c: Likewise.
45875         * posix/sched_setaffinity.c: Likewise.
45876         * posix/sched_setp.c: Likewise.
45877         * posix/sched_sets.c: Likewise.
45878         * posix/sched_yield.c: Likewise.
45879         * posix/setgid.c: Likewise.
45880         * posix/setlogin.c: Likewise.
45881         * posix/setpgid.c: Likewise.
45882         * posix/setresgid.c: Likewise.
45883         * posix/setresuid.c: Likewise.
45884         * posix/setsid.c: Likewise.
45885         * posix/setuid.c: Likewise.
45886         * posix/sleep.c: Likewise.
45887         * posix/spawni.c: Likewise.
45888         * posix/sysconf.c: Likewise.
45889         * posix/times.c: Likewise.
45890         * posix/wait.c: Likewise.
45891         * posix/wait3.c: Likewise.
45892         * posix/wait4.c: Likewise.
45893         * posix/waitpid.c: Likewise.
45894         * resolv/gai_sigqueue.c: Likewise.
45895         * resource/getpriority.c: Likewise.
45896         * resource/getrlimit.c: Likewise.
45897         * resource/getrusage.c: Likewise.
45898         * resource/nice.c: Likewise.
45899         * resource/setpriority.c: Likewise.
45900         * resource/setrlimit.c: Likewise.
45901         * resource/ulimit.c: Likewise.
45902         * rt/aio_cancel.c: Likewise.
45903         * rt/aio_fsync.c: Likewise.
45904         * rt/aio_read.c: Likewise.
45905         * rt/aio_sigqueue.c: Likewise.
45906         * rt/aio_suspend.c: Likewise.
45907         * rt/aio_write.c: Likewise.
45908         * rt/clock_getres.c: Likewise.
45909         * rt/clock_gettime.c: Likewise.
45910         * rt/clock_nanosleep.c: Likewise.
45911         * rt/clock_settime.c: Likewise.
45912         * rt/lio_listio.c: Likewise.
45913         * rt/mq_close.c: Likewise.
45914         * rt/mq_getattr.c: Likewise.
45915         * rt/mq_notify.c: Likewise.
45916         * rt/mq_open.c: Likewise.
45917         * rt/mq_receive.c: Likewise.
45918         * rt/mq_send.c: Likewise.
45919         * rt/mq_setattr.c: Likewise.
45920         * rt/mq_timedreceive.c: Likewise.
45921         * rt/mq_timedsend.c: Likewise.
45922         * rt/mq_unlink.c: Likewise.
45923         * rt/shm_open.c: Likewise.
45924         * rt/shm_unlink.c: Likewise.
45925         * rt/timer_create.c: Likewise.
45926         * rt/timer_delete.c: Likewise.
45927         * rt/timer_getoverr.c: Likewise.
45928         * rt/timer_gettime.c: Likewise.
45929         * rt/timer_settime.c: Likewise.
45930         * setjmp/__longjmp.c: Likewise.
45931         * setjmp/setjmp.c: Likewise.
45932         * signal/kill.c: Likewise.
45933         * signal/killpg.c: Likewise.
45934         * signal/raise.c: Likewise.
45935         * signal/sigaction.c: Likewise.
45936         * signal/sigaltstack.c: Likewise.
45937         * signal/sigblock.c: Likewise.
45938         * signal/sigignore.c: Likewise.
45939         * signal/sigintr.c: Likewise.
45940         * signal/signal.c: Likewise.
45941         * signal/sigpause.c: Likewise.
45942         * signal/sigpending.c: Likewise.
45943         * signal/sigqueue.c: Likewise.
45944         * signal/sigreturn.c: Likewise.
45945         * signal/sigset.c: Likewise.
45946         * signal/sigsetmask.c: Likewise.
45947         * signal/sigstack.c: Likewise.
45948         * signal/sigsuspend.c: Likewise.
45949         * signal/sigtimedwait.c: Likewise.
45950         * signal/sigvec.c: Likewise.
45951         * signal/sigwait.c: Likewise.
45952         * signal/sigwaitinfo.c: Likewise.
45953         * signal/sysv_signal.c: Likewise.
45954         * socket/accept.c: Likewise.
45955         * socket/accept4.c: Likewise.
45956         * socket/bind.c: Likewise.
45957         * socket/connect.c: Likewise.
45958         * socket/getpeername.c: Likewise.
45959         * socket/getsockname.c: Likewise.
45960         * socket/getsockopt.c: Likewise.
45961         * socket/isfdtype.c: Likewise.
45962         * socket/listen.c: Likewise.
45963         * socket/recv.c: Likewise.
45964         * socket/recvfrom.c: Likewise.
45965         * socket/recvmsg.c: Likewise.
45966         * socket/send.c: Likewise.
45967         * socket/sendmsg.c: Likewise.
45968         * socket/sendto.c: Likewise.
45969         * socket/setsockopt.c: Likewise.
45970         * socket/shutdown.c: Likewise.
45971         * socket/sockatmark.c: Likewise.
45972         * socket/socket.c: Likewise.
45973         * socket/socketpair.c: Likewise.
45974         * stdio-common/ctermid.c: Likewise.
45975         * stdio-common/cuserid.c: Likewise.
45976         * stdio-common/remove.c: Likewise.
45977         * stdio-common/rename.c: Likewise.
45978         * stdio-common/renameat.c: Likewise.
45979         * stdio-common/tempname.c: Likewise.
45980         * stdlib/getcontext.c: Likewise.
45981         * stdlib/makecontext.c: Likewise.
45982         * stdlib/setcontext.c: Likewise.
45983         * stdlib/swapcontext.c: Likewise.
45984         * stdlib/system.c: Likewise.
45985         * streams/fattach.c: Likewise.
45986         * streams/fdetach.c: Likewise.
45987         * streams/getmsg.c: Likewise.
45988         * streams/getpmsg.c: Likewise.
45989         * streams/putmsg.c: Likewise.
45990         * streams/putpmsg.c: Likewise.
45991         * sysdeps/unix/bsd/getpt.c: Likewise.
45992         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45993         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45994         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45996         Likewise.
45997         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45998         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45999         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
46000         * sysvipc/msgctl.c: Likewise.
46001         * sysvipc/msgget.c: Likewise.
46002         * sysvipc/msgrcv.c: Likewise.
46003         * sysvipc/msgsnd.c: Likewise.
46004         * sysvipc/semctl.c: Likewise.
46005         * sysvipc/semget.c: Likewise.
46006         * sysvipc/semop.c: Likewise.
46007         * sysvipc/semtimedop.c: Likewise.
46008         * sysvipc/shmat.c: Likewise.
46009         * sysvipc/shmctl.c: Likewise.
46010         * sysvipc/shmdt.c: Likewise.
46011         * sysvipc/shmget.c: Likewise.
46012         * termios/tcdrain.c: Likewise.
46013         * termios/tcflow.c: Likewise.
46014         * termios/tcflush.c: Likewise.
46015         * termios/tcgetattr.c: Likewise.
46016         * termios/tcgetpgrp.c: Likewise.
46017         * termios/tcsendbrk.c: Likewise.
46018         * termios/tcsetattr.c: Likewise.
46019         * termios/tcsetpgrp.c: Likewise.
46020         * time/adjtime.c: Likewise.
46021         * time/clock.c: Likewise.
46022         * time/getitimer.c: Likewise.
46023         * time/gettimeofday.c: Likewise.
46024         * time/setitimer.c: Likewise.
46025         * time/settimeofday.c: Likewise.
46026         * time/stime.c: Likewise.
46027         * time/time.c: Likewise.
46029 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
46031         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
46032         /usr/old/bin.
46034         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
46035         instead of spaces.
46036         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
46038 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
46040         [BZ #14796]
46041         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
46042         FE_TONEAREST before applying Dekker multiplication and Knuth
46043         addition.  Clear inexact exceptions and check for exact zero
46044         results afterwards.
46045         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46046         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46047         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46048         * math/libm-test.inc (fma_test): Add more tests.
46049         (fma_test_towardzero): Likewise.
46050         (fma_test_downward): Likewise.
46051         (fma_test_upward): Likewise.
46052         * sysdeps/generic/math_private.h (default_libc_fesetround): New
46053         function.
46054         (libc_fesetround): New macro.
46055         (libc_fesetroundf): Likewise.
46056         (libc_fesetroundl): Likewise.
46057         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
46058         function.
46059         (libc_fesetround_387): Likewise.
46060         (libc_fesetroundf): New macro.
46061         (libc_fesetround): Likewise.
46062         (libc_fesetroundl): Likewise.
46063         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
46064         function.
46065         (libc_fesetroundf): New macro.
46066         (libc_fesetround): Likewise.
46067         (libc_fesetroundl): Likewise.
46068         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
46069         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
46070         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
46071         libm_hidden_ver.
46072         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
46073         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
46074         libm_hidden_def.
46075         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
46076         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
46077         libm_hidden_ver.
46078         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
46079         libm_hidden_def.
46081         [BZ #3439]
46082         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
46083         integer constant usable in #if and use that to give value to enum
46084         constant.
46085         (FE_DIVBYZERO): Likewise.
46086         (FE_UNDERFLOW): Likewise.
46087         (FE_OVERFLOW): Likewise.
46088         (FE_INVALID): Likewise.
46089         (FE_INVALID_SNAN): Likewise.
46090         (FE_INVALID_ISI): Likewise.
46091         (FE_INVALID_IDI): Likewise.
46092         (FE_INVALID_ZDZ): Likewise.
46093         (FE_INVALID_IMZ): Likewise.
46094         (FE_INVALID_COMPARE): Likewise.
46095         (FE_INVALID_SOFTWARE): Likewise.
46096         (FE_INVALID_SQRT): Likewise.
46097         (FE_INVALID_INTEGER_CONVERSION): Likewise.
46098         (FE_TONEAREST): Likewise.
46099         (FE_TOWARDZERO): Likewise.
46100         (FE_UPWARD): Likewise.
46101         (FE_DOWNWARD): Likewise.
46102         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
46103         (FE_DIVBYZERO): Likewise.
46104         (FE_OVERFLOW): Likewise.
46105         (FE_UNDERFLOW): Likewise.
46106         (FE_INEXACT): Likewise.
46107         (FE_TONEAREST): Likewise.
46108         (FE_DOWNWARD): Likewise.
46109         (FE_UPWARD): Likewise.
46110         (FE_TOWARDZERO): Likewise.
46111         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
46112         (FE_UNDERFLOW): Likewise.
46113         (FE_OVERFLOW): Likewise.
46114         (FE_DIVBYZERO): Likewise.
46115         (FE_INVALID): Likewise.
46116         (FE_TONEAREST): Likewise.
46117         (FE_TOWARDZERO): Likewise.
46118         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
46119         (FE_OVERFLOW): Likewise.
46120         (FE_UNDERFLOW): Likewise.
46121         (FE_DIVBYZERO): Likewise.
46122         (FE_INEXACT): Likewise.
46123         (FE_TONEAREST): Likewise.
46124         (FE_TOWARDZERO): Likewise.
46125         (FE_UPWARD): Likewise.
46126         (FE_DOWNWARD): Likewise.
46127         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
46128         (FE_DIVBYZERO): Likewise.
46129         (FE_OVERFLOW): Likewise.
46130         (FE_UNDERFLOW): Likewise.
46131         (FE_INEXACT): Likewise.
46132         (FE_TONEAREST): Likewise.
46133         (FE_DOWNWARD): Likewise.
46134         (FE_UPWARD): Likewise.
46135         (FE_TOWARDZERO): Likewise.
46137 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
46139         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
46141 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
46143         * scripts/cross-test-ssh.sh (command): Use newlines to separate
46144         commands.  Quote $PWD.
46145         (blacklist_exports): Don't use remove_newlines.  Replace "declare
46146         -x" by "export".
46147         (remove_newlines): Remove.
46149 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
46151         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
46152         * stdlib/stdlib.h (atof): Moved to ...
46153         * include/bits/stdlib-float.h: Here.  New file.
46154         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
46155         * stdlib/bits/stdlib-float.h: New file.
46156         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
46157         -mno-sse -mno-mmx.
46158         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
46159         <xmmintrin.h>.
46161 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
46163         * conform/conformtest.pl (@headers): Add fenv.h.
46164         * conform/data/fenv.h-data: New file.
46165         * include/fenv.h [_ISOMAC]: Disable all contents of file except
46166         include of <math/fenv.h>.
46168         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
46169         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
46170         && !UNIX98].  Enables tests for XOPEN2K8.
46171         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
46172         POSIX2008]: Likewise.
46174         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
46175         (struct rusage): Do not expect type or its members.
46177         [BZ #3439]
46178         * math/math.h (FP_NAN): Define macro to integer constant usable in
46179         #if and use that to give value to enum constant.
46180         (FP_INFINITE): Likewise.
46181         (FP_ZERO): Likewise.
46182         (FP_SUBNORMAL): Likewise.
46183         (FP_NORMAL): Likewise.
46185 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
46187         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
46188         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
46189         arguments.
46191 2012-11-02  Roland McGrath  <roland@hack.frob.com>
46193         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
46194         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
46195         autoconf-time if not.
46196         * configure.in: Remove AC_PREREQ.
46198 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46200         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
46201         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
46202         of the internal implementation.
46204 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
46206         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
46207         except include of <misc/sys/syslog.h>.
46209 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
46211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
46212         function returns with a NULL context exit with zero.
46214 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46216         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
46218 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
46220         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
46221         (run_program_cmd): This.
46222         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
46223         (tst_langinfo): New variable.  Use it.
46225 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
46227         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
46228         floating point opcodes.
46230 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
46232         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
46233         variable.
46235         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
46237         * sysdeps/mach/hurd/powerpc: Remove directory.
46238         * sysdeps/mach/powerpc: Likewise.
46240 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
46242         * scripts/check-local-headers.sh: Ignore c++ headers.
46244 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
46246         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
46247         __libc_cleanup_region_start argument.
46249 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
46251         [BZ #14784]
46252         [BZ #14785]
46253         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
46254         x * y using scaling, not as x * y + z.
46255         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46256         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46257         * math/libm-test.inc (fma_test): Add more tests.
46258         (fma_test_towardzero): Likewise.
46259         (fma_test_downward): Likewise.
46260         (fma_test_upward): Likewise.
46262 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
46264         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
46266 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
46268         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
46269         New variable.
46271 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
46273         * rt/tst-shm.c (worker): Correct checking for mmap failure.
46275 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
46277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46278         Fix sort order.
46279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46280         Likewise.
46282 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46285         Fix the order of the list for glibc 2.17.
46286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46287         Likewise.
46289 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
46291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46293 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
46295         [BZ #14610]
46296         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
46297         for low part of x being zero before using __atanl (y).
46298         * math/libm-test.inc (atan2_test): Add another test.
46300         * manual/install.texi (Configuring and compiling): Document
46301         general use of test-wrapper and test-wrapper-env.
46302         * INSTALL: Regenerated.
46304         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
46305         (__fma): Do not extract and scale down low bits on after-rounding
46306         systems when result rounded to normal precision would have normal
46307         exponent.
46308         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
46309         (__fmal): Do not extract and scale down low bits on after-rounding
46310         systems when result rounded to normal precision would have normal
46311         exponent.
46312         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
46313         (__fmal): Do not extract and scale down low bits on after-rounding
46314         systems when result rounded to normal precision would have normal
46315         exponent.
46316         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
46317         macro.
46318         (fma_test): Add more tests.
46319         (fma_test_towardzero): Likewise.
46320         (fma_test_downward): Likewise.
46321         (fma_test_upward): Likewise.
46323 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
46325         * sysdeps/i386/tininess.h: Renamed to ...
46326         * sysdeps/x86/tininess.h: This.
46327         * sysdeps/x86_64/tininess.h: Removed.
46329 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
46331         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
46332         input.  Use $(build-program-cmd).
46333         ($(objpfx)tst-array1-static.out): Likewise.
46334         ($(objpfx)tst-array2.out): Likewise.
46335         ($(objpfx)tst-array3.out): Likewise.
46336         ($(objpfx)tst-array4.out): Likewise.
46337         ($(objpfx)tst-array5.out): Likewise.
46338         ($(objpfx)tst-array5-static.out): Likewise.
46340 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
46342         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
46343         if defined.
46345         * nss/nsswitch.h (nss_interface_function): Provide new
46346         macro for use with NSS functions.
46347         * grp/initgroups.c: Use new macro.
46348         * nss/getXXbyYY.c: Likewise.
46349         * nss/getXXbyYY_r.c: Likewise.
46350         * nss/getXXent.c: Likewise.
46351         * nss/getXXent_r.c: Likewise.
46352         * sysdeps/posix/getaddrinfo.c: Likewise.
46354 2012-10-30  Andreas Jaeger  <aj@suse.de>
46356         * po/ru.po: Update Russion translation from translation project.
46358 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
46360         [BZ #14152]
46361         [BZ #14783]
46362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
46363         result and shift together with sticky bit instead of replicating
46364         round-to-nearest rounding.
46365         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46366         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46367         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
46368         missing underflow exceptions.
46369         (fma_test_towardzero): Add more tests.
46370         (fma_test_downward): Likewise.
46371         (fma_test_upward): Likewise.
46373         [BZ #14047]
46374         * sysdeps/generic/tininess.h: New file.
46375         * sysdeps/i386/tininess.h: Likewise.
46376         * sysdeps/sh/tininess.h: Likewise.
46377         * sysdeps/x86_64/tininess.h: Likewise.
46378         * stdlib/tst-strtod-underflow.c: Likewise.
46379         * stdlib/tst-tininess.c: Likewise.
46380         * stdlib/strtod_l.c: Include <tininess.h>.
46381         (round_and_return): Do not set errno for exact underflow cases.
46382         Force an underflow exception when setting errno for underflow.
46383         Determine underflow based on rounding to normal precision if
46384         TININESS_AFTER_ROUNDING.
46385         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
46386         ERANGE for exact underflow cases.
46387         * stdlib/Makefile (tests): Add tst-tininess and
46388         tst-strtod-underflow.
46389         ($(objpfx)tst-tininess): Use $(link-libm).
46390         ($(objpfx)tst-strtod-underflow): Likewise.
46392 2012-10-30  Andreas Jaeger  <aj@suse.de>
46394         [BZ#14767]
46395         * elf/Makefile (tests): Remove conditional for have-initfini-array
46396         since this is now always required and the variable does not exist
46397         anymore.
46398         (tests-static): Likewise.
46399         (modules-names): Likewise.
46401         * po/eo.po: Add Esperanto translation from translation project.
46403         * elf/tst-array1.c (fini_array): Make writeable so that it can be
46404         merged with constructor/destructor.
46405         (init_array): Likewise.
46406         * elf/tst-array2dep.c (fini_array): Likewise.
46407         (init_array): Likewise.
46409 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
46411         * manual/message.texi: Delete @cartouche tags.
46413 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
46415         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
46416         EOPNOTSUPP.
46417         * sysdeps/mach/hurd/fsync.c: Likewise.
46419         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
46420         [_POSIX_REALTIME_SIGNALS]: Change condition to
46421         [_POSIX_REALTIME_SIGNALS > 0].
46423 2012-10-27  Andreas Jaeger  <aj@suse.de>
46425         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
46426         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
46427         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
46428         [__WORDSIZE != 64]: Likewise.
46430 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
46432         *  iconvdata/tst-table.sh: Remove ${SHELL}.
46433         *  iconvdata/tst-tables.sh: Likewise.
46435 2012-10-25  David S. Miller  <davem@davemloft.net>
46437         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46438         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
46439         of strtoull.
46441         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
46442         ifunc-impl-list.c
46443         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46444         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
46445         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
46446         file.
46448 2012-10-25  Roland McGrath  <roland@hack.frob.com>
46450         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46451         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
46452         __getdirentries.
46454 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
46455             Jim Blandy  <jimb@codesourcery.com>
46457         * scripts/cross-test-ssh.sh: New file.
46458         * manual/install.texi (Configuring and compiling): Document use of
46459         cross-test-ssh.sh.
46460         * INSTALL: Regenerated.
46462 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
46464         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
46465         EOPNOTSUPP.
46467 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
46469         * Makeconfig (run-program-prefix): Fix comment.
46471 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
46472             Jim Blandy  <jimb@codesourcery.com>
46474         * Makeconfig (test-wrapper): New variable,
46475         (test-wrapper-env): Likewise.
46476         [$(cross-compiling) = yes && $(test-wrapper) != ""]
46477         (run-built-tests): Define to yes.
46478         (run-program-prefix): Use $(test-wrapper).
46479         (built-program-cmd): Likewise.
46480         * Rules (make-test-out): Use $(test-wrapper-env) and
46481         $(host-built-program-cmd).
46482         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
46483         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
46484         tst-pathopt.sh.
46485         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
46486         $(test-wrapper-env) to tst-rtld-load-self.sh.
46487         ($(objpfx)order2.out): Use $(test-wrapper).
46488         ($(objpfx)tst-initorder.out): Likewise.
46489         ($(objpfx)tst-initorder2.out): Likewise.
46490         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
46491         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
46492         (test_wrapper_env): New variable.  Use it to run ld.so.
46493         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
46494         Use it to run ld.so.
46495         (test_wrapper_env): Likewise.
46496         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
46497         $(test-wrapper) to run-iconv-test.sh.
46498         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
46499         (ICONV): Use $test_wrapper.
46500         * posix/Makefile ($(objpfx)globtest.out): Pass
46501         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
46502         globtest.sh, not $(run-program-prefix).
46503         * posix/globtest.sh (run_via_rtld_prefix): New variable.
46504         (test_wrapper): Likewise.
46505         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
46506         set together with run_via_rtld_prefix.
46507         (run_program_prefix): Define in terms of test_wrapper and
46508         run_via_rtld_prefix.
46510 2012-10-24  Roland McGrath  <roland@hack.frob.com>
46512         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
46513         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
46514         Targets removed.
46516         [BZ #14743]
46517         * include/time.h: Remove librt_hidden_proto (clock_gettime).
46518         Declare __clock_getres, __clock_gettime, __clock_settime,
46519         __clock_nanosleep, and __clock_getcpuclockid.
46520         * rt/clock_gettime.c: Define __clock_gettime as an alias.
46521         Remove librt_hidden_def (clock_gettime).
46522         * sysdeps/unix/clock_gettime.c: Likewise.
46523         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
46524         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
46525         * rt/clock_getres.c: Define __clock_getres as an alias.
46526         * sysdeps/posix/clock_getres.c: Likewise.
46527         * rt/clock_settime.c: Define __clock_settime as an alias.
46528         * sysdeps/unix/clock_settime.c: Likewise.
46529         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
46530         * sysdeps/unix/clock_nanosleep.c: Likewise.
46531         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
46532         * rt/clock-compat.c: New file.
46533         * rt/Makefile (librt-routines): Add clock-compat and move
46534         $(clock-routines) to ...
46535         (routines): ... here, new variable.
46536         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
46537         Don't add get_clockfreq here.
46538         * rt/Versions (libc: GLIBC_2.17): New version set.
46539         Add clock_* symbols here.
46540         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
46541         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
46542         (GLIBC_2.17): Add clock_* symbols.
46543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46545         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46547         Likewise.
46548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46549         Likewise.
46550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46554         * NEWS: Mention the move.
46556         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46557         Use __open, __read, __close rather than their public counterparts.
46558         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46559         (__get_clockfreq_via_cpuinfo): Likewise.
46560         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
46561         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
46563         * config.h.in (HAVE_IFUNC): New #undef.
46564         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
46565         was successful.
46566         * configure: Regenerated.
46568 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
46570         * configure.in: Move READELF check to start of file.
46571         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
46572         libc_cv_asm_gnu_indirect_function in the process.
46573         * configure: Regenerated.
46575 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
46577         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
46578         send the output to /dev/null.
46579         (libc_cv_cc_with_libunwind): Likewise.
46580         (libc_cv_as_noexecstack): Likewise.
46581         * configure: Regenerate.
46583 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
46585         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
46587         * posix/globtest.sh (TMPDIR): Do not set.
46588         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
46589         (testout): Likewise.
46591 2012-10-24  Andreas Jaeger  <aj@suse.de>
46593         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
46594         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
46595         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
46596         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
46597         posix_fadvise64, posix_fallocate64.
46599         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
46600         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
46601         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
46602         Likewise.
46603         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
46604         Likewise.
46605         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
46607         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
46608         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
46609         <bits/fcntl-linux.h>.
46610         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
46612         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
46613         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
46614         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
46615         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
46616         [__WORDSIZE != 64]: Likewise.
46618 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
46620         * Makeconfig (run-built-tests): New variable.
46621         * Rules [$(cross-compiling) = yes]: Change condition to
46622         [$(run-built-tests) = no].
46623         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
46624         to [$(run-built-tests) = yes].
46625         * elf/Makefile [$(cross-compiling) = no]: Likewise
46626         * grp/Makefile [$(cross-compiling) = no]: Likewise.
46627         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
46628         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
46629         * intl/Makefile [$(cross-compiling) = no]: Likewise.
46630         * io/Makefile [$(cross-compiling) = no]: Likewise.
46631         * libio/Makefile [$(cross-compiling) = no]: Likewise.
46632         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
46633         * misc/Makefile [$(cross-compiling) = no]: Likewise.
46634         * posix/Makefile [$(cross-compiling) = no]: Likewise.
46635         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
46636         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
46637         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
46638         * string/Makefile [$(cross-compiling) = no]: Likewise.
46640         * posix/Makefile ($(objpfx)globtest.out): Pass
46641         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
46642         $(rtld-installed-name).
46643         * posix/globtest.sh (elf_objpfx): Remove variable.
46644         (rtld_installed_name): Likewise.
46645         (library_path): Likewise.
46646         (run_program_prefix): New variable.  Use for running globtest
46647         binary.
46649 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
46650             Joseph Myers  <joseph@codesourcery.com>
46652         * Makeconfig (host-built-program-cmd): New variable.
46653         * elf/Makefile (tst-stackguard1-ARGS): Use
46654         $(host-built-program-cmd).
46655         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
46656         (tst-spawn-ARGS): Likewise.
46657         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
46659 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
46660             Jim Blandy  <jimb@codesourcery.com>
46662         * Makeconfig (run-via-rtld-prefix): New variable.
46663         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
46664         (built-program-cmd): Likewise.
46666 2012-10-22  Andreas Jaeger  <aj@suse.de>
46668         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
46669         __O_RSYNC if it exists, otherwise to O_SYNC.
46671 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
46672             Joseph Myers  <joseph@codesourcery.com>
46674         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
46675         /dev/null.
46676         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
46677         from /dev/null
46678         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
46679         /dev/null.
46681 2012-10-22  Andreas Jaeger  <aj@suse.de>
46683         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
46684         Define always.
46685         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
46687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46688         bits/fcntl-linux.h.
46690         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
46691         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
46693         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
46694         to __O_LARGEFILE.
46695         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
46696         to __O_LARGEFILE.
46698 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
46699             Joseph Myers  <joseph@codesourcery.com>
46701         * config.make.in (NM): New variable.
46703 2012-10-21  Andreas Jaeger  <aj@suse.de>
46705         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
46706         definitions and declarations that are provided by
46707         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46709 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
46711         [BZ #14683]
46712         * elf/Makefile (tests-static): Add tst-leaks1-static.
46713         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
46714         ($(objpfx)tst-leaks1-static): New rule.
46715         ($(objpfx)tst-leaks1-static-mem): Likewise.
46716         (tst-leaks1-static-ENV): New macro.
46717         * elf/dl-open.c (dl_open_worker): Check the main application
46718         only if SHARED is defined.
46719         * elf/tst-leaks1-static.c: New file.
46721 2012-10-20  Andreas Jaeger  <aj@suse.de>
46723         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
46724         generic values for Linux.
46725         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
46726         and declarations that are provided by <bits/fcntl-linux.h> and
46727         include <bits/fcntl-linux.h>.
46728         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46729         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46731 2012-10-20  Roland McGrath  <roland@hack.frob.com>
46733         * io/fcntl.h: Move include of <bits/types.h> to the top and
46734         include it unconditionally.
46736 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
46738         * wcsmbs/Makefile (tests-ifunc): New variable.
46739         (tests): Add $(tests-ifunc).
46740         * wcsmbs/test-wcschr-ifunc.c: New file.
46741         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
46742         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
46743         * wcsmbs/test-wcslen-ifunc.c: Likewise.
46744         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
46745         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
46747         * string/Makefile (tests-ifunc): New variable.
46748         (tests): Add $(tests-ifunc).
46749         * string/test-memccpy.c (TEST_NAME): New macro.
46750         * string/test-memchr.c (TEST_NAME): Likewise.
46751         * string/test-memcmp.c (TEST_NAME): Likewise.
46752         * string/test-memcpy.c (TEST_NAME): Likewise.
46753         * string/test-memmem.c (TEST_NAME): Likewise.
46754         * string/test-memmove.c (TEST_NAME): Likewise.
46755         * string/test-memset.c (TEST_NAME): Likewise.
46756         * string/test-rawmemchr.c (TEST_NAME): Likewise.
46757         * string/test-stpcpy.c (TEST_NAME): Likewise.
46758         * string/test-stpncpy.c (TEST_NAME): Likewise.
46759         * string/test-strcasecmp.c (TEST_NAME): Likewise.
46760         * string/test-strcasestr.c (TEST_NAME): Likewise.
46761         * string/test-strcat.c (TEST_NAME): Likewise.
46762         * string/test-strchr.c (TEST_NAME): Likewise.
46763         * string/test-strcmp.c(TEST_NAME): Likewise.
46764         * string/test-strcpy.c (TEST_NAME): Likewise.
46765         * string/test-strcspn.c (TEST_NAME): Likewise.
46766         * string/test-strlen.c (TEST_NAME): Likewise.
46767         * string/test-strncasecmp.c (TEST_NAME): Likewise.
46768         * string/test-strncmp.c (TEST_NAME): Likewise.
46769         * string/test-strncpy.c (TEST_NAME): Likewise.
46770         * string/test-strnlen.c (TEST_NAME): Likewise.
46771         * string/test-strpbrk.c (TEST_NAME): Likewise.
46772         * string/test-strrchr.c (TEST_NAME): Likewise.
46773         * string/test-strspn.c (TEST_NAME): Likewise.
46774         * string/test-strstr.c (TEST_NAME): Likewise.
46775         * string/test-bcopy-ifunc.c: New file.
46776         * string/test-bzero-ifunc.c: Likewise.
46777         * string/test-memccpy-ifunc.c: Likewise.
46778         * string/test-memchr-ifunc.c: Likewise.
46779         * string/test-memcmp-ifunc.c: Likewise.
46780         * string/test-memcpy-ifunc.c: Likewise.
46781         * string/test-memmem-ifunc.c: Likewise.
46782         * string/test-memmove-ifunc.c: Likewise.
46783         * string/test-mempcpy-ifunc.c: Likewise.
46784         * string/test-memset-ifunc.c: Likewise.
46785         * string/test-rawmemchr-ifunc.c: Likewise.
46786         * string/test-stpcpy-ifunc.c: Likewise.
46787         * string/test-stpncpy-ifunc.c: Likewise.
46788         * string/test-strcasecmp-ifunc.c: Likewise.
46789         * string/test-strcasestr-ifunc.c: Likewise.
46790         * string/test-strcat-ifunc.c: Likewise.
46791         * string/test-strchr-ifunc.c: Likewise.
46792         * string/test-strchrnul-ifunc.c: Likewise.
46793         * string/test-strcmp-ifunc.c: Likewise.
46794         * string/test-strcpy-ifunc.c: Likewise.
46795         * string/test-strcspn-ifunc.c: Likewise.
46796         * string/test-strlen-ifunc.c: Likewise.
46797         * string/test-strncasecmp-ifunc.c: Likewise.
46798         * string/test-strncat-ifunc.c: Likewise.
46799         * string/test-strncmp-ifunc.c: Likewise.
46800         * string/test-strncpy-ifunc.c: Likewise.
46801         * string/test-strnlen-ifunc.c: Likewise.
46802         * string/test-strpbrk-ifunc.c: Likewise.
46803         * string/test-strrchr-ifunc.c: Likewise.
46804         * string/test-strspn-ifunc.c: Likewise.
46805         * string/test-strstr-ifunc.c: Likewise.
46807         * debug/Makefile (tests-ifunc): New variable.
46808         (tests): Add $(tests-ifunc).
46809         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
46810         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
46811         * debug/test-stpcpy_chk-ifunc.c: New file.
46812         * debug/test-strcpy_chk-ifunc.c: Likewise.
46814 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46816         [BZ #13601]
46817         * elf/dl-load.c (open_verify): Retry read if the entire ELF
46818         header is not read in.
46820 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
46822         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
46823         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
46824         directly.  Pass built executable to script as
46825         $(built-program-cmd).
46826         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
46827         $testprogram without using LD_LIBRARY_PATH and $ldso.
46829         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
46830         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
46831         $(rtld-installed-name).
46832         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
46833         (rtld_installed_name): Likewise.
46834         (library_path): Likewise.
46835         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
46836         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
46837         $(run-program-prefix) to tst-tables.sh.
46838         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
46839         it to run tst-table-from and tst-table-to.
46840         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
46841         Pass it to tst-table.sh.
46842         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
46843         $(run-program-prefix) to tst-gettext.sh.
46844         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
46845         tst-translit.sh.
46846         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
46847         tst-gettext2.sh.
46848         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
46849         to run tst-gettext.
46850         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
46851         to run tst-gettext2.
46852         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
46853         to run tst-translit.
46854         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
46855         $(run-program-prefix) to tst-mtrace.sh.
46856         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
46857         to run tst-mtrace.
46858         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
46859         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
46860         $(rtld-installed-name).
46861         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
46862         (rtld_installed_name): Likewise.
46863         (run_program_prefix): New variable.  Use it to run wordexp-test.
46865         * Makeconfig (ARCH): Remove all definitions.
46866         (machine): Likewise.
46867         [ARCH]: Remove conditional code.
46868         [!objdir]: Give error.
46869         [!objdir] (objpfx): Remove.
46870         [!objdir] (common-objpfx): Likewise.
46871         [!objdir] (common-objdir): Likewise.
46872         * configure.in (config_makefile): Remove.  Hardcode Makefile in
46873         AC_CONFIG_FILES call.
46874         * configure: Regenerated.
46876         [BZ #13888]
46877         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
46878         or TMPDIR.
46879         (testout): Likewise.
46881         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
46882         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
46883         $(rtld-installed-name).
46884         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
46885         (rtld_installed_name): Likwise.
46886         (runit): Remove function.
46887         (run_getconf): New variable,  Use it for running getconf binary.
46889 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
46891         [BZ #14716]
46892         * string/test-memmem.c (check_result): New function.
46893         (do_one_test): Use it.
46894         (check1): New function.
46895         (test_main): Use it.
46897 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
46899         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46901 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
46903         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
46904         (_G_LSEEK64): Likewise.
46905         (_G_MMAP64): Likewise.
46906         (_G_FSTAT64): Likewise.
46907         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
46908         (_G_LSEEK64): Likewise.
46909         (_G_MMAP64): Likewise.
46910         (_G_FSTAT64): Likewise.
46911         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
46912         unconditional.  Call __mmap64 directly.
46913         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
46914         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
46915         __lseek64 directly.
46916         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
46917         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
46918         __mmap64 directly.
46919         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
46920         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46921         __lseek64 directly.
46922         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
46923         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46924         __lseek64 directly.
46925         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
46926         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
46927         __lseek64 directly.
46928         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
46929         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
46930         __fxstat64 directly.
46931         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
46932         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
46933         unconditional.
46934         (freopen64) [!_G_OPEN64]: Remove conditional code.
46935         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
46936         unconditional.
46937         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
46938         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
46939         unconditional.
46940         (ftello64) [!_G_LSEEK64]: Remove conditional code.
46941         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
46942         unconditional.
46943         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46944         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46945         unconditional.
46946         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46947         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46948         unconditional.
46949         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46950         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46951         unconditional.
46952         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46953         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46954         unconditional.
46955         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46957 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46959         [BZ #12140]
46960         * manual/memory.texi (Malloc Tunable Parameters): Add note
46961         about free list pointers overwriting some perturb bytes.
46962         Wording suggested by Roland McGrath.
46964 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
46966         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46967         (lgamma_test): Likewise.
46968         (tgamma_test): Likewise.
46970 2012-10-16  Florian Weimer  <fweimer@redhat.com>
46972         [BZ #14700]
46973         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46974         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46976 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
46978         * NEWS: Mention BZ #14716.
46979         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46980         when removing AVAILABLE1_USES_J macro.
46982 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
46984         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46985         (__bswap_64): __uint64_t for unsigned 64-bit int.
46987 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
46989         * include/string.h (memmem): Declare libc hidden alias.
46990         * string/memmem.c (memmem): Define libc hidden alias.
46991         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46992         __read, __close instead of open, read, close.
46994 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
46996         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46997         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46998         global and hidden.
46999         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
47000         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
47001         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
47002         Likewise.
47003         (__rawmemchr_sse2): Likewise.
47004         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
47005         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
47006         (__strchr_sse2): Likewise.
47007         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
47008         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
47009         (__strcasecmp_sse2): Likewise.
47010         (__strncasecmp_sse2): Likewise.
47011         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
47012         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
47013         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
47014         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
47015         (__strrchr_sse2): Likewise.
47016         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
47017         ifunc-impl-list.c.
47018         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
47019         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
47020         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
47021         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47022         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
47023         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
47024         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47025         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47026         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
47027         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
47028         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
47029         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
47030         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
47031         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
47032         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
47033         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47034         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
47035         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
47036         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
47037         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
47038         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
47039         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
47040         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
47041         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
47042         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
47043         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47044         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
47045         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47046         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
47047         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
47049         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
47050         global and hidden.
47051         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
47052         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
47053         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
47054         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
47055         Likewise.
47056         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
47057         Likewise.
47058         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
47059         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
47060         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
47061         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
47062         ifunc-impl-list.c.
47063         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47064         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47065         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47066         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47067         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47068         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47069         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47070         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47071         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47072         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47073         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47074         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47075         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47076         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
47077         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
47078         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47079         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
47080         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
47081         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47082         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47083         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47084         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47085         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47086         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47087         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47088         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
47089         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
47090         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
47091         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
47092         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47093         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
47094         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47095         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47096         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
47097         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47098         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47099         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47100         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47101         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47102         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47103         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
47105         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
47106         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
47107         * include/ifunc-impl-list.h: New file.
47108         * misc/ifunc-impl-list.c: Likewise.
47109         * misc/Makefile (routines): Add ifunc-impl-list.
47110         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
47111         * string/test-string.h: Include <ifunc-impl-list.h>.
47112         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
47113         TEST_NAME]: New variables.
47114         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
47115         are defined.
47116         (test_init): Call __libc_ifunc_impl_list to initialize
47117         func_list if TEST_IFUNC and TEST_NAME are defined.
47119         * string/Makefile (strop-tests): Add bcopy and bzero.
47120         * string/test-bcopy.c: New file.
47121         * string/test-bzero.c: Likewise.
47122         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
47123         defined.
47124         * string/test-memset.c: Support bzero test if TEST_BZERO is
47125         defined.
47126         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
47127         __libc_memmove.
47128         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
47129         __libc_memset.
47130         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
47131         of memset.
47133 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
47135         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
47136         * configure: Regenerated.
47138         * Makeconfig (+link-static-before-libc): Don't include
47139         $(link-static-libc).
47141         * libio/libio.h (_IO_pos_t): Remove.
47143 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
47145         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
47146         McGrath.
47148 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
47150         * crypt/crypt-entry.c: Include fips-private.h.
47151         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
47152         * crypt/md5c-test.c (main): Tolerate disabled MD5.
47153         * sysdeps/unix/sysv/linux/fips-private.h: New file.
47154         * sysdeps/generic/fips-private.h: New file, dummy fallback.
47156 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
47158         * crypt/crypt-private.h: Include stdbool.h.
47159         (_ufc_setup_salt_r): Return bool.
47160         * crypt/crypt-entry.c: Include errno.h.
47161         (__crypt_r): Return NULL with EINVAL for bad salt.
47162         * crypt/crypt_util.c (bad_for_salt): New.
47163         (_ufc_setup_salt_r): Check that salt is long enough and within
47164         the specified alphabet.
47165         * crypt/badsalttest.c: New file.
47166         * crypt/Makefile (tests): Add it.
47167         ($(objpfx)badsalttest): New.
47169 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
47171         * NEWS: Add entry for BZ #14602.
47173 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
47175         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
47176         type-generic.
47177         * math/libm-test.inc: Update comment listing what functions and
47178         macros are tested.
47179         (isgreater_test): New function.
47180         (isgreaterequal_test): Likewise.
47181         (isless_test): Likewise.
47182         (islessequal_test): Likewise.
47183         (islessgreater_test): Likewise.
47184         (isunordered_test): Likewise.
47185         (main): Call the new functions.
47187 2012-10-09  Roland McGrath  <roland@hack.frob.com>
47189         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
47190         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
47191         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
47192         * sysdeps/i386/configure: Regenerated.
47193         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
47194         * sysdeps/mach/configure: Regenerated.
47195         * sysdeps/mach/hurd/configure: Regenerated.
47196         * sysdeps/powerpc/configure: Regenerated.
47197         * sysdeps/powerpc/powerpc32/configure: Regenerated.
47198         * sysdeps/powerpc/powerpc64/configure: Regenerated.
47199         * sysdeps/s390/s390-32/configure: Regenerated.
47200         * sysdeps/s390/s390-64/configure: Regenerated.
47201         * sysdeps/sh/configure: Regenerated.
47202         * sysdeps/sparc/configure: Regenerated.
47203         * sysdeps/unix/sysv/linux/configure: Regenerated.
47204         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
47205         * sysdeps/x86_64/configure: Regenerated.
47207         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
47208         defined.  Don't check if MAP is NULL.
47210 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
47212         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
47213         (_G_stat64): Likewise.
47214         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
47215         (_G_stat64): Likewise.
47216         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
47217         instead of struct _G_stat64.
47218         * libio/fileops.c (mmap_remap_check): Likewise.
47219         (decide_maybe_mmap): Likewise.
47220         (_IO_new_file_seekoff): Likewise.
47221         (_IO_file_stat): Likewise.
47222         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
47223         _G_off64_t.
47224         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
47225         instead of struct _G_stat64.
47226         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
47228 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
47230         [BZ #14602]
47231         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
47232         Replace with ...
47233         (CHECK_EOL): New macro.
47234         (two_way_short_needle): Check beginning of haystack for EOL.  Use
47235         CHECK_EOL.
47236         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
47237         Replace with CHECK_EOL.
47238         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
47239         Replace with CHECK_EOL.
47241 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
47243         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
47244         type-generic.
47245         * math/libm-test.inc: Update comment listing what functions and
47246         macros are tested.
47247         (finite_test): New function.
47248         (isinf_test): Likewise.
47249         (isnan_test): Likewise.
47250         (fpclassify_test): Test subnormal input.
47251         (isfinite_test): Likewise.
47252         (isnormal_test): Likewise.
47253         (main): Call the new functions.
47255 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
47257         [BZ #14660]
47258         * Makerules (%.dynsym): Force C locale when running
47259         $(OBJDUMP) --dynamic-syms.
47261 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
47263         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
47264         <stdint.h>.
47266 2012-10-06  David S. Miller  <davem@davemloft.net>
47268         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
47269         upper 32-bits of the length value in %o2 since we use branch-on-register
47270         tests which consider the entire 64-bit register.
47272 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
47274         * string/test-strstr.c (check2): Add a test for page boundary.
47276 2012-10-05  David S. Miller  <davem@davemloft.net>
47278         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
47279         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
47280         file.
47281         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
47282         sysdep_routines.
47283         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
47284         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
47285         and bzero when HWCAP_SPARC_CRYPTO is present.
47287 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
47289         [BZ #14602]
47290         * string/test-strstr.c (check2): New function.
47291         (test_main): Call check2.
47293         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
47294         and bug-strchr1.
47295         * string/bug-strcasestr1.c (do_test): Moved to ...
47296         * string/test-strcasestr.c (check1): Here.  New function.
47297         (do_one_test): Break out result checking code into ...
47298         (check_result): This.  New function.
47299         (do_one_test): Call check_result.
47300         (test_main): Call check1.
47301         * string/bug-strchr1.c (do_test): Moved to ...
47302         * string/test-strchr.c (check1): Here.  New function.
47303         (do_one_test): Break out result checking code into ...
47304         (check_result): This.  New function.
47305         (do_one_test): Call check_result.
47306         (test_main): Call check1.
47307         * string/bug-strstr1.c (main): Moved to ...
47308         * string/test-strstr.c (check1): Here.  New function.
47309         (do_one_test): Break out result checking code into ...
47310         (check_result): This.  New function.
47311         (do_one_test): Call check_result.
47312         (test_main): Call check1.
47313         * string/bug-strcasestr1.c: Removed.
47314         * string/bug-strchr1.c: Likewise.
47315         * string/bug-strstr1.c: Likewise.
47317         * elf/Makefile (dl-routines): Add hwcaps.
47318         * elf/dl-support.c (_dl_important_hwcaps): Removed.
47319         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
47320         (_dl_important_hwcaps): Moved to ...
47321         * elf/dl-hwcaps.c: Here.  New file.
47322         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
47324         [BZ #14557]
47325         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
47326         if IS_IN_rtld isn't defined.
47328         * elf/dl-support.c (_dl_sysinfo_map): New.
47329         Include "get-dynamic-info.h" and "setup-vdso.h".
47330         (_dl_non_dynamic_init): Call setup_vdso.
47331         * elf/dynamic-link.h: Don't include <assert.h>.
47332         (elf_get_dynamic_info): Moved to ...
47333         * elf/get-dynamic-info.h: Here.  New file.
47334         * elf/dynamic-link.h: Include "get-dynamic-info.h".
47335         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
47336         * elf/setup-vdso.h: Here.  New file.
47337         * elf/rtld.c: Include "setup-vdso.h".
47338         (dl_main): Call setup_vdso.
47340 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
47342         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
47343         creal in comment listing functions tested.  List finite, isinf,
47344         isnan, isless, islessequal, isgreater, isgreaterequal,
47345         islessgreater, isunordered, lgamma_r and pow10 as functions and
47346         macros not tested.  Mention which functions not tested are aliases
47347         for other functions.  Fix typo.  Note that signs of NaNs are not
47348         tested.
47350         * scripts/config.guess: Update from config.git.
47351         * scripts/config.sub: Likewise.
47353 2012-10-04  Roland McGrath  <roland@hack.frob.com>
47355         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
47356         * misc/madvise.c (madvise): Renamed to __madvise.
47357         Make madvise a weak alias.
47358         * include/sys/mman.h: Declare __madvise.
47359         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
47360         * sysdeps/unix/syscalls.list
47361         (madvise): Make __madvise the strong name, and madvise a weak alias.
47362         * sysdeps/unix/sysv/linux/syscalls.list
47363         (madvise, mmap): Remove redundant entries.
47364         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
47365         * malloc/malloc.c (mtrim): Likewise.
47366         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
47368 2012-10-03  Roland McGrath  <roland@hack.frob.com>
47370         * sysdeps/mach/hurd/dl-cache.c: File removed.
47371         * config.h.in (USE_LDCONFIG): New #undef.
47372         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
47373         * configure: Regenerated.
47374         * elf/Makefile (dl-routines): Add dl-cache only under
47375         [$(use-ldconfig) = yes].
47376         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
47377         cache on [USE_LDCONFIG].
47378         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
47379         [USE_LDCONFIG].
47380         * elf/rtld.c (dl_main): Likewise.
47382 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
47384         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
47385         _SC_LEVEL4_CACHE_LINESIZE.
47387 2012-10-03  Roland McGrath  <roland@hack.frob.com>
47389         * sysdeps/unix/bsd/confstr.h: File removed.
47391 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
47393         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
47394         sys/sdt-config.h.
47396 2012-10-02  Roland McGrath  <roland@hack.frob.com>
47398         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
47399         Make 'mapoff' field ElfW(Off) rather than off_t.
47401 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
47403         * nscd/Makefile: Remove nscd-cflags and all its users.
47404         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
47405         (CFLAGS-nonlib): Add compiler flags for nscd modules.
47407         [BZ #10631]
47408         * malloc.c (malloc_printerr): Clarify error message.
47410 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
47412         [BZ #14648]
47413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47414         Set bit_FMA_Usable if FMA is supported.
47415         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
47416         macro.
47417         (bit_FMA4_Usable): Updated.
47418         (index_FMA_Usable): New macro.
47419         (CPUID_FMA): Likewise
47420         (HAS_FMA): Defined with bit_FMA_Usable.
47422 2012-10-01  Roland McGrath  <roland@hack.frob.com>
47424         * bits/types.h (__swblk_t): Type removed.
47425         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
47426         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
47427         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47428         (__SWBLK_T_TYPE): Likewise.
47429         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47430         (__SWBLK_T_TYPE): Likewise.
47431         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47432         (__SWBLK_T_TYPE): Likewise.
47433         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47434         (__SWBLK_T_TYPE): Likewise.
47436 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
47437             Honza Horak <hhorak@redhat.com>
47439         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
47440         (xdr_mapname): Use YPMAXMAP as maxsize.
47441         (xdr_peername): Use YPMAXPEER as maxsize.
47442         (xdr_keydat): Use YPAXRECORD as maxsize.
47443         (xdr_valdat): Use YPMAXRECORD as maxsize.
47445 2012-10-01  Roland McGrath  <roland@hack.frob.com>
47447         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
47449         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
47450         * csu/init-first.c: ... here.
47451         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
47452         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
47453         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
47454         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
47455         * sysdeps/i386/init-first.c: File removed.
47456         * sysdeps/sh/init-first.c: File removed.
47458 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
47460         [BZ #14645]
47461         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
47462         if x * y might underflow to zero and z is zero.
47463         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47464         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47465         * math/libm-test.inc (min_subnorm_value): New variable.
47466         (fma_test): Add more tests.
47467         (fma_test_towardzero): Likewise.
47468         (fma_test_downward): Likewise
47469         (fma_test_upward): Likewise.
47470         (initialize): Set min_subnorm_value.
47472 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
47474         [BZ #14638]
47475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
47476         0 + 0.
47477         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
47478         mode for addition resulting in exact zero.
47479         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
47480         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
47481         exact 0 + 0.
47482         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47483         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47484         * math/libm-test.inc (fma_test): Add more tests.
47485         (fma_test_towardzero): New function.
47486         (fma_test_downward): Likewise.
47487         (fma_test_upward): Likewise.
47488         (main): Call the new functions.
47490 2012-09-28  David S. Miller  <davem@davemloft.net>
47492         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
47494 2012-09-28  Roland McGrath  <roland@hack.frob.com>
47496         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
47497         instead of SIGALRM.
47499         * sysdeps/gnu/_G_config.h: Moved to ...
47500         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
47501         * sysdeps/mach/hurd/_G_config.h: Moved to ...
47502         * sysdeps/generic/_G_config.h: ... here.
47504         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
47506         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
47508         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
47509         Conditionalize target on [libnss_test1.so-version].
47511         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
47513         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
47514         (elfobjdir): Move out of conditionals.
47516         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
47517         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
47518         (__nss_lookup_function): Conditionalize label remove_from_tree on
47519         [!DO_STATIC_NSS || SHARED], matching its only use.
47521 2012-09-28  David S. Miller  <davem@davemloft.net>
47523         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
47524         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
47525         file.
47526         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
47527         sysdep_routines.
47528         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
47529         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
47530         when HWCAP_SPARC_CRYPTO is present.
47532 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
47534         * io/tst-mknodat.c: Create a FIFO instead of a socket.
47536 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
47538         [BZ #6530]
47539         * stdio-common/vfprintf.c (process_string_arg): Revert
47540         2000-07-22 change.
47542 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
47544         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
47545         for testcase.
47546         * stdio-common/tst-sprintf.c: Include <locale.h>
47547         (main): Test sprintf's handling of incomplete multibyte
47548         characters.
47550 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
47552         * elf/dl-runtime.c (VERSYMIDX): Removed.
47553         * elf/dl-version.c (VERSYMIDX): Likewise.
47554         * elf/do-rel.h (VERSYMIDX): Likewise.
47555         (VALIDX): Likewise.
47556         * elf/dynamic-link.h (VERSYMIDX): Likewise.
47557         * elf/rtld.c (VALIDX): Likewise.
47558         (ADDRIDX): Likewise.
47559         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
47560         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
47561         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
47562         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
47563         (VALIDX): Likewise.
47564         (ADDRIDX): Likewise.
47566 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
47568         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
47570 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
47572         [BZ #11438]
47573         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
47574         to global scope.
47575         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
47576         addresses are in the same scope as 192.0.2/24.
47577         * posix/gai.conf: Document new scope table defaults.
47579 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47581         [BZ #5298]
47582         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
47583         for ftell.  Compute offsets from write pointers instead.
47584         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
47586 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47588         [BZ #14543]
47589         * libio/Makefile (tests): New test case tst-fseek.
47590         * libio/tst-fseek.c: New test case to verify that fseek/ftell
47591         combination works in wide mode.
47592         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
47593         state when the external buffer state changes.
47595 2012-09-27  David S. Miller  <davem@davemloft.net>
47597         [BZ #14376]
47598         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
47599         pass reloc->r_addend in as the 'high' argument to
47600         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
47602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47604 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
47606         * rt/tst-aio2.c: Include <pthread.h>.
47607         * rt/tst-aio3.c: Likewise.
47609 2012-09-27  Steve Ellcey  <sellcey@mips.com>
47611         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
47613 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
47615         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
47616         contents on [SHARED].
47618 2012-09-26  Marek Polacek  <polacek@redhat.com>
47620         [BZ #14530]
47621         [BZ #13741]
47622         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
47623         for C++ and GCC <4.3 as well as for non GCC compilers.
47625 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47629 2012-09-25  Roland McGrath  <roland@hack.frob.com>
47631         * Makefile.in (all, install): Declare with .PHONY.
47632         Reported by Michael Hope <michael.hope@linaro.org>.
47634 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47636         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
47637         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
47638         system header.
47639         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
47640         Likewise.
47641         (sydep_routines): Add the new and the internal functions.
47642         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
47643         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
47644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
47645         (GLIBC_2.17): Add the new function.
47646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47647         (GLIBC_2.17): Likewise.
47648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
47649         (GLIBC_2.17): Likewise.
47650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
47651         (GLIBC_2.17): Likewise.
47652         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
47654 2012-09-25  Alan Modra  <amodra@gmail.com>
47656         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
47657         Add release barrier before setting once_control to say
47658         initialisation is done.  Add hints on lwarx.  Use macro in
47659         place of isync.
47660         (clear_once_control): Add release barrier.
47662 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
47664         [BZ #13629]
47665         * math/s_clog.c (__clog): Handle more values close to |z| = 1
47666         specially.
47667         * math/s_clog10.c (__clog10): Likewise.
47668         * math/s_clog10f.c (__clog10f): Likewise.
47669         * math/s_clog10l.c (__clog10l): Likewise.
47670         * math/s_clogf.c (__clogf): Likewise.
47671         * math/s_clogl.c (__clogl): Likewise.
47672         * math/Makefile (libm-calls): Add x2y2m1.
47673         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
47674         (__x2y2m1): Likewise.
47675         (__x2y2m1l): Likewise.
47676         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
47677         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
47678         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
47679         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47680         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
47681         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
47682         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
47683         * sysdeps/i386/fpu/libm-test-ulps: Update.
47684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47686         [BZ #14621]
47687         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
47688         int as type of variable DEPTH.
47689         (glob): Use size_t instead of int as type of variables NEWCOUNT
47690         and OLD_PATHC.
47692 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47694         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47695         Add s_sincosf-sse2.
47696         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
47697         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
47698         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
47699         macros for using routine as __sincosf_ia32.
47700         Use macro for function declaration and weak_alias.
47701         * sysdeps/i386/fpu/libm-test-ulps: Update.
47703         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
47704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47706         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
47707         subnormal argument.
47708         * math/s_cexpf.c (__cexpf): Likewise.
47709         * math/s_csinf.c (__csinf): Likewise.
47710         * math/s_csinhf.c (__csinhf): Likewise.
47711         * math/s_ctanf.c (__ctanf): Likewise.
47712         * math/s_ctanhf.c (__ctanhf): Likewise.
47713         * math/s_ccosh.c (__ccoshf): Likewise.
47714         * math/s_cexp.c (__cexpl): Likewise.
47715         * math/s_csin.c (__csin): Likewise.
47716         * math/s_csinh.c (__csinh): Likewise.
47717         * math/s_ctan.c (__ctan): Likewise.
47718         * math/s_ctanh.c (ctanh): Likewise.
47719         * math/s_ccoshl.c (__ccoshl): Likewise.
47720         * math/s_cexpl.c (__cexpl): Likewise.
47721         * math/s_csinl.c (__csinl): Likewise.
47722         * math/s_csinhl.c (__csinhl): Likewise.
47723         * math/s_ctanl.c (__ctanl): Likewise.
47724         * math/s_ctanhl.c (__ctanhl): Likewise.
47726 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
47728         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
47729         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
47730         (_IO_off_t): Define to __off_t, not _G_off_t.
47731         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
47732         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
47733         (_IO_wint_t): Define to wint_t, not _G_wint_t.
47734         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
47735         type of __dummy and __dummy2 fields.
47736         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
47737         (_G_ssize_t): Likewise.
47738         (_G_off_t): Likewise.
47739         (_G_pid_t): Likewise.
47740         (_G_uid_t): Likewise.
47741         (_G_wchar_t): Likewise.
47742         (_G_wint_t): Likewise.
47743         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
47744         (_G_ssize_t): Likewise.
47745         (_G_off_t): Likewise.
47746         (_G_pid_t): Likewise.
47747         (_G_uid_t): Likewise.
47748         (_G_wchar_t): Likewise.
47749         (_G_wint_t): Likewise.
47750         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
47751         (_G_ssize_t): Likewise.
47752         (_G_off_t): Likewise.
47753         (_G_pid_t): Likewise.
47754         (_G_uid_t): Likewise.
47755         (_G_wchar_t): Likewise.
47756         (_G_wint_t): Likewise.
47758 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47760         * malloc/arena.c: Include malloc-sysdep.h.
47761         (shrink_heap): Use check_may_shrink_heap to decide if madvise
47762         is sufficient to shrink the heap or an unmap is needed.
47763         * sysdeps/generic/malloc-sysdep.h: New file.  Define
47764         new function check_may_shrink_heap.
47765         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
47766         new function check_may_shrink_heap.
47768 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47770         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
47771         comments.
47773 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
47775         * catgets/test-gencat.sh: Add "set -e".
47776         * elf/tst-pathopt.sh: Likewise.
47777         * grp/tst_fgetgrent.sh: Likewise.
47778         * iconvdata/run-iconv-test.sh: Likewise.
47779         * intl/tst-gettext.sh: Likewise.
47780         * intl/tst-gettext2.sh: Likewise.
47781         * intl/tst-gettext4.sh: Likewise.
47782         * intl/tst-gettext6.sh: Likewise.
47783         * intl/tst-translit.sh: Likewise.
47784         * io/ftwtest-sh: Likewise.
47785         * libio/test-freopen.sh: Likewise.
47786         * malloc/tst-mtrace.sh: Likewise.
47787         * posix/globtest.sh: Likewise.
47788         * posix/tst-getconf.sh: Likewise.
47789         * posix/wordexp-tst.sh: Likewise.
47790         * stdio-common/tst-printf.sh: Likewise.
47791         * stdio-common/tst-unbputc.sh: Likewise.
47792         * stdlib/tst-fmtmsg.sh: Likewise.
47793         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47794         * catgets/Makefile: Do not specify -e option when running
47795         testsuite shell scripts.
47796         * elf/Makefile: Likewise.
47797         * grp/Makefile: Likewise.
47798         * iconvdata/Makefile: Likewise.
47799         * intl/Makefile: Likewise.
47800         * io/Makefile: Likewise.
47801         * libio/Makefile: Likewise.
47802         * malloc/Makefile: Likewise.
47803         * posix/Makefile: Likewise.
47804         * stdio-common/Makefile: Likewise.
47805         * stdlib/Makefile: Likewise.
47806         * sysdeps/x86_64/Makefile: Likewise.
47808         * io/ftwtest-sh: Add copyright header.
47809         * posix/globtest.sh: Likewise.
47810         * posix/tst-getconf.sh: Likewise.
47811         * posix/wordexp-tst.sh: Likewise.
47812         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47814 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
47816         [BZ #13679]
47817         * Makeconfig (+link): Defined as $(+link-static) if
47818         $(build-shared) isn't yes.
47819         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
47820         isn't yes.
47821         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
47823         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
47825         [BZ #14562]
47826         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
47827         new chunk size with MALLOC_ALIGN_MASK.
47829 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
47831         [BZ #5044]
47832         * stdio-common/printf_fphex.c: Include <stdbool.h> and
47833         <rounding-mode.h>.
47834         (__printf_fphex): Determine rounding using get_rounding_mode and
47835         round_away.
47836         * stdio-common/tst-printf-round.c (struct hex_test): New
47837         structure.
47838         (hex_tests): New variable.
47839         (test_hex_in_one_mode): New function.
47840         (do_test): Also run tests for hex float output.
47842 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
47844         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47845         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47846         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
47847         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47848         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47849         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
47850         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47851         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47853 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
47855         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
47856         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
47857         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
47858         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47860 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
47862         [BZ #14579]
47863         * elf/rtld.c (dl_main): Limit the check for self loading to normal
47864         mode only.
47865         * elf/tst-rtld-load-self.sh: New test.
47866         * elf/Makefile: Run it.
47868 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
47870         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
47871         (tst-writev-ENV): Remove.
47872         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
47874 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
47876         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
47878 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
47880         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
47881         unconditional.
47882         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
47883         Likewise.
47884         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
47885         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
47886         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
47887         Likewise.
47889 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
47891         [BZ #14587]
47892         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
47893         * config.make.in (have-cpp-asm-debuginfo): Removed.
47894         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
47895         * configure: Regenerated.
47897 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
47899         [BZ #5044]
47900         * stdio-common/printf_fp.c: Include <stdbool.h> and
47901         <rounding-mode.h>.
47902         (___printf_fp): Determine rounding using get_rounding_mode and
47903         round_away.
47904         * stdio-common/tst-printf-round.c: New file.
47905         * stdio-common/Makefile (tests): Add tst-printf-round.
47906         (link-libm): New variable.
47907         ($(objpfx)tst-printf-round): Depend in $(link-libm).
47909 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
47911         [BZ #14576]
47912         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
47913         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47914         Likewise.
47915         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
47916         Likewise.
47918 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
47920         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
47921         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47922         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47923         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47925 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
47927         [BZ #14518]
47928         * include/rounding-mode.h: New file.
47929         * sysdeps/generic/get-rounding-mode.h: Likewise.
47930         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
47931         * stdlib/strtod_l.c: Include <rounding-mode.h>.
47932         (MAX_VALUE): New macro.
47933         (MIN_VALUE): Likewise.
47934         (overflow_value): New function.
47935         (underflow_value): Likewise.
47936         (round_and_return): Use overflow_value and underflow_value to
47937         determine return values in overflow and underflow cases.  Use
47938         round_away to determine rounding depending on rounding mode.
47939         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
47940         determine return values in overflow and underflow cases.
47941         * stdlib/tst-strtod-round.c: Include <fenv.h>.
47942         (struct test_results): New structure.
47943         (struct test): Use struct test_results to store expected results
47944         for all rounding modes.
47945         (TEST): Include expected results for all rounding modes.
47946         (test_in_one_mode): New function.
47947         (do_test): Use test_in_one_mode to compute and check results.
47948         Check results for all rounding modes.
47949         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47950         $(link-libm).
47952 2012-12-09  Allan McRae  <allan@archlinux.org>
47954         * sysdeps/i386/fpu/libm-test-ulps: Update
47956 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
47958         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47959         (_G_int32_t): Likewise.
47960         (_G_uint16_t): Likewise.
47961         (_G_uint32_t): Likewise.
47962         (_G_HAVE_BOOL): Likewise.
47963         (_G_HAVE_ATEXIT): Likewise.
47964         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47965         (_G_HAVE_IO_FILE_OPEN): Likewise.
47966         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47967         (_G_int32_t): Likewise.
47968         (_G_uint16_t): Likewise.
47969         (_G_uint32_t): Likewise.
47970         (_G_HAVE_BOOL): Likewise.
47971         (_G_HAVE_ATEXIT): Likewise.
47972         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47973         (_G_HAVE_IO_FILE_OPEN): Likewise.
47974         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47975         (_G_int32_t): Likewise.
47976         (_G_uint16_t): Likewise.
47977         (_G_uint32_t): Likewise.
47978         (_G_HAVE_BOOL): Likewise.
47979         (_G_HAVE_ATEXIT): Likewise.
47980         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47981         (_G_HAVE_IO_FILE_OPEN): Likewise.
47983 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
47985         * csu/libc-tls.c: Update copyright years.
47987 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
47989         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47990         [!_G_USING_THUNKS]: Remove conditional code.
47991         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47992         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47994         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47995         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47996         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47997         (_G_VTABLE_LABEL_PREFIX): Likewise.
47998         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47999         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
48000         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
48001         (_G_VTABLE_LABEL_PREFIX): Likewise.
48002         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
48003         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
48004         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
48005         (_G_VTABLE_LABEL_PREFIX): Likewise.
48006         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
48008 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
48010         * libio/Makefile: Include ../Makeconfig before tests.
48011         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
48012         only if $(build-shared) is yes.
48014         * iconv/gconv_db.c: Update copyright years.
48016 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48018         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
48019         unwind info if defined PIC. Fix special cases description.
48020         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
48022         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
48023         DP_HI_MASK entry.
48024         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
48026 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
48028         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
48030         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
48031         is NULL.
48033         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
48034         (LDLIBS-tst-chk4): This.
48035         (LDFLAGS-tst-chk5): Renamed to ...
48036         (LDLIBS-tst-chk5): This.
48037         (LDFLAGS-tst-chk6): Renamed to ...
48038         (LDLIBS-tst-chk6): This.
48039         (LDFLAGS-tst-lfschk4): Renamed to ...
48040         (LDLIBS-tst-lfschk4): This.
48041         (LDFLAGS-tst-lfschk5): Renamed to ...
48042         (LDLIBS-tst-lfschk5): This.
48043         (LDFLAGS-tst-lfschk6): Renamed to ...
48044         (LDLIBS-tst-lfschk6): This.
48046         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
48047         on $(common-objpfx)soversions.mk.
48049 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
48051         [BZ #10014]
48052         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
48053         example host name.
48055 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48057         * malloc/arena.c (arena_get_retry): New function that gets
48058         another arena for the caller to try its request on.
48059         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
48060         current arena cannot fulfill the request.
48061         (__libc_memalign): Likewise.
48062         (__libc_memalign): Likewise.
48063         (__libc_pvalloc): Likewise.
48064         (__libc_calloc): Likewise.
48066 2012-09-05  John Tobey  <john.tobey@gmail.com>
48068         [BZ #13542]
48069         * manual/arith.texi (Operations on Complex): Fix description
48070         of carg branch cut.
48072 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
48074         [BZ #10014]
48075         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
48076         host name.
48078         [BZ #10038]
48079         * manual/memory.texi (Memory): Make order of menu items match
48080         order of sections.
48082 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
48084         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
48085         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
48086         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
48088 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
48090         * csu/libc-tls.c (static_dtv): Renamed to ...
48091         (_dl_static_dtv): This.  Make it global.
48092         (_dl_initial_dtv): Removed.
48093         (__libc_setup_tls): Updated.
48094         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
48095         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
48096         DL_INITIAL_DTV.
48098 2012-09-06  Petr Machata  <pmachata@redhat.com>
48100         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
48101         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
48102         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
48103         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
48105 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
48107         [BZ #14545]
48108         * csu/libc-tls.c (_dl_initial_dtv): New variable.
48109         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
48110         freeing dtv[-1].
48112 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
48114         [BZ #14544]
48115         * Makeconfig (link-static-before-libc): Replace $(+prector)
48116         with $(+prectorT).
48117         (link-static-after-libc): Replace $(+postctor) with
48118         $(+postctorT).
48119         (link-bounded): Replace $(+prector)/$(+postctor) with
48120         $(+prectorT)/$(+postctorT).
48121         (+prectorT): New macro.
48122         (+postctorT): Likewise.
48124 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
48126         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
48127         (round_str): Handle values above the maximum for IBM long double
48128         as inexact.
48129         * stdlib/tst-strtod-round.c (tests): Regenerated.
48131 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48133         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
48134         assembler flag.
48135         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
48136         zarch_nohighgprs around the zarch optimized routines.
48137         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
48138         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
48139         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
48140         for zarch.
48142 2012-09-05  David S. Miller  <davem@davemloft.net>
48144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48146         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
48147         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
48148         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
48149         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48150         entries.
48152 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
48154         * malloc/arena.c: Fold copyright years.
48155         * malloc/mcheck.c, malloc/memusage.c: Likewise.
48157 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
48159         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
48161 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
48163         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
48165 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
48167         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
48168         change internal state upon failure.
48170 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
48172         * malloc/mcheck.c (mcheck_check_all): Fix typo.
48173         * malloc/memusage.c (mmap): Likewise.
48174         (mmap64, mremap): Likewise.  Adjust name in comment.
48176 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48178         * libio/fileops.c: Fix typos in comments.
48179         * libio/oldfileops.c: Likewise.
48180         * libio/wfileops.c: Likewise.
48182 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48184         [BZ #1349]
48185         * malloc/Makefile (tests): Add tst-malloc-usable test case.
48186         (tst-malloc-usable-ENV): Set environment for test case.
48187         * malloc/hooks.c (malloc_check_get_size): New function to get
48188         requested size.
48189         * malloc/malloc.c (musable): Use malloc_check_get_size.
48190         * malloc/tst-malloc-usable.c: New test case.
48192 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48194         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
48196 2012-09-05  Allan McRae  <allan@archlinux.org>
48198         [BZ #13966]
48199         * configure.in (CXX_SYSINCLUDES): Use compiler output to
48200         determine header location.
48201         * configure: Regenerated.
48203 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48205         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
48206         float format.
48207         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
48208         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
48209         format.
48210         (test): Regenerate.
48212 2012-09-04  David S. Miller  <davem@davemloft.net>
48214         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
48215         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
48216         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
48218 2012-09-04  Florian Weimer  <fweimer@redhat.com>
48220         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
48221         failures.
48223         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
48225 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
48227         [BZ #9914]
48228         * libio/iogetdelim.c: Include <limits.h>.
48229         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
48230         + len + 1 would overflow.
48232 2012-09-03  Andreas Jaeger  <aj@suse.de>
48234         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48235         * sysdeps/i386/fpu/libm-test-ulps: Update.
48237 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48239         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
48240         Add s_sinf-sse2, s_conf-sse2.
48242         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
48243         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
48244         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
48245         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
48247         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
48248         for using routine as __sinf_ia32.
48249         Use macro for function declaration and weak_alias.
48250         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
48251         for using routine as __cosf_ia32.
48252         Use macro for function declaration and weak_alias.
48254         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
48255         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
48257         * sysdeps/x86_64/fpu/s_sinf.S: New file.
48258         * sysdeps/x86_64/fpu/s_cosf.S: New file.
48259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48261         * math/libm-test.inc (cos_test): Add more test cases.
48262         (sin_test): Likewise.
48263         (sincos_test): Likewise.
48265 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48267         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
48268         (IFUNC_RESOLVE): Make pointers to the specialized implementations
48269         hidden.
48270         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
48272 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
48274         [BZ #14538]
48275         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
48276         first element of the GOT.
48277         (elf_machine_load_address): Return the difference between
48278         the runtime address of _DYNAMIC and elf_machine_dynamic ().
48280 2012-09-01  Allan McRae  <allan@archlinux.org>
48282         [BZ #13412]
48283         * configure.in (AWK): Require gawk version 3.0 or later.
48284         * configure: Regenerated.
48286 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
48288         * sysdeps/unix/sysv/linux/kernel-features.h
48289         (__ASSUME_POSIX_CPU_TIMERS): Remove.
48290         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48291         [__NR_clock_getres]: Make code unconditional.
48292         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
48293         (clock_getcpuclockid): Remove code left unreachable by removal of
48294         conditionals.
48295         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
48296         code unconditional.
48297         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
48298         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
48299         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
48300         Make code unconditional.
48301         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
48302         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
48303         * sysdeps/unix/sysv/linux/clock_settime.c
48304         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
48305         conditional code.
48306         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
48307         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
48309 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
48311         [BZ #14476]
48312         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
48313         scripts/test-installation.pl.
48315         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
48316         and $ld_so_version if it is set.
48318 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48320         [BZ #14516]
48321         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
48322         failure if reading from procfs failed.
48323         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
48325 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
48327         * sysdeps/unix/sysv/linux/kernel-features.h
48328         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
48329         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
48330         Remove conditional code.
48331         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48332         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
48333         Remove conditional code.
48334         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48335         * sysdeps/unix/sysv/linux/i386/fxstat.c
48336         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
48337         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48338         * sysdeps/unix/sysv/linux/i386/fxstatat.c
48339         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
48340         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48341         * sysdeps/unix/sysv/linux/i386/lxstat.c
48342         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
48343         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48344         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
48345         Remove conditional code.
48346         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48347         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
48348         Remove conditional code.
48349         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48350         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
48351         <kernel-features.h>.
48352         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
48353         Remove.
48354         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
48355         Remove conditional code.
48356         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48357         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
48358         Remove conditional.
48360 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
48362         [BZ #5400]
48363         * NEWS: Add fixed bug number.
48365 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
48367         [BZ #14519]
48368         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
48369         underflowing exponent in case of negative sign.
48370         * stdlib/tst-strtod-round-data: Add more tests.
48371         * stdlib/tst-strtod-round.c (tests): Regenerated.
48373         [BZ #3479]
48374         * stdlib/strtod_l.c (NDIG): Remove.
48375         (HEXNDIG): Likewise.
48376         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
48377         smallest representable value.
48378         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
48379         lie within an exact representation of 1/2 ulp of the result.
48380         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
48381         unconditionally.
48382         (TENS_P9_IDX): Define unconditionally.
48383         (TENS_P9_SIZE): Likewise.
48384         (TENS_P10_IDX): Likewise.
48385         (TENS_P10_SIZE): Likewise.
48386         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
48387         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
48388         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
48389         entries for 10^2^13 and 10^2^14.
48390         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
48391         (TENS_P13_IDX): Define.
48392         (TENS_P13_SIZE): Likewise.
48393         (TENS_P14_IDX): Likewise.
48394         (TENS_P14_SIZE): Likewise.
48395         (_fpioconst_pow10): Change array size to
48396         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
48397         unconditional.
48398         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
48399         1024]: Add entries for 10^2^13 and 10^2^14.
48400         [LAST_POW10 > _LAST_POW10]: Remove #error.
48401         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
48402         (_fpioconst_pow10): Change array size to
48403         FPIOCONST_POW10_ARRAY_SIZE.
48404         * stdlib/gen-fpioconst.c: New file.
48405         * stdlib/gen-tst-strtod-round.c: Likewise.
48406         * stdlib/tst-strtod-round-data: Likewise.
48407         * stdlib/tst-strtod-round.c: Likewise.
48408         * stdlib/Makefile (tests): Add tst-strtod-round.
48410         [BZ #14459]
48411         * stdlib/strtod_l.c: Include <stdint.h>.
48412         (NDEBUG): Do not define.
48413         (round_and_return): Change EXPONENT parameter to type intmax_t.
48414         Rearrange calculations to avoid internal overflow possibilities.
48415         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
48416         Rearrange calculations to avoid internal overflow possibilities.
48417         Assert that number fits inside MPNSIZE limbs.
48418         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
48419         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
48420         calculations and add assertions to avoid internal overflow
48421         possibilities.  Add casts to avoid signed/unsigned operations.
48422         * stdlib/tst-strtod-overflow.c: New file.
48423         * stdlib/Makefile (tests): Add tst-strtod-overflow.
48425 2012-08-25  Marek Polacek  <polacek@redhat.com>
48427         * time/time.h: Fix some typos in comments.
48429 2012-08-23  Roland McGrath  <roland@hack.frob.com>
48431         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
48432         * posix/tst-rfc3484-2.c: Likewise.
48433         * posix/tst-rfc3484-3.c: Likewise.
48435 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
48437         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
48438         (EF_ARM_ABI_FLOAT_HARD): Likewise.
48440 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
48442         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
48443         #include of fxstatat64.c.
48445 2012-08-22  Roland McGrath  <roland@hack.frob.com>
48447         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
48448         * shadow/getspent_r.c: Likewise.
48449         * shadow/getspnam.c: Likewise.
48450         * shadow/getspnam_r.c: Likewise.
48451         * gshadow/getsgent.c: Likewise.
48452         * gshadow/getsgent_r.c: Likewise.
48453         * gshadow/getsgnam.c: Likewise.
48454         * gshadow/getsgnam_r.c: Likewise.
48455         * inet/getnetbyad.c: Likewise.
48456         * inet/getnetbyad_r.c: Likewise.
48457         * inet/getnetbynm.c: Likewise.
48458         * inet/getnetbynm_r.c: Likewise.
48459         * inet/getnetent.c: Likewise.
48460         * inet/getnetent_r.c: Likewise.
48461         * inet/getproto.c: Likewise.
48462         * inet/getproto_r.c: Likewise.
48463         * inet/getprtent.c: Likewise.
48464         * inet/getprtent_r.c: Likewise.
48465         * inet/getprtname.c: Likewise.
48466         * inet/getprtname_r.c: Likewise.
48467         * inet/getrpcbyname.c: Likewise.
48468         * inet/getrpcbyname_r.c: Likewise.
48469         * inet/getrpcbynumber.c: Likewise.
48470         * inet/getrpcbynumber_r.c: Likewise.
48471         * inet/getrpcent.c: Likewise.
48472         * inet/getrpcent_r.c: Likewise.
48473         * inet/getaliasent.c: Likewise.
48474         * inet/getaliasent_r.c: Likewise.
48475         * inet/getaliasname.c: Likewise.
48476         * inet/getaliasname_r.c: Likewise.
48477         * nscd/getgrgid_r.c: Likewise.
48478         * nscd/getgrnam_r.c: Likewise.
48479         * nscd/gethstbyad_r.c: Likewise.
48480         * nscd/gethstbynm3_r.c: Likewise.
48481         * nscd/getpwnam_r.c: Likewise.
48482         * nscd/getpwuid_r.c: Likewise.
48483         * nscd/getsrvbynm_r.c: Likewise.
48484         * nscd/getsrvbypt_r.c: Likewise.
48485         * nscd/gai.c: Likewise.
48487         * configure.in (build_nscd): New substituted variable, set
48488         by --disable-build-nscd and defaults to $use_nscd.
48489         * configure: Regenerated.
48490         * config.make.in (build-nscd): New substituted variable.
48491         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
48492         Change conditional to require [$(build-nscd) = yes] as well.
48493         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
48495         [BZ# 13696]
48496         * configure.in (use_nscd): New substituted variable, set by
48497         --disable-nscd.  If enabled, define USE_NSCD.
48498         * configure: Regenerated.
48499         * config.h.in: Add USE_NSCD.
48500         * config.make.in (use-nscd): New substituted variable.
48501         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
48502         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
48503         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
48504         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
48505         (CFLAGS-getgrnam_r.c): Likewise.
48506         (CFLAGS-initgroups.c): Likewise.
48507         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
48508         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
48509         Variables removed.
48510         * inet/getnetgrent_r.c
48511         (nscd_setnetgrent): New function, broken out of ...
48512         (setnetgrent): ... here.  Call it.
48513         (innetgr): Conditionalize nscd bits on [USE_NSCD].
48514         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
48515         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
48516         * nscd/Makefile (routines, aux): Move definitions after include of
48517         Makeconfig.  Conditionalize on [$(use-nscd) != no].
48518         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
48519         Conditionalize on [USE_NSCD].
48520         (is_nscd, nscd_init_cb): Likewise.
48521         (nss_load_library): Conditionalize init callback on [USE_NSCD].
48522         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
48523         * nss/nss_db/db-init.c: Likewise.
48524         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
48525         [USE_NSCD].
48526         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
48527         (make_request): Use it.
48528         (cache_valid_p): New function.
48529         (__check_pf): Use it.
48530         * NEWS: Add item for --disable-nscd.
48532 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
48534         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
48535         to support sed >= 4.2.1-20-ga9bf076.
48536         * configure: Regenerated.
48538 2012-08-22  Roland McGrath  <roland@hack.frob.com>
48540         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
48541         Conditionalize whole body on [IREL].
48543 2012-08-22  Jeff Law <law@redhat.com>
48545         [BZ #14505]
48546         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
48547         if the family is PF_UNSPEC.
48549 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
48551         * Makerules (lib-version): Rename from V.
48552         (install-lib-nosubdir): Change V to lib-version.
48554 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
48556         [BZ #14252]
48557         * powerpc32/power6/wcschr.c: New file.
48558         * powerpc32/power6/wcscpy.c: New file.
48559         * powerpc32/power6/wcsrchr.c: New file.
48560         * powerpc64/power6/wcschr.c: New file.
48561         * powerpc64/power6/wcscpy.c: New file.
48562         * powerpc64/power6/wcsrchr.c: New file.
48564 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
48566         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
48567         (two_way_short_needle): Use it.
48568         * string/strstr.c (AVAILABLE1_USES_J): Define.
48569         * string/strcasestr.c: Likewise.
48571         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
48572         array references.
48573         * string/strcasestr.c (TOLOWER): Make side-effect safe.
48575         [BZ #11607]
48576         * NEWS: Add an entry.
48577         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
48578         define their defaults.
48579         (two_way_short_needle): Detect end-of-string on-the-fly.
48580         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
48581         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
48582         * string/bug-strcasestr1.c: New test.
48583         * string/Makefile: Run it.
48585 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
48587         [BZ #11607]
48588         * string/str-two-way.h (two_way_short_needle): Optimize matching of
48589         the first character.
48591 2012-08-21  Roland McGrath  <roland@hack.frob.com>
48593         * csu/elf-init.c (__libc_csu_irel): Function removed.
48594         * csu/libc-start.c (apply_irel): New function.
48595         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
48597 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
48599         * sysdeps/unix/sysv/linux/kernel-features.h
48600         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
48601         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
48602         <kernel-features.h>.
48603         [__NR_fadvise64_64]: Make code unconditional.
48604         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
48605         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
48606         !__NR_fadvise64_64)]: Likewise.
48607         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
48608         !__NR_fadvise64_64))]: Likewise.
48609         [__NR_fadvise64]: Make code unconditional.
48610         [!__NR_fadvise64]: Remove conditional code.
48611         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
48612         <kernel-features.h>.
48613         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48614         unconditional.
48615         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48616         conditional code.
48617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
48618         not include <kernel-features.h>.
48619         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48620         unconditional.
48621         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48622         conditional code.
48623         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
48624         include <kernel-features.h>.
48625         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48626         unconditional.
48627         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48628         conditional code.
48630 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48632         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
48633         slight instruction rearrangements per scrollpipe analysis.
48634         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48636 2012-08-20  Roland McGrath  <roland@hack.frob.com>
48638         * manual/syslog.texi (syslog; vsyslog, closelog):
48639         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
48640         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
48642         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
48643         DSOCAPS to match condition on defining it.
48645 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
48647         * sysdeps/unix/sysv/linux/kernel-features.h
48648         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
48649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
48650         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48651         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
48653         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48654         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
48656         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48657         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48659         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
48660         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
48662         * sysdeps/unix/sysv/linux/kernel-features.h
48663         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
48664         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
48665         unconditional.
48666         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48667         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
48668         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48669         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48670         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
48671         Make code unconditional.
48672         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48673         (__mmap64) [!__NR_mmap2]: Likewise.
48674         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
48675         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48676         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48677         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
48678         [__NR_mmap2]: Make code unconditional.
48679         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48680         (__mmap64) [!__NR_mmap2]: Likewise.
48682 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48684         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
48686 2012-08-18  Andreas Jaeger  <aj@suse.de>
48688         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
48690 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
48692         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
48693         * include/unistd.h (__have_sock_cloexec): Likewise.
48694         (__have_pipe2): Likewise.
48695         (__have_dup3): Likewise.
48697 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
48699         [BZ #9685]
48700         * include/unistd.h (__have_pipe2): Change define into an extern int.
48701         (__have_dup3): Likewise.
48702         * socket/have_sock_cloexec.c: Include fcntl.h.
48703         (__have_pipe2): New variable.
48704         (__have_dup3): Likewise.
48706 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
48708         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
48710 2012-08-17  Marek Polacek  <polacek@redhat.com>
48712         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
48713         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
48715 2012-08-17  Roland McGrath  <roland@hack.frob.com>
48717         * configure.in: Add AC_SUBST for sysheaders.
48718         * configure: Regenerated.
48719         * config.make.in (sysheaders): New substituted variable.
48721         * sysdeps/unix/mkfifo.c: Moved ...
48722         * sysdeps/posix/mkfifo.c: ... here.
48723         * sysdeps/unix/mkfifoat.c: Moved ...
48724         * sysdeps/posix/mkfifoat.c: ... here.
48726         * sysdeps/unix/utime.c: Moved ...
48727         * sysdeps/posix/utime.c: ... here.
48729         * sysdeps/unix/time.c: Moved ...
48730         * sysdeps/posix/time.c: ... here.
48731         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
48732         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
48734         * sysdeps/unix/nice.c: Moved ...
48735         * sysdeps/posix/nice.c: ... here.
48737         * sysdeps/unix/alarm.c: Moved ...
48738         * sysdeps/posix/alarm.c: ... here.
48740         * intl/Makefile ($(codeset_mo)): Depend on the input file.
48742 2012-08-17  Jeff Law <law@redhat.com>
48744         * intl/Makefile (codeset_mo): New variable.
48745         ($(codeset_mo)): New target.
48746         (tst-codeset.out): Depend on that.  Remove explicit rule.
48747         (tst-gettext3.out, tst-gettext5.out): Likewise.
48748         (LOCPATH-ENV, tst-codeset-ENV): New variables.
48749         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
48750         * intl/tst-codeset.sh: Remove.
48751         * intl/tst-gettext3.sh: Likewise.
48752         * intl/tst-gettext5.sh: Likewise.
48754 2012-08-17  Roland McGrath  <roland@hack.frob.com>
48756         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
48757         * sysdeps/unix/syscalls.list: ... here.
48759         * sysdeps/posix/getaddrinfo.c
48760         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
48761         (gaiconf_init, gaiconf_reload): Use them.
48762         [!_STATBUF_ST_NSEC]
48763         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
48764         Define using time_t rather than struct timespec.
48766         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
48767         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
48768         Macros removed.
48769         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
48770         [!NO_THREADS].
48771         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
48772         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
48773         Likewise.
48775         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
48776         __libc_cleanup_push argument.
48778         * bits/param.h: New file.
48779         * misc/sys/param.h: New file.
48780         * include/sys/param.h: New file.
48781         * misc/Makefile (headers): Add bits/param.h.
48782         * sysdeps/generic/sys/param.h: File removed.
48783         * sysdeps/unix/sysv/linux/bits/param.h: New file.
48784         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
48785         * sysdeps/mach/hurd/bits/param.h: New file.
48786         * sysdeps/mach/hurd/sys/param.h: File removed.
48788         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
48789         last change.
48791         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
48792         [_IO_MTSAFE_IO].
48793         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
48794         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
48795         New macros.
48797         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
48798         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
48799         rather than -D_IO_MTSAFE_IO conditionally.
48800         * stdio-common/Makefile (CPPFLAGS): Likewise.
48801         * wcsmbs/Makefile (CPPFLAGS): Likewise.
48802         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
48803         Use $(libio-mtsafe).
48804         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
48805         of -D_IO_MTSAFE_IO.
48806         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
48807         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
48808         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
48809         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
48810         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
48811         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
48812         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
48813         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
48814         (CFLAGS-fread_u_chk.c): Likewise.
48815         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
48816         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
48817         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
48818         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
48819         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
48820         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
48821         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
48822         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
48823         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
48825         * libio/Makefile: Test [$(libc-reentrant) = yes]
48826         instead of [$(filter %REENTRANT, $(defines)) nonempty].
48828         * Makeconfig
48829         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
48830         * sysdeps/pthread/configure: File removed.
48831         * sysdeps/pthread/Makeconfig: New file.
48832         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
48833         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
48835 2012-08-16  Gary Benson  <gbenson@redhat.com>
48837         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
48838         unmapping the first object in a namespace.
48840 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48842         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
48843         (__internal_setnetgrent): ... this.  Add internal_function to
48844         definition.  Add libc_hidden_def.
48845         (setnetgrent): Update caller.
48846         (internal_endnetgrent): Renamed to ...
48847         (__internal_endnetgrent): ... this.  Add internal_function to
48848         definition.  Add libc_hidden_def.
48849         (endnetgrent): Update caller.
48850         (internal_getnetgrent_r): Renamed to ...
48851         (__internal_getnetgrent_r): ... this.  Add internal_function to
48852         definition.  Add libc_hidden_def.
48853         (__getnetgrent_r): Update caller.
48854         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
48856 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48858         * stdlib/longlong.h: Update from GCC.
48860 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48862         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
48863         on _QL, which is set by umul_ppmm but never used.
48864         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
48865         variables, which are set by GMP macros but never used.
48866         * stdio-common/_itowa.c (_itowa): Likewise.
48867         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
48868         * stdlib/mod_1.c (mpn_mod_1): Likewise.
48870 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
48872         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
48873         struct La_sh_regs is not constant.
48874         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
48875         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
48876         and struct La_sparc64_regs are not constant.
48878 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48880         * sysdeps/unix/sysv/linux/kernel-features.h
48881         (__ASSUME_POSIX_TIMERS): Remove.
48882         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48883         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48884         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
48885         Make code unconditional.
48886         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48887         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
48888         Make code unconditional.
48889         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48890         * sysdeps/unix/sysv/linux/clock_nanosleep.c
48891         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
48892         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48893         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
48894         Make code unconditional.
48895         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48896         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
48897         (__libc_missing_posix_timers): Remove.
48899 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48901         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
48902         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
48904         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
48906         * elf/dl-sym.c: Include <stdlib.h>.
48908         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
48909         constants, which avoids warnings in 32-bit builds.
48911         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
48912         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
48914         * misc/lseek.c: File moved to ...
48915         * io/lseek.c: ... here.
48917         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
48919         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
48920         shifting LEN more than 31 bits at once.
48922 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48924         [BZ #14195]
48925         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
48926         segmentation fault for a case of two empty input strings.
48927         * string/test-strncasecmp.c (check1): Renamed to...
48928         (bz12205): ...this.
48929         (bz14195): Add new testcase for two empty input strings and N > 0.
48930         (test_main): Call new testcase, adapt for renamed function.
48932 2012-08-15  Andreas Jaeger  <aj@suse.de>
48934         [BZ #14090]
48935         * crypt/md5test2.c: New test, based on test supplied by Serge
48936         Belyshev <belyshev@depni.sinp.msu.ru>.
48937         * crypt/Makefile (xtests): Add md5test-giant..
48938         * crypt/Makefile ($(objpfx)md5test-giant): Add.
48940 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
48942         [BZ #14090]
48943         * crypt/md5.c (md5_process_block): Don't assume the buffer
48944         length is less than 2**32.
48945         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48946         length is less than 2**64.
48948 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48950         * string/str-two-way.h: Include <sys/param.h>.
48951         (MAX): Macro removed.
48953         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48954         Move #define and #undef of memmove to just before and after
48955         including <string.h>.
48957         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48958         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48959         and after including <string.h>.  Move declarations of
48960         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48961         to before #include "string/memmove.c".
48963         * include/dirent.h: Declare __getdirentries.
48965         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48966         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48968 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
48970         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48971         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48972         * sysdeps/i386/configure: Regenerated.
48973         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48974         STABS_CURRENT_FILE, and STABS_FUN.
48975         (END): Remove call to STABS_FUN_END.
48976         (STABS_CURRENT_FILE1): Delete.
48977         (STABS_CURRENT_FILE): Likewise.
48978         (STABS_FUN): Likewise.
48979         (STABS_FUN_END): Likewise.
48980         (STABS_FUN2): Likewise.
48981         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48982         * sysdeps/x86_64/configure: Regenerated.
48984 2012-08-14  Roland McGrath  <roland@hack.frob.com>
48986         * elf/dl-open.c: Include <atomic.h>.
48987         * elf/dl-lookup.c: Likewise.
48989 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
48991         * sysdeps/unix/sysv/linux/kernel-features.h
48992         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48993         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48994         unconditionally.
48995         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48996         unconditionally.
48997         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48998         condition on __ASSUME_CLONE_THREAD_FLAGS.
49000 2012-08-14  Andreas Jaeger  <aj@suse.de>
49002         * sysdeps/i386/fpu/libm-test-ulps: Update.
49004 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
49006         * include/atomic.h (atomic_exchange_and_add): Split into ...
49007         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
49008         New atomic macros.
49010 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
49012         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49014 2012-08-13  Jeff Law <law@redhat.com>
49016         * manual/stdio.texi (snprintf): Clarify handling of the trailing
49017         null byte in the output string.
49019 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
49021         * sysdeps/unix/sysv/linux/kernel-features.h
49022         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
49023         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
49024         (__ASSUME_ARG_MAX_STACK_BASED): Define.
49025         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49026         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
49027         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
49028         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
49030 2012-08-09  Jeff Law <law@redhat.com>
49032         [BZ #13939]
49033         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
49034         When avoid_arena is set, don't retry in the that arena.  Pick the
49035         next one, whatever it might be.
49036         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
49037         (arena_lock): Pass in new parameter to arena_get2.
49038         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
49039         arena_get2.
49040         (__libc_malloc): Unify retrying after main arena failure with
49041         __libc_memalign version.
49042         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
49044 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
49046         [BZ #14166]
49047         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
49048         to __redirect_strstr.
49049         (__strstr_sse42): Use typeof __redirect_strstr.
49050         (__strstr_ia32): Likewise.
49051         (__libc_strstr): New prototype.
49052         (strstr): Renamed to ...
49053         (__libc_strstr): This.
49054         (strstr): New strong alias of __libc_strstr.
49055         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
49056         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
49057         __redirect_time.
49058         Include <time.h>.
49059         (__libc_time): New prototype.
49060         (time_ifunc): Replace time with __libc_time.
49061         (time): New strong alias and hidden definition of __libc_time.
49062         (__GI_time): Remove strong alias.
49063         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
49064         Include <stddef.h>.
49065         (memmove): Redefined to __redirect_memmove.
49066         (__memmove_sse2): Use typeof __redirect_memmove.
49067         (__memmove_ssse3): Likewise.
49068         (__memmove_ssse3_back): Likewise.
49069         (__libc_memmove): New prototype.
49070         (memmove): Renamed to ...
49071         (__libc_memmove): This.
49072         (memmove): New strong alias of __libc_memmove.
49074 2012-08-08  Mark Salter  <msalter@redhat.com>
49076         * elf/elf.h
49077         (R_MN10300_TLS_GD): Define.
49078         (R_MN10300_TLS_LD): Likewise.
49079         (R_MN10300_TLS_LDO): Likewise.
49080         (R_MN10300_TLS_GOTIE): Likewise.
49081         (R_MN10300_TLS_IE): Likewise.
49082         (R_MN10300_TLS_LE): Likewise.
49083         (R_MN10300_TLS_DTPMOD): Likewise.
49084         (R_MN10300_TLS_DTPOFF): Likewise.
49085         (R_MN10300_TLS_TPOFF): Likewise.
49086         (R_MN10300_SYM_DIFF): Likewise.
49087         (R_MN10300_ALIGN): Likewise.
49088         (R_MN10300_NUM): Update.
49090 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
49092         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
49093         Remove.
49095 2012-08-08  Roland McGrath  <roland@hack.frob.com>
49097         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
49099         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
49100         sysdeps/unix -> sysdeps/posix move.
49101         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49103 2012-08-07      Allan McRae     <allan@archlinux.org>
49105         [BZ #14303]
49106         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
49107         (SUNOS_CPP): Likewise.
49108         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
49109         not found.
49110         (open_input): Call CPP using execvp.
49112 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
49114         * sysdeps/unix/sysv/linux/kernel-features.h
49115         (__ASSUME_PROT_GROWSUPDOWN): Remove.
49116         (__ASSUME_NO_CLONE_DETACHED): Likewise.
49117         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
49118         (__ASSUME_WAITID_SYSCALL): Likewise.
49119         * sysdeps/unix/sysv/linux/dl-execstack.c
49120         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
49121         code unconditional.
49122         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
49123         conditional code.
49124         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
49125         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
49126         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
49127         code.
49128         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
49129         unconditional.
49130         [__ASSUME_WAITID_SYSCALL]: Likewise.
49131         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
49133 2012-08-07  Roland McGrath  <roland@hack.frob.com>
49135         * sysdeps/unix/closedir.c: Renamed to ...
49136         * sysdeps/posix/closedir.c: ... here.
49137         * sysdeps/unix/dirfd.c: Renamed to ...
49138         * sysdeps/posix/dirfd.c: ... here.
49139         * sysdeps/unix/dirstream.h: Renamed to ...
49140         * sysdeps/posix/dirstream.h: ... here.
49141         * sysdeps/unix/fdopendir.c: Renamed to ...
49142         * sysdeps/posix/fdopendir.c: ... here.
49143         * sysdeps/unix/opendir.c: Renamed to ...
49144         * sysdeps/posix/opendir.c: ... here.
49145         * sysdeps/unix/readdir.c: Renamed to ...
49146         * sysdeps/posix/readdir.c: ... here.
49147         * sysdeps/unix/readdir_r.c: Renamed to ...
49148         * sysdeps/posix/readdir_r.c: ... here.
49149         * sysdeps/unix/rewinddir.c: Renamed to ...
49150         * sysdeps/posix/rewinddir.c: ... here.
49151         * sysdeps/unix/seekdir.c: Renamed to ...
49152         * sysdeps/posix/seekdir.c: ... here.
49153         * sysdeps/unix/telldir.c: Renamed to ...
49154         * sysdeps/posix/telldir.c: ... here.
49155         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
49156         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
49157         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
49158         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
49160         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
49161         * bits/fcntl.h: ... here.
49163         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
49164         not 0.
49165         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
49166         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
49167         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
49168         (struct flock): Move l_start, l_len to the beginning.
49169         Use __pid_t for l_pid.
49170         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
49171         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
49172         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
49173         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
49174         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
49175         [__USE_LARGEFILE64] (struct flock64): New type.
49176         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
49178         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
49179         * bits/dirent.h: ... here.
49181         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
49182         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
49184 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
49186         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49187         Change from 2.6.0 to 2.6.16.
49188         * sysdeps/unix/sysv/linux/configure: Regenerated.
49189         * sysdeps/unix/sysv/linux/kernel-features.h
49190         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
49191         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
49192         version.
49193         (__ASSUME_UTIMES): Likewise.
49194         (__ASSUME_CLONE_STOPPED): Remove.
49195         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
49196         architectures, not kernel version.
49197         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
49198         (__ASSUME_NO_CLONE_DETACHED): Likewise.
49199         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
49200         (__ASSUME_WAITID_SYSCALL): Likewise.
49201         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
49202         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
49203         * README: State 2.6.16 as minimum Linux kernel version.  Do not
49204         refer to older versions.
49206 2012-08-06  Roland McGrath  <roland@hack.frob.com>
49208         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
49209         Define alphasort64 as an alias.
49210         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
49211         Define versionsort64 as an alias.
49212         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
49213         Define scandir64 as an alias.
49214         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
49215         Define scandirat64 as an alias.
49216         * dirent/alphasort64.c (alphasort64):
49217         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
49218         * dirent/versionsort64.c: Likewise.
49219         * dirent/scandir64.c: Likewise.
49220         * dirent/scandirat64.c: Likewise.
49221         * sysdeps/wordsize-64/alphasort.c: File removed.
49222         * sysdeps/wordsize-64/alphasort64.c: File removed.
49223         * sysdeps/wordsize-64/scandir.c: File removed.
49224         * sysdeps/wordsize-64/scandir64.c: File removed.
49225         * sysdeps/wordsize-64/scandirat.c: File removed.
49226         * sysdeps/wordsize-64/scandirat64.c: File removed.
49227         * sysdeps/wordsize-64/versionsort.c: File removed.
49228         * sysdeps/wordsize-64/versionsort64.c: File removed.
49229         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
49230         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
49231         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
49232         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
49233         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
49234         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
49235         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
49236         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
49238         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
49239         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
49240         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
49241         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49242         [defined __arch64__ || defined __sparcv9]
49243         (__INO_T_MATCHES_INO64_T): New macro.
49244         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
49245         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
49246         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
49247         * sysdeps/unix/sysv/linux/bits/dirent.h
49248         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
49249         (_DIRENT_MATCHES_DIRENT64): New macro.
49251         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
49252         Define lockf64 as an alias.
49253         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
49254         Define fseeko64 as an alias.
49255         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
49256         Define ftello64 as an alias.
49257         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
49258         Define _IO_fgetpos64 and fgetpos64 as aliases.
49259         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
49260         Define _IO_fsetpos64 and fsetpos64 as aliases.
49261         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
49262         Conditionalize body on this.
49263         * libio/fseeko64.c: Likewise.
49264         * libio/ftello64.c: Likewise.
49265         * libio/iofgetpos64.c: Likewise.
49266         * libio/iofsetpos64.c: Likewise.
49267         * sysdeps/wordsize-64/lockf.c: File removed.
49268         * sysdeps/wordsize-64/lockf64.c: File removed.
49269         * sysdeps/wordsize-64/fseeko.c: File removed.
49270         * sysdeps/wordsize-64/fseeko64.c: File removed.
49271         * sysdeps/wordsize-64/ftello.c: File removed.
49272         * sysdeps/wordsize-64/ftello64.c: File removed.
49273         * sysdeps/wordsize-64/iofgetpos.c: File removed.
49274         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
49275         * sysdeps/wordsize-64/iofsetpos.c: File removed.
49276         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
49277         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
49278         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
49279         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
49280         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
49281         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
49282         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
49283         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
49284         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
49285         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
49286         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
49288         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
49289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
49290         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
49291         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49292         [defined __arch64__ || defined __sparcv9]
49293         (__OFF_T_MATCHES_OFF64_T): New macro.
49294         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
49295         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
49296         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49297         (__OFF_T_MATCHES_OFF64_T): New macro.
49299 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
49301         * stdlib/secure-getenv.c (__secure_getenv): Replace
49302         GLIBC_2_16 with GLIBC_2_17.
49304 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
49306         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
49307         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49309 2012-08-03  David S. Miller  <davem@davemloft.net>
49311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49313 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
49315         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
49316         Remove.
49317         (__ASSUME_CORRECT_SI_PID): Likewise.
49318         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
49319         (__ASSUME_TMPFS_NAME): Likewise.
49320         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
49321         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
49322         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
49323         (HAVE_AUX_SECURE): Make definition unconditional.
49324         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
49325         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
49327 2012-08-03  Roland McGrath  <roland@hack.frob.com>
49329         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
49330         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
49331         * sysdeps/mach/hurd/eloop-threshold.h: New file.
49332         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49333         __eloop_threshold instead of SYMLOOP_MAX.
49335         * sysdeps/generic/eloop-threshold.h: New file.
49336         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
49337         of MAXSYMLINKS.
49338         * elf/chroot_canon.c (chroot_canon): Likewise.
49340 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
49342         [BZ #13717]
49343         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49344         Change to 2.6.0 everywhere.
49345         * sysdeps/unix/sysv/linux/configure: Regenerated.
49346         * sysdeps/unix/sysv/linux/kernel-features.h
49347         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
49348         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
49349         kernel versions.
49350         (__ASSUME_POSIX_TIMERS): Define unconditionally.
49351         (__ASSUME_FUTEX_REQUEUE): Remove.
49352         (__ASSUME_STATFS64): Define unconditionally.
49353         (__ASSUME_AT_SECURE): Likewise.
49354         (__ASSUME_CORRECT_SI_PID): Likewise.
49355         (__ASSUME_TGKILL): Define without depending on kernel version for
49356         i386.
49357         (__ASSUME_UTIMES): Likewise.
49358         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
49359         kernel version.
49360         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
49361         (__ASSUME_TMPFS_NAME): Likewise.
49362         * README: Update reference to Linux kernel versions.
49364 2012-08-02  Marek Polacek  <polacek@redhat.com>
49366         [BZ# 14150]
49367         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
49368         libc_cv_asm_type_prefix with %.
49369         * configure: Regenerated.
49370         * include/libc-symbols.h: Remove comment about
49371         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
49372         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
49373         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
49374         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
49375         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
49376         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
49377         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
49378         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
49379         * elf/tst-unique2mod1.c: Likewise.
49380         * elf/tst-unique1mod2.c: Likewise.
49381         * elf/tst-unique1mod1.c: Likewise.
49382         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
49383         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
49384         Replace ASM_TYPE_DIRECTIVE with .type.
49385         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49386         * sysdeps/i386/sysdep.h: Likewise.
49387         * sysdeps/x86_64/sysdep.h: Likewise.
49388         * sysdeps/sh/sysdep.h: Likewise.
49389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49390         Do not define ASM_TYPE_DIRECTIVE.
49391         * sysdeps/powerpc/sysdep.h: Likewise.
49392         * sysdeps/powerpc/powerpc32/sysdep.h:
49393         Replace ASM_TYPE_DIRECTIVE with .type.
49394         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49395         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49396         * sysdeps/i386/fpu/e_powf.S: Likewise.
49397         * sysdeps/i386/fpu/e_expl.S: Likewise.
49398         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49399         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49400         * sysdeps/i386/fpu/e_pow.S: Likewise.
49401         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49402         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49403         * sysdeps/i386/fpu/s_expm1.S: Likewise.
49404         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49405         * sysdeps/i386/fpu/e_log2.S: Likewise.
49406         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49407         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49408         * sysdeps/i386/fpu/e_powl.S: Likewise.
49409         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49410         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49411         * sysdeps/i386/fpu/e_logl.S: Likewise.
49412         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49413         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49414         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49415         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49416         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49417         * sysdeps/i386/fpu/e_log.S: Likewise.
49418         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49419         * sysdeps/i386/fpu/e_logf.S: Likewise.
49420         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49421         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49422         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49423         * sysdeps/i386/fpu/e_log10.S: Likewise.
49424         * sysdeps/i386/fpu/s_frexp.S: Likewise.
49425         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49426         * sysdeps/i386/fpu/s_asinh.S: Likewise.
49427         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49428         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49429         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
49430         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49431         * sysdeps/i386/i686/strtok.S: Likewise.
49432         * sysdeps/i386/i386-mcount.S: Likewise.
49433         * sysdeps/i386/strtok.S: Likewise.
49434         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
49435         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49436         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49437         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49438         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49439         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49440         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49441         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49442         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49443         * sysdeps/x86_64/_mcount.S: Likewise.
49444         * sysdeps/x86_64/strtok.S: Likewise.
49445         * sysdeps/sh/_mcount.S: Likewise.
49447 2012-08-01  Roland McGrath  <roland@hack.frob.com>
49449         * libio/iofopen.c: Include <fcntl.h>.
49450         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
49451         (_IO_fopen64, fopen64): Define as aliases.
49452         * libio/iofopen64.c: Include <fcntl.h>.
49453         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
49454         Conditionalize body on this.
49455         * sysdeps/wordsize-64/iofopen.c: File removed.
49456         * sysdeps/wordsize-64/iofopen64.c: File removed.
49458 2012-08-01  Marek Polacek  <polacek@redhat.com>
49460         * libc/Makeconfig: Use elf in place of binfmt-subdir.
49461         Use dlfcn directly instead of a variable.
49462         (binfmt-subdir): Do not define.
49463         (dlfcn): Likewise.
49465 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
49467         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
49468         Remove all definitions.
49469         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
49470         <kernel-features.h>.
49471         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
49472         (miss_F_GETOWN_EX): Remove all definitions.
49473         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
49474         macro definition.
49475         [!__ASSUME_FCNTL64]: Remove conditional code.
49476         [__ASSUME_FCNTL64]: Make code unconditional.
49477         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
49478         <kernel-features.h>.
49479         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
49480         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
49481         (lockf64) [__NR_fcntl64]: Make code unconditional.
49482         (lockf64) [__ASSUME_FCNTL64]: Likewise.
49484         * sysdeps/unix/sysv/linux/kernel-features.h
49485         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
49486         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
49487         Make code unconditional.
49488         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49489         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
49491         [__NR_vfork]: Make code unconditional.
49492         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49493         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
49495         [__NR_vfork]: Make code unconditional.
49496         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49497         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49499 2012-08-01  Roland McGrath  <roland@hack.frob.com>
49501         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
49502         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
49504         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49505         Define mkstemp64 as an alias.
49506         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49507         Define mkstemps64 as an alias.
49508         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49509         Define mkostemp64 as an alias.
49510         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49511         Define mkostemps64 as an alias.
49512         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
49513         Conditionalize body on this.
49514         * misc/mkostemp64.c: Likewise.
49515         * misc/mkostemps64.c: Likewise.
49516         * misc/mkstemps64.c: Likewise.
49517         * sysdeps/wordsize-64/mkstemp64.c: File removed.
49518         * sysdeps/wordsize-64/mkostemp64.c: File removed.
49519         * sysdeps/wordsize-64/mkostemp.c: File removed.
49520         * sysdeps/wordsize-64/mkstemp.c: File removed.
49521         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
49522         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
49523         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
49524         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
49526         [BZ #14138]
49527         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
49528         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
49529         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
49530         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
49532         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
49533         compat_symbol macros from <shlib-compat.h> rather than the underlying
49534         default_symbol_version and symbol_version macros, so that DEFAULT
49535         lines in shlib-versions are respected.
49536         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
49538 2012-08-01  Florian Weimer  <fweimer@redhat.com>
49540         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
49541         Declare with warn_unused_result.
49542         (setgid, setregid, setegid, setresgid): Likewise.
49543         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
49544         Likewise.
49545         * WUR-REPORT: Remove set*id functions.
49547 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
49549         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
49551 2012-07-31  Roland McGrath  <roland@hack.frob.com>
49553         [BZ #10191]
49554         * include/sys/socket.h (__libc_accept, __libc_accept4):
49555         Add attribute_hidden.
49556         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
49558         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
49559         use of PTR_MANGLE.
49560         * inet/getnetgrent_r.c (setup): Likewise.
49562         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
49564 2012-07-31  David S. Miller  <davem@davemloft.net>
49566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49568 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
49570         [BZ #13629]
49571         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
49572         value between 1.0 and 2.0 and smaller part has absolute value less
49573         than 1.0.
49574         * math/s_clog10.c (__clog10): Likewise.
49575         * math/s_clog10f.c (__clog10f): Likewise.
49576         * math/s_clog10l.c (__clog10l): Likewise.
49577         * math/s_clogf.c (__clogf): Likewise.
49578         * math/s_clogl.c (__clogl): Likewise.
49579         * math/libm-test.inc (clog_test): Add more tests.
49580         (clog10_test): Likewise.
49581         * sysdeps/i386/fpu/libm-test-ulps: Update.
49582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49584 2012-07-31  Florian Weimer  <fweimer@redhat.com>
49586         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
49587         Exit with zero in case no suitable GID is found, and write a
49588         message to standard error.
49590 2012-07-30  Roland McGrath  <roland@hack.frob.com>
49592         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
49593         rather than to 1.
49594         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
49595         (MAXPATHLEN): Removed.
49596         (NOGROUP, NODEV): New macros.
49597         (setbit, clrbit, isset, isclr): New macros.
49598         (howmany, roundup, powerof2): New macros.
49599         (DEV_BSIZE): New macro.
49601         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
49602         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
49604         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
49605         definition on [!__NO_LONG_DOUBLE_MATH].
49607         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
49608         PTR_MANGLE and PTR_DEMANGLE.
49610         * socket/accept4.c (accept4): Rename to __libc_accept4.
49611         Define accept4 as a weak alias.
49613         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
49614         on [_DIRENT_HAVE_D_TYPE].
49615         * io/ftw.c (ftw_dir): Likewise.
49617         * io/xmknod.c (__xmknod): Don't check PATH for being null.
49619         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
49621         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
49622         Use the BSD numbers rather than the arbitrary ones we had.
49623         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
49624         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
49625         (SIGXCPU, SIGXFSZ): New macros.
49626         (_NSIG): Now 32.
49628         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
49629         initializer on [_LIBC_REENTRANT].
49631         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
49632         definitions inside [_POSIX_MAPPED_FILES].
49634         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
49636         * dirent/opendir.c: Include <fcntl.h>.
49638         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
49639         (__libc_getspecific): Likewise.
49640         (__libc_key_create): Likewise.
49642         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
49643         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
49644         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
49645         (tmpfile64): Define as alias.
49646         * sysdeps/wordsize-64/tmpfile.c: File removed.
49647         * sysdeps/wordsize-64/tmpfile64.c: File removed.
49648         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
49649         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
49651         * stdio-common/vfscanf.c: Include <stdbool.h>.
49652         * nss/makedb.c: Likewise.
49653         * stdio-common/_i18n_number.h: Likewise.
49654         * argp/argp-help.c: Likewise.
49655         * posix/wordexp.c: Likewise.
49656         * sysdeps/posix/spawni.c: Likewise.
49657         * nss/nss_files/files-initgroups.c: Likewise.
49658         * stdio-common/reg-modifier.c: Include <stdlib.h>.
49659         * nss/nss_files/files-initgroups.c: Likewise.
49660         * nss/nss_db/db-netgrp.c: Likewise.
49661         * nss/nss_db/db-initgroups.c: Likewise.
49662         * io/fchmodat.c: Include <sys/stat.h>.
49664         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
49665         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
49667         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
49668         [HAVE_MMAP].
49670         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
49671         Add multiple inclusion protection.
49673 2012-07-27  David S. Miller  <davem@davemloft.net>
49675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49677 2012-07-27  Gary Benson  <gbenson@redhat.com>
49679         [BZ #14298]
49680         * elf/rtld.c: Include <stap-probe.h>.
49681         (dl_main): Added static probes "init_start" and "init_complete".
49682         * elf/dl-load.c: Include <stap-probe.h>.
49683         (lose): Take new parameter "nsid".
49684         Added static probe "map_failed".
49685         (_dl_map_object_from_fd): Pass namespace id to lose.
49686         Added static probe "map_start".
49687         (open_verify): Pass namespace id to lose.
49688         * elf/dl-open.c: Include <stap-probe.h>.
49689         (dl_open_worker) Added static probes "map_complete", "reloc_start"
49690         and "reloc_complete".
49691         * elf/dl-close.c: Include <stap-probe.h>.
49692         (_dl_close_worker): Added static probes "unmap_start" and
49693         "unmap_complete".
49694         * elf/rtld-debugger-interface.txt: New file documenting the above.
49696 2012-07-26  Roland McGrath  <roland@hack.frob.com>
49698         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
49699         rather than a string variable.
49700         * sunrpc/rpc_main.c (h_output): Likewise.
49701         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
49703 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
49705         * inet/check_native.c: New file.
49707 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
49709         [BZ #13629]
49710         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
49711         if larger part has absolute value 1.0.
49712         * math/s_clog10.c (__clog10): Likewise.
49713         * math/s_clog10f.c (__clog10f): Likewise.
49714         * math/s_clog10l.c (__clog10l): Likewise.
49715         * math/s_clogf.c (__clogf): Likewise.
49716         * math/s_clogl.c (__clogl): Likewise.
49717         * math/libm-test.inc (clog_test): Add more tests.
49718         (clog10_test): Likewise.
49719         * sysdeps/i386/fpu/libm-test-ulps: Update.
49720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49722         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
49723         (pltexit): Likewise.
49724         (La_regs): Likewise.
49725         (La_retval): Likewise.
49726         (int_retval): Likewise.
49727         Update #error for removed macros to refer only to definitions in
49728         tst-audit.h.
49729         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
49730         macro.
49731         (pltexit): Likewise.
49732         (La_regs): Likewise.
49733         (La_retval): Likewise.
49734         (int_retval): Likewise.
49735         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
49736         macro.
49737         (pltexit): Likewise.
49738         (La_regs): Likewise.
49739         (La_retval): Likewise.
49740         (int_retval): Likewise.
49741         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
49742         macro.
49743         (pltexit): Likewise.
49744         (La_regs): Likewise.
49745         (La_retval): Likewise.
49746         (int_retval): Likewise.
49747         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
49748         macro.
49749         (pltexit): Likewise.
49750         (La_regs): Likewise.
49751         (La_retval): Likewise.
49752         (int_retval): Likewise.
49753         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
49754         macro.
49755         (pltexit): Likewise.
49756         (La_regs): Likewise.
49757         (La_retval): Likewise.
49758         (int_retval): Likewise.
49759         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
49760         macro.
49761         (pltexit): Likewise.
49762         (La_regs): Likewise.
49763         (La_retval): Likewise.
49764         (int_retval): Likewise.
49765         * sysdeps/generic/tst-audit.h: Update comment to refer only to
49766         macro definitions in tst-audit.h.
49767         * sysdeps/i386/tst-audit.h: New file.
49768         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
49769         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
49770         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
49771         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
49772         * sysdeps/sh/tst-audit.h: Likewise.
49773         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
49774         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
49775         * sysdeps/x86_64/tst-audit.h: Likewise.
49777 2012-07-26  Andreas Jaeger  <aj@suse.de>
49779         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
49780         ptrace.
49782         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
49783         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
49784         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
49785         PTRACE_O_MASK.
49786         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
49787         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
49788         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
49790         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
49791         value.
49793         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
49794         _sigsys.
49795         (si_call_addr, si_syscall, si_arch): Define new macro.
49796         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
49797         _sigsys.
49798         (si_call_addr, si_syscall, si_arch): Define new marcro.
49799         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
49800         _sigsys.
49801         (si_call_addr, si_syscall, si_arch): Define new macro.
49802         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
49803         _sigsys.
49804         (si_call_addr, si_syscall, si_arch): Define new macro.
49806 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49808         [BZ #13717]
49809         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49810         Change to 2.4.21 where previously 2.4.1.
49811         * sysdeps/unix/sysv/linux/configure: Regenerated.
49812         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
49813         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
49814         Linux kernel version.
49815         (__ASSUME_STD_AUXV): Remove.
49816         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
49817         kernel version.
49818         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
49819         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
49820         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
49821         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
49822         (__ASSUME_NETLINK_SUPPORT): Likewise.
49823         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
49824         (__no_netlink_support): Remove conditional definition.
49825         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
49826         Remove.
49827         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49828         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
49829         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
49830         (if_nameindex_ioctl): Remove.
49831         (if_nameindex_netlink): Do not handle __no_netlink_support.
49832         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49833         code.
49834         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
49835         Remove conditional code.
49836         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49837         code.
49838         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
49839         unconditional.
49840         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49841         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
49842         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
49843         Remove.
49844         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
49845         [!__ASSUME_STD_AUXV]: Remove conditional code.
49846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
49847         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
49848         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
49849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
49850         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
49851         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49852         code.
49853         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49855         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
49856         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49857         conditional code.
49858         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49860         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49861         code.
49862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49863         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49864         conditional code.
49865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
49866         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49867         code unconditional.
49868         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49869         conditional code.
49870         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49871         unconditional.
49872         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49873         conditional code.
49874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49875         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49876         unconditional.
49877         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49878         conditional code.
49879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
49880         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49881         code unconditional.
49882         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49883         conditional code.
49884         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49885         unconditional.
49886         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49887         conditional code.
49888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
49889         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49890         code unconditional.
49891         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49892         conditional code.
49893         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49894         unconditional.
49895         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49896         conditional code.
49898 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
49900         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
49901         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
49902         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49903         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
49904         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
49905         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49906         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49907         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
49908         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
49909         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
49910         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
49911         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
49912         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
49913         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49914         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
49915         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
49916         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
49917         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
49918         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
49919         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
49920         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
49921         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
49922         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49924 2012-07-25  Florian Weimer  <fweimer@redhat.com>
49926         * Versions.def: Add GLIBC_2.17.
49927         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
49928         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
49929         Introduce __libc_secure_getenv.
49930         * stdlib/Versions (2.17): Add secure_getenv
49931         (GLIBC_PRIVATE): Add __libc_secure_getenv.
49932         * stdlib/secure-getenv.c: Rename __secure_getenv to
49933         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
49934         symbol __secure_getenv for GLIBC_2.0.
49935         * stdlib/tst-secure-getenv.c: New.
49936         * stdlib/Makefile (tests): Add testcase.
49937         * manual/startup.texi (Environment Access): Document
49938         secure_getenv.
49939         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
49940         __libc_secure_getenv.
49941         * inet/ruserpass.c (ruserpass): Likewise.
49942         * malloc/mtrace.c (mtrace): Likewise.
49943         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
49944         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49945         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49946         * sysdeps/posix/tempname.c: Likewise.  Evaluate
49947         HAVE_SECURE_GETENV.
49948         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49949         __secure_getenv to __libc_secure_getenv.
49950         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49952         Likewise.
49953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49954         Likewise.
49955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49957         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49963 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49965         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49966         (struct La_i86_retval): Likewise.
49967         (struct La_x86_64_regs): Likewise.
49968         (struct La_x86_64_retval): Likewise.
49969         (struct La_x32_regs): Likewise.
49970         (struct La_x32_retval): Likewise.
49971         (struct La_ppc32_regs): Likewise.
49972         (struct La_ppc32_retval): Likewise.
49973         (struct La_ppc64_regs): Likewise.
49974         (struct La_ppc64_retval): Likewise.
49975         (struct La_sh_regs): Likewise.
49976         (struct La_sh_retval): Likewise.
49977         (struct La_s390_32_regs): Likewise.
49978         (struct La_s390_32_retval): Likewise.
49979         (struct La_s390_64_regs): Likewise.
49980         (struct La_s390_64_retval): Likewise.
49981         (struct La_sparc32_regs): Likewise.
49982         (struct La_sparc32_retval): Likewise.
49983         (struct La_sparc64_regs): Likewise.
49984         (struct La_sparc64_retval): Likewise.
49985         (struct audit_ifaces): Remove architecture-specific pltenter and
49986         pltexit members.
49987         * sysdeps/i386/ldsodefs.h: New file.
49988         * sysdeps/powerpc/ldsodefs.h: Likewise.
49989         * sysdeps/s390/ldsodefs.h: Likewise.
49990         * sysdeps/sh/ldsodefs.h: Likewise.
49991         * sysdeps/sparc/ldsodefs.h: Likewise.
49992         * sysdeps/x86_64/ldsodefs.h: Likewise.
49994 2012-07-25  Marek Polacek  <polacek@redhat.com>
49996         [BZ #6808]
49997         * math/libm-test.inc (yn_test): Add another test.
49998         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49999         to ERANGE when the result is +-Inf.
50000         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
50001         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
50002         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
50003         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
50005 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
50007         * conform/data/time.h-data (NULL): Use macro-constant.  Require
50008         equal to 0.
50009         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
50010         clock_t.
50011         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
50013 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
50015         * configure.in <sysdeps resolving>: Correct printing
50016         Implies_before.
50017         * configure: Regenerate.
50019 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
50021         * math/w_ilogb.c: Include <limits.h>.
50022         * math/w_ilogbl.c: Likewise.
50024 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
50026         * manual/lang.texi (__va_copy): Document primarily as ISO C99
50027         va_copy.  Document allowing for unavailable va_copy only as
50028         pre-C99 compatibility.
50029         * manual/string.texi (Copying and Concatenation): Use va_copy
50030         instead of __va_copy in concat example.
50032 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
50034         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
50035         (__sendto): Use create_address_port.  Initialize APORT and deallocate
50036         it if not null.
50038         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
50039         with O_NOLINK passed to __file_name_lookup.
50041         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
50042         with O_NOLINK passed to __file_name_lookup.
50044         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
50045         negative N or less than NGIDS.
50047         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
50048         type to string_t.  Set ERANGE as errno and return it if NAME is not big
50049         enough.  Use memcpy instead of strncpy.
50051 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
50053         * elf/Makefile (check-data): Remove.
50054         (localplt.data): New vpath directive.
50055         ($(objpfx)check-localplt.out): Use localplt.data from vpath
50056         instead of $(check-data).
50057         * scripts/data/localplt-generic.data: Move to ...
50058         * sysdeps/generic/localplt.data: ... here.
50059         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
50060         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
50061         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
50062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
50063         ... here.
50064         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
50065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
50066         ... here.
50067         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
50068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
50069         ... here.
50070         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
50071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
50072         ... here.
50073         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
50074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
50075         ... here.
50076         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
50077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
50078         ... here.
50080 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50082         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
50083         PPC32 and PPC64 files.
50084         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
50085         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
50087 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50089         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
50090         __makecontext_ret to ...
50091         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
50092         ... here and call exit if uc_link is NULL.  New file.
50093         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
50094         __makecontext_ret.S.
50095         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
50096         __makecontext_ret to ...
50097         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
50098         ... here and call exit if uc_link is NULL.  New file.
50099         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
50100         __makecontext_ret.S.
50102 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50104         * elf/elf.h (R_390_IRELATIVE): New definition.
50105         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
50106         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
50107         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
50108         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50109         (elf_machine_lazy_rel): Likewise.
50110         * sysdeps/s390/dl-irel.h: New file.
50111         * sysdeps/s390/s390-64/memcpy.S: New asm code.
50112         * sysdeps/s390/s390-64/memset.S: New asm code.
50113         * sysdeps/s390/s390-64/memcmp.S: New asm code.
50114         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
50115         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
50116         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
50117         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
50118         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
50119         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
50120         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
50121         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
50122         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
50123         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
50124         * sysdeps/s390/s390-32/memcpy.S: New asm code.
50125         * sysdeps/s390/s390-32/memset.S: New asm code.
50126         * sysdeps/s390/s390-32/memcmp.S: New asm code.
50128 2012-07-17  Marek Polacek  <polacek@redhat.com>
50130         [BZ #14349]
50131         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
50132         * sysdeps/s390/s390-64/configure.in: Likewise.
50133         * sysdeps/sparc/configure.in: Likewise.
50134         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
50135         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
50136         * sysdeps/i386/configure.in: Likewise.
50137         * sysdeps/x86_64/configure.in: Likewise.
50138         * sysdeps/sh/configure.in: Likewise.
50139         * sysdeps/s390/s390-32/configure: Regenerated.
50140         * sysdeps/s390/s390-64/configure: Likewise.
50141         * sysdeps/x86_64/configure: Likewise.
50142         * sysdeps/sh/configure: Likewise.
50143         * sysdeps/powerpc/powerpc64/configure: Likewise.
50144         * sysdeps/powerpc/powerpc32/configure: Likewise.
50145         * sysdeps/sparc/configure: Likwise.
50146         * sysdeps/i386/configure: Likewise.
50148         * elf/dl-open.c: Comment fixes.
50150 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
50152         * Makefile [CXX] (check-data): Remove.
50153         [CXX] (c++-types.data): New vpath directive.
50154         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
50155         vpath.  Do not allow for C++ type data being missing.
50156         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
50157         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
50158         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
50159         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
50160         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
50161         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
50162         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
50163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
50164         ... here.
50165         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
50166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
50167         ... here.
50168         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
50169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
50170         ... here.
50171         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
50172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
50173         ... here.
50174         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
50175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
50176         ... here.
50177         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
50178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
50179         ... here.
50180         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
50181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
50182         ... here.
50183         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
50184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
50186         * elf/tls-macros.h (TLS_LE): Move architecture-specific
50187         definitions to architecture-specific files.
50188         (TLS_IE): Likewise.
50189         (TLS_LD): Likewise.
50190         (TLS_GD): Likewise.
50191         * sysdeps/i386/tls-macros.h: New file.
50192         * sysdeps/powerpc/tls-macros.h: Likewise.
50193         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
50194         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
50195         * sysdeps/sh/tls-macros.h: Likewise.
50196         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
50197         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
50198         * sysdeps/x86_64/tls-macros.h: Likewise.
50200 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
50202         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
50203         zero value for regular exit case.
50205         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
50206         (__start_context): Preserve zero value for regular exit case.
50208 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
50209             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50211         * manual/setjmp.texi (setcontext): Clarify normal process
50212         termination when uc_link is the null pointer.
50213         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
50214         exit call.
50216 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
50218         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
50219         preprocessor.  Test for each exception mask separately.
50221 2012-07-16  Andreas Jaeger  <aj@suse.de>
50223         * po/ru.po: Update from translation team.
50225 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
50227         * conform/data/string.h-data (NULL): Use macro-constant.  Require
50228         equal to 0.
50229         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50230         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50231         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
50232         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
50233         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50235 2012-07-13  Andreas Jaeger  <aj@suse.de>
50237         * po/fr.po: Update from translation team.
50239 2012-07-12  Marek Polacek  <polacek@redhat.com>
50241         [BZ #14173]
50242         * math/libm-test.inc (yn_test): Add test for BZ #14173.
50243         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
50244         loop condition.
50246 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
50248         [BZ #13717]
50249         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50250         Change to 2.4.1 where previously 2.4.0.
50251         * sysdeps/unix/sysv/linux/configure: Regenerated.
50252         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
50253         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
50254         version.
50255         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
50256         (__ASSUME_AT_CLKTCK): Remove.
50257         (__ASSUME_AT_PAGESIZE): Likewise.
50258         (__ASSUME_AT_XID): Likewise.
50259         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
50260         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
50261         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
50262         unconditionally.
50263         (HAVE_AUX_PAGESIZE): Likewise.
50264         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
50265         [__ASSUME_AT_CLKTCK]: Make code unconditional.
50266         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
50268 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
50270         [BZ #14307]
50271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
50272         the temporary buffer used to invoke __gethostbyname2_r,
50273         __gethostbyaddr_r and gethostbyname4_r to make room for struct
50274         host_data / struct gaih_addrtuple.
50275         * resolv/nss_dns/dns-host.c (global scope): Move definition of
50276         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
50277         header file nss/nsswitch.h.
50278         * nss/nsswitch.h (global scope): Add definition of implementation
50279         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
50280         resolv/nss_dns/dns-host.c).
50282 2012-07-11  Andreas Jaeger  <aj@suse.de>
50284         * po/fr.po: Update from translation team.
50286         * po/sv.po: Update from translation team
50287         * po/fr.po: Another update from translation team.
50289 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50291         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
50292         for subnormals or multiply small sinh result by itself.
50293         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50296 2012-07-11  David S. Miller  <davem@davemloft.net>
50298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50300 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
50302         [BZ #14347]
50303         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
50304         (INTERNAL_MARK): Shift it here.
50306 2012-07-10  Marek Polacek  <polacek@redhat.com>
50308         [BZ #14151]
50309         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
50310         libc_cv_asm_global_directive with .globl.
50311         * configure: Regenerated.
50312         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
50313         with .globl.
50314         * sysdeps/i386/configure: Regenerated.
50315         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
50316         with .globl.
50317         * sysdeps/x86_64/configure: Regenerated.
50318         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
50319         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
50320         * elf/tst-unique2mod2.c: Likewise.
50321         * elf/tst-unique2mod1.c: Likewise.
50322         * elf/tst-unique1mod2.c: Likewise.
50323         * elf/tst-unique1mod1.c: Likewise.
50324         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50325         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
50326         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50327         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50328         * sysdeps/mach/sysdep.h: Likewise.
50329         * sysdeps/i386/sysdep.h: Likewise.
50330         * sysdeps/i386/i386-mcount.S: Likewise.
50331         * sysdeps/x86_64/_mcount.S: Likewise.
50332         * sysdeps/x86_64/sysdep.h: Likewise.
50333         * sysdeps/sh/_mcount.S: Likewise.
50334         * sysdeps/sh/sysdep.h: Likewise.
50335         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
50336         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
50337         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
50338         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50339         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
50340         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
50341         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
50342         * locale/localeinfo.h: Likewise.
50343         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
50344         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
50346 2012-07-09  Roland McGrath  <roland@hack.frob.com>
50348         [BZ #14336]
50349         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
50350         system".
50351         * manual/message.texi (The Uniforum approach): Likewise.
50352         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
50353         (glibc iconv Implementation): Likewise.
50355 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
50357         [BZ #14337]
50358         * math/s_clog.c (__clog): Avoid scaling a value down where that
50359         could result in underflow.
50360         * math/s_clog10.c (__clog10): Likewise.
50361         * math/s_clog10f.c (__clog10f): Likewise.
50362         * math/s_clog10l.c (__clog10l): Likewise.
50363         * math/s_clogf.c (__clogf): Likewise.
50364         * math/s_clogl.c (__clogl): Likewise.
50365         * math/libm-test.inc (clog_test): Add more tests.
50366         (clog10_test): Likewise.
50367         * sysdeps/i386/fpu/libm-test-ulps: Update.
50368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50370 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
50372         [BZ #14283]
50373         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
50374         by 7 not 8 to examine high bit of fractional part.
50376         [BZ #14042]
50377         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
50378         for call to __mcount_internal.
50379         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
50380         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
50381         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
50383 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
50385         [BZ #14154]
50386         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
50387         approximation for values within 0x1p-13f of an odd multiple of
50388         pi/4.
50389         * math/libm-test.inc (tan_test): Do not allow spurious underflow
50390         exception.  Add more tests.
50391         * sysdeps/i386/fpu/libm-test-ulps: Update.
50393         [BZ #6778]
50394         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
50395         inputs and return -1 for them.  Do not check for +Inf in case not
50396         reachable for +Inf.
50397         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
50398         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
50399         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
50400         and return -1 for them.  Do not check for +Inf in case not
50401         reachable for +Inf.
50402         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
50403         define.
50404         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
50405         and return -1 for them.  Do not check for +Inf in case not
50406         reachable for +Inf.
50407         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
50408         spurious underflow.
50409         * sysdeps/i386/fpu/libm-test-ulps: Update.
50410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50412 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
50414         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
50416 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
50418         [BZ #14157]
50419         [BZ #14331]
50420         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
50421         could result in spurious underflow.  Scale down values above
50422         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
50423         * math/s_csqrtf.c (__csqrtf): Likewise.
50424         * math/s_csqrtl.c (__csqrtl): Likewise.
50425         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
50426         spurious underflow.
50427         * sysdeps/i386/fpu/libm-test-ulps: Update.
50428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50430 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
50432         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
50433         xopen-msg.sed.
50434         * catgets/xopen-msg.awk: New file.
50435         * catgets/xopen-msg.sed: Removed.
50437         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
50438         po2text.sed.
50439         * intl/po2test.awk: New file.
50440         * intl/po2test.sed: Removed.
50442 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
50444         [BZ #14328]
50445         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
50446         or multiply small sinh result by itself.
50447         * math/s_ctanf.c (__ctanf): Likewise.
50448         * math/s_ctanh.c (__ctanh): Likewise.
50449         * math/s_ctanhf.c (__ctanhf): Likewise.
50450         * math/s_ctanhl.c (__ctanhl): Likewise.
50451         * math/s_ctanl.c (__ctanl): Likewise.
50452         * math/libm-test.inc (ctan_test_tonearest): New function.
50453         (ctan_test_towardzero): Likewise.
50454         (ctan_test_downward): Likewise.
50455         (ctan_test_upward): Likewise.
50456         (ctanh_test_tonearest): Likewise.
50457         (ctanh_test_towardzero): Likewise.
50458         (ctanh_test_downward): Likewise.
50459         (ctanh_test_upward): Likewise.
50460         (main): Call these new functions.
50461         * sysdeps/i386/fpu/libm-test-ulps: Update.
50462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50464 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
50466         * .gitignore: Delete /ports entry.
50468 2012-07-03  Andreas Jaeger  <aj@suse.de>
50470         * po/bg.po: Update from translation team.
50471         * po/cs.po: Likewise.
50472         * po/de.po: Likewise.
50473         * po/hr.po: Likewise.
50474         * po/nl.pl: Likewise.
50475         * po/pl.po: Likewise.
50476         * po/vi.po: Likewise.
50478 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
50480         * Makeconfig [!+link] (+link-before-libc): New variable.
50481         [!+link] (+link-after-libc): Likewise.
50482         [!+link] (+link-tests): Likewise.
50483         [!+link] (+link): Define in terms of $(+link-before-libc) and
50484         $(+link-after-libc).
50485         [!+link-static] (+link-static-before-libc): New variable.
50486         [!+link-static] (+link-static-after-libc): Likewise.
50487         [!+link-static] (+link-static-tests): Likewise.
50488         [!+link-static] (+link-static): Define in terms of
50489         $(+link-static-before-libc) and $(+link-static-after-libc).
50490         [build-shared] (link-libc-before-gnulib): New variable.
50491         [build-shared] (link-libc-tests): Likewise.
50492         [build-shared] (link-libc): Define in terms of
50493         $(link-libc-before-gnulib).
50494         [!build-shared] (link-libc-tests): New variable.
50495         (link-libc-static-tests): New variable.
50496         [!gnulib] (gnulib-arch): New variable.
50497         [!gnulib] (gnulib-tests): Likewise.
50498         [!gnulib] (static-gnulib-arch): Likewise.
50499         [!gnulib] (static-gnulib-tests): Likewise.
50500         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
50501         Define with "=" instead of ":=".
50502         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
50503         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
50504         * Rules (binaries-all-notests): New variable.
50505         (binaries-all-tests): Likewise.
50506         (binaries-static-notests): Likewise.
50507         (binaries-static-tests): Likewise.
50508         (binaries-all): Define using $(binaries-all-notests) and
50509         $(binaries-all-tests).
50510         (binaries-static): Define using $(binaries-static-notests) and
50511         $(binaries-static-tests).
50512         (binaries-shared-tests): New variable.
50513         (binaries-shared-notests): Likewise.
50514         (binaries-shared): Remove variable.
50515         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
50516         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
50517         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
50518         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
50519         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
50520         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
50521         * elf/Makefile (sln-modules): New variable.
50522         (extra-objs): Add $(sln-modules:=.o).
50523         (ldconfig-modules): Add static-stubs.
50524         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
50525         * elf/static-stubs.c: New file.
50527         [BZ #14283]
50528         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
50529         by 7 not 8 to examine high bit of fractional part.  Use volatile
50530         variables when splitting into final array of floats if
50531         __FLT_EVAL_METHOD__ != 0.
50532         * math/libm-test.inc (cos_test): Add another test.
50533         (sin_test): Likewise.
50534         * sysdeps/i386/fpu/libm-test-ulps: Update.
50536         [BZ #14273]
50537         * math/libm-test.inc (cosh_test): Add more tests.
50539         * version.h (RELEASE): Set to "development".
50540         (VERSION): Set to "2.16.90".
50542 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
50544         * NEWS: Update copyright. Remove last-updated date.
50545         Mention math library bug fixes and timezone data changes.
50546         * README: Mention GNU/Hurd, x32, and HPPA support status.
50548 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
50550         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
50552 2012-06-27  Andreas Jaeger  <aj@suse.de>
50554         * manual/contrib.texi (Contributors): Add Samuel Thibault.
50556 2012-06-25  Andreas Jaeger  <aj@suse.de>
50558         * sysdeps/s390/fpu/libm-test-ulps: Update.
50560 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
50561             Thomas Schwinge  <thomas@codesourcery.com>
50563         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
50564         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
50565         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
50566         fanotify_mark.
50568 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
50570         * sysdeps/mach/start.c: Remove file.
50571         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
50572         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
50573         * sysdeps/sh/init-first.c: Likewise.
50575         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
50576         registers for frame unwinding purposes, add CFI directives.
50577         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
50578         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
50579         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
50580         Likewise.
50582         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
50583         __fortify_fail returning.
50584         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
50586         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
50587         sysdeps/sh/____longjmp_chk.S.
50588         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
50589         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
50590         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
50591         (gen-as-const-headers): Append sigaltstack-offsets.sym.
50593         * sysdeps/sh/abort-instr.h: New file.
50594         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
50595         process in case exit returns.
50597         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
50598         initialize the GOT register before use.
50600         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
50601         calculation of ARGC > 4.
50603         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
50604         meaningful names to some local labels.
50606 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50607             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50609         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
50610         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
50611         (__arch_compare_and_exchange_val_16_acq): Likewise.
50612         (__arch_compare_and_exchange_val_32_acq): Likewise.
50613         (atomic_exchange_and_add): Fix gUSA sequence.
50614         (atomic_add): Likewise.
50615         (atomic_add_negative): Likewise.
50616         (atomic_add_zero): Likewise.
50617         (atomic_bit_test_set): Likewise.
50619 2012-06-22  Andreas Schwab  <schwab@redhat.com>
50621         [BZ #13579]
50622         * include/link.h (struct link_map): Add l_free_initfini.
50623         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
50624         l_initfini.
50625         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
50626         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
50627         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
50628         set.
50630 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
50632         * configure.in: Use AC_LANG_SOURCE.
50633         * configure: Regenerate.
50635 2012-06-22  Roland McGrath  <roland@hack.frob.com>
50637         * configure.in (libc_cv_localstatedir): New substituted variable.
50638         * configure: Regenerated.
50639         * config.make.in (localstatedir): New variable, substituted from
50640         libc_cv_localstatedir.
50641         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
50642         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
50643         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
50644         * sysdeps/gnu/configure: Regenerated.
50646 2012-06-21  Jeff Law  <law@redhat.com>
50648         [BZ #14277]
50649         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
50650         free.  Simplify list management for _LIBC case.
50652 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
50654         [BZ #14273]
50655         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
50656         Clear sign bit of 64-bit integer value before comparing against
50657         overflow value.
50659         * sysdeps/mach/configure: Regenerated.
50661 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
50663         [BZ #14278]
50664         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
50666 2012-06-21  Jeff Law  <law@redhat.com>
50668         [BZ #13882]
50669         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
50670         uint16_t for elements in the "seen" array to avoid char overflows.
50671         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50672         * elf/dl-open.c (dl_open_worker): Likewise.
50674 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
50676         * scripts/list-sources.sh: Scan PORTS for translations.
50677         * po/libc.pot: Regenerated.
50679 2012-06-21  Andreas Jaeger  <aj@suse.de>
50681         [BZ #12194]
50682         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
50683         warning.
50684         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
50685         * bits/byteswap-16.h (__bswap_16): Likewise.
50686         * bits/byteswap.h (__bswap_constant_16): Likewise.
50688 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
50690         [BZ #14117]
50691         * sysdeps/i386/fpu_control.h: Removed.
50692         * sysdeps/x86_64/fpu_control.h: Moved to ...
50693         * sysdeps/x86/fpu_control.h: Here.
50695         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
50696         (_FPU_SETCW): Likewise.
50698 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
50700         [BZ #14117]
50701         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
50702         * sysdeps/x86/fpu/bits/mathinline.h: This.
50703         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
50705         [BZ #14050]
50706         [BZ #14117]
50707         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
50708         functions if __x86_64__ is defined.
50710 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
50712         * string/endian.h: Add !__ASSEMBLER__ condition for including
50713         conversion interfaces.
50715 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
50717         [BZ #14241]
50718         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
50719         of ABS(x) in calculating zero to negative powers other than odd
50720         integers.
50721         * math/libm-test.inc (pow_test): Add more tests.
50723 2012-06-15  Andreas Jaeger  <aj@suse.de>
50725         * manual/contrib.texi (Contributors): Update entry of Liubov
50726         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
50727         Machado Filho.
50729 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
50731         * string/string.h: Add __wur to GNU version of strerror_r.
50733 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
50735         [BZ #14229]
50736         * string/Makefile (tests): Add tst-strtok_r.
50737         * string/tst-strtok_r.c: New file.
50738         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
50739         RAX_LP/RDX_LP on SAVE_PTR.
50741 2012-06-14  Roland McGrath  <roland@hack.frob.com>
50743         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
50745 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
50747         * libm_test.inc (csqrt_test): Allow more spurious underflow
50748         exceptions.
50749         (j0_test): Likewise.
50750         (j1_test): Likewise.
50751         (y0_test): Likewise.
50752         (y1_test): Likewise.
50754 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
50756         * po/Makefile (libc.pot): Use UTF-8 charset.
50758 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
50760         [BZ #14210]
50761         Suppress sign-conversion warning from FD_SET.
50762         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
50763         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
50764         not unsigned long int.
50765         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
50767 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
50769         [BZ #14050]
50770         [BZ #14117]
50771         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
50772         __extern_always_inline instead of __extern_inline.
50773         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
50774         (__signbit): Likewise.
50775         (__signbitl): Support C++ namespace.
50776         (lrintf): New inline function.
50777         (lrint): Likewise.
50778         (llrintf): Likewise.
50779         (llrint): Likewise.
50780         (fmaxf): Likewise.
50781         (fmax): Likewise.
50782         (fminf): Likewise.
50783         (fmin): Likewise.
50784         (rint): Likewise.
50785         (rintf): Likewise.
50786         (ceil): Likewise.
50787         (ceilf): Likewise.
50788         (floor): Likewise.
50789         (floorf): Likewise.
50790         (nearbyint): Likewise.
50791         (nearbyintf): Likewise.
50793 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
50795         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
50796         non-default versions.
50798 2012-06-11  Roland McGrath  <roland@hack.frob.com>
50800         [BZ #14218]
50801         * manual/argp.texi (Argp): Reword argp_parse description slightly.
50803 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
50805         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
50806         (FE_UPWARD, FE_DOWNWARD): Don't define.
50807         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
50808         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50810         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
50811         reading it.
50812         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50813         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50815 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50817         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50818         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
50819         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
50820         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
50822 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
50824         [BZ #14117]
50825         * sysdeps/i386/fpu/bits/fenv.h: Removed.
50826         * sysdeps/i386/fpu/Implies: New file.
50827         * sysdeps/x86_64/fpu/Implies: Likewise.
50828         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
50829         * sysdeps/x86/fpu/bits/fenv.h: This.
50831         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
50832         __SSE_MATH__.
50834 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50836         [BZ #14134]
50837         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
50838         character 0xffff that matches the last element of the
50839         conversion table.
50841 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50843         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
50844         fmodl commit.
50846 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50848         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
50849         values higher than 25.6283.
50851 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50853         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
50854         subnormal exponent extraction and add some __builtin_expect.
50855         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
50856         Fix for subnormal mantissa calculation.
50858 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
50860         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
50861         cpu2 is -1 and errno is not ENOSYS.
50863 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
50865         [BZ #14117]
50866         * sysdeps/i386/i486/bits/string.h: Renamed to ...
50867         * sysdeps/x86/bits/string.h: This.
50868         * sysdeps/x86_64/bits/string.h: Removed.
50870         * sysdeps/i386/i486/bits/string.h: Define inline functions only
50871         if not compiling for x86-64, but compiling for >= i486.
50873         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
50874         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
50876         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50877         New macro from Linux kernel 3.4.0.
50878         (FP_XSTATE_MAGIC2): Likewise.
50879         (FP_XSTATE_MAGIC2_SIZE): Likewise.
50880         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
50881         (struct _fpx_sw_bytes): New struct.
50882         (struct _xsave_hdr): Likewise.
50883         (struct _ymmh_state): Likewise.
50884         (struct _xstate): Likewise.
50886         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
50887         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
50888         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
50889         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
50890         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
50891         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
50893         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
50894         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
50895         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
50896         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
50897         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
50898         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
50900 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50902         [BZ #13743]
50903         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
50904         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
50905         (sysdep_headers): Include sys/platform/ppc.h.
50906         * sysdeps/powerpc/test-gettimebase.c: Test for
50907         __ppc_get_timebase() to catch future ISA opcode/insn changes.
50908         * manual/Makefile (appendices): Include platform.texi.
50909         * manual/contrib.texi (Contributors): Update @node pointers.
50910         * manual/maint.texi (Maintenance): Likewise.
50911         (Platform): New node.
50912         * manual/platform.texi: New file.  Document the new features.
50914 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50915             Jakub Jelinek  <jakub@redhat.com>
50917         [BZ #14188]
50918         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
50919         where __builtin_expect is unavailable.
50921 2012-06-03  David S. Miller  <davem@davemloft.net>
50923         * stdlib/longlong.h: Updated from GCC.
50925 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
50927         [BZ #14042]
50928         * sysdeps/powerpc/powerpc32/mcount.c: New file.
50929         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
50930         __mcount_internal.
50931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50932         (GLIBC_2.16): Likewise.
50934 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50936         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
50938 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
50941         (default-abi): New variable.
50942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
50943         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
50944         variable.
50945         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50946         Likewise.
50947         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50948         Likewise.
50949         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50950         Likewise.
50952         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50953         definition.  Document in comment.
50955 2012-06-01  David S. Miller  <davem@davemloft.net>
50957         * stdlib/longlong.h: Updated from GCC.
50959 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50961         [BZ #14117]
50962         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50963         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50964         sys/debugreg.h sys/io.h here.
50965         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50966         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50967         sys/io.h.
50968         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50969         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50970         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50971         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50972         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50973         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50975         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50976         Define only if __x86_64__ is defined.
50978 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50980         [BZ #14048]
50981         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50982         Use int64_t for variable i.
50983         * math/libm-test.inc (fmod_test): Add more tests.
50985         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50986         z computation is not scheduled after fetestexcept.
50987         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50988         Use math_force_eval instead of asm to ensure calculation scheduled
50989         before exception test.
50990         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50991         Ensure a1 + u.d computation is not scheduled after fetestexcept.
50993 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
50995         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50996         computation is not scheduled after fetestexcept.
50998 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
51000         [BZ #14117]
51001         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
51002         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
51004 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51006         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
51007         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51009 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
51011         [BZ #14117]
51012         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
51013         <bits/wordsize.h>.
51014         (__WCHAR_MIN): Support __WORDSIZE == 64.
51015         (__WCHAR_MAX): Likewise.
51017         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
51018         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
51020         [BZ #14183]
51021         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
51022         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
51024         [BZ #14117]
51025         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
51026         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
51028         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
51029         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
51031         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
51032         Defined to 1 if __x86_64__ isn't defined.
51033         (_STAT_VER_LINUX_OLD): New.
51034         (st_atime): Remove duplicate.
51035         (st_mtime): Likewise.
51036         (st_ctime): Likewise.
51038 2012-05-31  David S. Miller  <davem@davemloft.net>
51040         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
51041         entries.
51043 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
51045         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
51046         gen-libm-test.pl.
51048         [BZ #14132]
51049         * elf/dl-reloc.c: Include <_itoa.h>.
51050         (_dl_reloc_bad_type): Remove use of INTUSE.
51051         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
51052         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
51053         * stdio-common/psiginfo.c (psiginfo): Likewise.
51054         * stdio-common/psignal.c (psignal): Likewise.
51055         * string/strsignal.c (strsignal): Likewise.
51056         * include/signal.h (_sys_siglist): Declare hidden proto.
51057         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
51058         INTVARDEF with libc_hidden_data_def.
51059         * stdio-common/itoa-udigits.c: Likewise.
51060         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
51061         (_itoa_lower_digits_internal): Remove declaration.
51062         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
51063         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
51064         (_sys_sigabbrev_internal): Remove aliases.
51065         (_sys_siglist): Define hidden alias.
51067 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
51069         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51070         bits/sysctl.h.
51072 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
51074         [BZ #14117]
51075         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
51076         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
51078         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
51079         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
51080         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
51081         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
51082         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
51083         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
51085         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
51086         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
51087         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
51089         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
51090         with __addr.
51091         (insw): Likewise.
51092         (insl): Likewise.
51093         (outsb): Likewise.
51094         (outsw): Likewise.
51095         (outsl): Likewise.
51097         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
51098         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
51099         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
51101         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
51102         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
51103         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
51104         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
51105         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
51106         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
51108         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
51109         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
51111         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
51112         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
51114         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
51115         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
51116         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
51118         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
51119         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
51120         to ...
51121         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
51123         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
51124         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
51125         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
51127         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
51128         for x86-64.
51129         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
51131 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
51133         * math/math.h (M_El): Use two more decimal places.
51134         (M_LOG2El): Likewise.
51135         (M_LOG10El): Likewise.
51136         (M_LN2l): Likewise.
51137         (M_LN10l): Likewise.
51138         (M_PIl): Likewise.
51139         (M_PI_2l): Likewise.
51140         (M_PI_4l): Likewise.
51141         (M_1_PIl): Likewise.
51142         (M_2_PIl): Likewise.
51143         (M_2_SQRTPIl): Likewise.
51144         (M_SQRT2l): Likewise.
51145         (M_SQRT1_2l): Likewise.
51147 2012-05-31  David S. Miller  <davem@davemloft.net>
51149         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
51150         values between float registers.
51151         * sysdeps/sparc/sparc64/memset.S: Likewise.
51152         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51154 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
51156         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
51157         -D_FORTIFY_SOURCE=1.
51158         (CPPFLAGS-tst-longjmp_chk.c): Define.
51159         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
51160         (CPPFLAGS-tst-longjmp_chk2.c): Define.
51161         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
51162         CFLAGS-tst-wchar-h.c.
51164 2012-05-31  Marek Polacek  <polacek@redhat.com>
51166         [BZ #14132]
51167         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
51168         __endmntent_internal): Remove declaration.
51169         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
51170         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
51171         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
51173 2012-05-30  David S. Miller  <davem@davemloft.net>
51175         * sysdeps/sparc/sparc32/soft-fp/q_util.c
51176         (___Q_simulate_exceptions): Use real FP ops rather than writing
51177         into the %fsr.
51178         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
51179         Likewise.
51181 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
51183         [BZ #14117]
51184         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
51185         * sysdeps/x86/bits/xtitypes.h: This.
51187         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
51188         * sysdeps/x86/bits/wordsize.h: This.
51190         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
51191         * sysdeps/x86/bits/huge_vall.h: This.
51193         * sysdeps/i386/bits/select.h: Removed.
51194         * sysdeps/x86_64/bits/select.h: Renamed to ...
51195         * sysdeps/x86/bits/select.h: This.
51197         * sysdeps/i386/bits/setjmp.h: Removed.
51198         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
51199         * sysdeps/x86/bits/setjmp.h: This.
51201         * sysdeps/i386/bits/mathdef.h: Removed.
51202         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
51203         * sysdeps/x86/bits/mathdef.h: This.
51205 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
51207         [BZ #14132]
51208         * include/sys/socket.h (__connect_internal)
51209         (__libc_sa_len_internal): Remove declaration.
51210         (__connect, __libc_sa_len): Declare hidden_proto.
51211         (SA_LEN): Remove use of INTUSE.
51212         * socket/connect.c: Add libc_hidden_def.
51213         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
51214         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
51215         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
51216         alias.
51217         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
51218         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
51219         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
51220         of adding _internal alias.
51222 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
51224         [BZ #14117]
51225         * sysdeps/i386/bits/link.h: Removed.
51226         * sysdeps/i386/bits/linkmap.h: Likewise.
51227         * sysdeps/x86_64/bits/link.h: Renamed to ...
51228         * sysdeps/x86/bits/link.h: This.
51229         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
51230         * sysdeps/x86/bits/linkmap.h: This.
51232         * sysdeps/i386/bits/endian.h: Removed.
51233         * sysdeps/x86_64/bits/endian.h: Renamed to ...
51234         * sysdeps/x86/bits/endian.h: This.
51236         * sysdeps/i386/bits/byteswap.h: Removed.
51237         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51238         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
51239         * sysdeps/x86/bits/byteswap.h: This.
51240         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
51241         * sysdeps/x86/bits/byteswap-16.h: This.
51242         * sysdeps/i386/Implies: Add x86.
51243         * sysdeps/x86_64/Implies: Likewise.
51245 2012-05-30  David S. Miller  <davem@davemloft.net>
51247         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
51248         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
51249         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51250         (FP_TRAPPING_EXCEPTIONS): Define.
51251         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51252         (FP_TRAPPING_EXCEPTIONS): Define.
51253         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
51254         subnormals only when inexact has been signalled or underflow
51255         exceptions are enabled.
51256         (_FP_PACK_CANONICAL): Likewise.
51258 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
51260         [BZ #14183]
51261         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
51262         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
51264 2012-05-30  Richard Henderson  <rth@twiddle.net>
51266         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
51267         with #ifndef NOT_IN_libc.
51269         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
51270         marked to avoid plt entry.
51272 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
51274         [BZ #14112]
51275         * Makeconfig (default-abi): New macro.
51276         (abi-includes): Likewise.
51277         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
51278         $(abi-$(default-abi)-lib-soname) for soname if defined.
51279         ($(common-objpfx)gnu/lib-names.stmp): Generate from
51280         abi-variants.
51281         * Makefile (installed-stubs): Likewise.
51282         * include/stubs-biarch.h: Removed.
51283         * scripts/lib-names.awk: Only handle one library at a time.
51284         * scripts/soversions.awk: Remove WORDSIZE support.
51285         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
51286         entries.
51287         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
51288         Removed.
51289         (syscall-list-default-condition): Likewise.
51290         (syscall-list-default-condition): Likewise.
51291         (syscall-list-includes): Likewise.
51292         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
51293         syscall-list-* with abi-*.  Handle undefined abi-variants.
51294         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
51295         * sysdeps/unix/sysv/linux/i386/Implies: New file.
51296         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
51297         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
51298         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
51299         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
51300         Removed.
51301         (syscall-list-32-options): Likewise.
51302         (syscall-list-32-condition): Likewise.
51303         (syscall-list-64-options): Likewise.
51304         (syscall-list-64-condition): Likewise.
51305         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
51306         macro.
51307         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
51308         Renamed to ...
51309         (abi-*): This.
51310         (abi-64-ld-soname): New macro.
51311         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
51312         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
51313         Renamed to ...
51314         (abi-*): This.
51315         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
51316         * sysdeps/x86_64/x32/shlib-versions: Likewise.
51318 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
51320         * sysdeps/unix/sysv/linux/kernel-features.h
51321         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
51322         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
51323         include <kernel-features.h>.
51324         [!__NR_ftruncate64]: Remove conditional code.
51325         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51326         [__NR_ftruncate64]: Make code unconditional.
51327         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51328         * sysdeps/unix/sysv/linux/truncate64.c: Do not
51329         include <kernel-features.h>.
51330         [!__NR_ftruncate64]: Remove conditional code.
51331         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51332         [__NR_ftruncate64]: Make code unconditional.
51333         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
51335         include <kernel-features.h>.
51336         [!__NR_ftruncate64]: Remove conditional code.
51337         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51338         [__NR_ftruncate64]: Make code unconditional.
51339         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51341         include <kernel-features.h>.
51342         [!__NR_ftruncate64]: Remove conditional code.
51343         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51344         [__NR_ftruncate64]: Make code unconditional.
51345         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51347         * configure.in (libc_cv_fpie): Weaken to a compile test using
51348         LIBC_TRY_CC_OPTION.
51349         * configure: Regenerated.
51351 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
51354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
51355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
51356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51357         Refreshed.
51358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
51359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
51360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
51361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
51362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
51363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51364         Refreshed.
51366 2012-05-27  David S. Miller  <davem@davemloft.net>
51368         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
51369         (___Q_zero): New.
51370         (__Q_simulate_exceptions): Return void.  Change to simulate
51371         exceptions by writing into the %fsr.
51372         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
51373         (__Qp_handle_exceptions): Likewise.
51374         (numbers): Delete.
51375         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
51376         __Qp_handle_exceptions.
51377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
51378         __Qp_handle_exceptions.
51379         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
51380         as unused and give dummy FP_RND_NEAREST initializer.
51381         (FP_INHIBIT_RESULTS): Define.
51382         (___Q_simulate_exceptions): Update declaration.
51383         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
51384         formatting.
51385         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
51386         as unused and give dummy FP_RND_NEAREST initializer.
51387         (__Qp_handle_exceptions): Update declaration.
51388         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
51389         formatting.
51391 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
51393         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
51394         the temporary FPU control word.
51395         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51396         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
51397         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
51398         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
51399         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
51400         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
51401         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
51402         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
51403         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
51404         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
51405         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51407 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51409         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
51410         fields.
51412 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
51414         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
51415         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
51416         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
51417         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
51418         Likewise.
51419         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
51420         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
51421         Likewise.
51423 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
51425         * po/h.po: Update from translation team.
51427 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
51429         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
51431         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
51432         handling of denormals.
51433         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51434         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51435         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51436         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51437         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51438         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
51439         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
51440         Likewise.
51442 2012-05-26  Marek Polacek  <polacek@redhat.com>
51444         [BZ #14152]
51445         * math/libm-test.inc (fma_test): Don't always expect underflow
51446         exception.
51448 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51450         [BZ #12416]
51451         * elf/tst-execstack.c: Include stackinfo.h.
51452         (do_test): Adjust test case to ensure that pthread_getattr_np
51453         behaviour remains the same after marking stack executable.
51455 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
51457         * sysdeps/unix/sysv/linux/kernel-features.h
51458         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
51459         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
51460         kernel-features.h.
51461         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
51462         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
51463         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
51464         kernel-features.h.
51465         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
51466         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
51468 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
51470         * configure.in: Define the default includes to being none.
51471         * configure: Regenerated.
51473 2012-05-25  Roland McGrath  <roland@hack.frob.com>
51475         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
51476         * sysdeps/x86_64/setjmp.S: Likewise.
51477         * sysdeps/i386/bsd-setjmp.S: Likewise.
51478         * sysdeps/i386/bsd-_setjmp.S: Likewise.
51479         * sysdeps/i386/setjmp.S: Likewise.
51480         * sysdeps/i386/__longjmp.S: Likewise.
51481         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51482         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
51484         * include/stap-probe.h: New file.
51485         * configure.in: Handle --enable-systemtap.
51486         * configure: Regenerated.
51487         * config.h.in (USE_STAP_PROBE): New #undef.
51488         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
51489         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
51490         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
51492 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
51494         [BZ #13717]
51495         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51496         to 2.4.0 where earlier.
51497         * sysdeps/unix/sysv/linux/configure: Regenerated.
51498         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51499         <kernel-features.h>.
51500         [__ASSUME_32BITUIDS]: Make code unconditional.
51501         [!__ASSUME_32BITUIDS]: Remove conditional code.
51502         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
51503         <kernel-features.h>.
51504         [__ASSUME_32BITUIDS]: Make code unconditional.
51505         [!__ASSUME_32BITUIDS]: Remove conditional code.
51506         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
51507         [__ASSUME_32BITUIDS]: Make code unconditional.
51508         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
51509         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
51510         <kernel-features.h>.
51511         [__ASSUME_32BITUIDS]: Make code unconditional.
51512         [!__ASSUME_32BITUIDS]: Remove conditional code.
51513         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
51514         <kernel-features.h>.
51515         [__ASSUME_32BITUIDS]: Make code unconditional.
51516         [!__ASSUME_32BITUIDS]: Remove conditional code.
51517         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
51518         <kernel-features.h>.
51519         [__ASSUME_32BITUIDS]: Make code unconditional.
51520         [!__ASSUME_32BITUIDS]: Remove conditional code.
51521         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
51522         <kernel-features.h>.
51523         [__ASSUME_32BITUIDS]: Make code unconditional.
51524         [!__ASSUME_32BITUIDS]: Remove conditional code.
51525         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51526         <kernel-features.h>.
51527         [__ASSUME_32BITUIDS]: Make code unconditional.
51528         [!__ASSUME_32BITUIDS]: Remove conditional code.
51529         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51530         <kernel-features.h>.
51531         [__ASSUME_32BITUIDS]: Make code unconditional.
51532         [!__ASSUME_32BITUIDS]: Remove conditional code.
51533         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
51534         <kernel-features.h>.
51535         [__ASSUME_32BITUIDS]: Make code unconditional.
51536         [!__ASSUME_32BITUIDS]: Remove conditional code.
51537         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51538         <kernel-features.h>.
51539         [__ASSUME_32BITUIDS]: Make code unconditional.
51540         [!__ASSUME_32BITUIDS]: Remove conditional code.
51541         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51542         <kernel-features.h>.
51543         [__ASSUME_32BITUIDS]: Make code unconditional.
51544         [!__ASSUME_32BITUIDS]: Remove conditional code.
51545         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
51546         <kernel-features.h>.
51547         [__ASSUME_32BITUIDS]: Make code unconditional.
51548         [!__ASSUME_32BITUIDS]: Remove conditional code.
51549         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
51550         <kernel-features.h>.
51551         [__NR_setresgid] (__setresgid): Do not declare.
51552         [__ASSUME_32BITUIDS]: Make code unconditional.
51553         [!__ASSUME_32BITUIDS]: Remove conditional code.
51554         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
51555         <kernel-features.h>.
51556         [__NR_setresuid] (__setresuid): Do not declare.
51557         [__ASSUME_32BITUIDS]: Make code unconditional.
51558         [!__ASSUME_32BITUIDS]: Remove conditional code.
51559         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
51560         <kernel-features.h>.
51561         [__ASSUME_32BITUIDS]: Make code unconditional.
51562         [!__ASSUME_32BITUIDS]: Remove conditional code.
51563         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
51564         <kernel-features.h>.
51565         [__ASSUME_32BITUIDS]: Make code unconditional.
51566         [!__ASSUME_32BITUIDS]: Remove conditional code.
51567         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
51568         <kernel-features.h>.
51569         [__ASSUME_32BITUIDS]: Make code unconditional.
51570         [!__ASSUME_32BITUIDS]: Remove conditional code.
51571         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
51572         <kernel-features.h>.
51573         [__ASSUME_32BITUIDS]: Make code unconditional.
51574         [!__ASSUME_32BITUIDS]: Remove conditional code.
51575         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
51576         <kernel-features.h>.
51577         [__ASSUME_32BITUIDS]: Make code unconditional.
51578         [!__ASSUME_32BITUIDS]: Remove conditional code.
51579         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
51580         <kernel-features.h>.
51581         [__ASSUME_32BITUIDS]: Make code unconditional.
51582         [!__ASSUME_32BITUIDS]: Remove conditional code.
51583         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
51584         <kernel-features.h>.
51585         [__ASSUME_32BITUIDS]: Make code unconditional.
51586         [!__ASSUME_32BITUIDS]: Remove conditional code.
51587         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
51588         <kernel-features.h>.
51589         [__ASSUME_32BITUIDS]: Make code unconditional.
51590         [!__ASSUME_32BITUIDS]: Remove conditional code.
51591         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
51592         <kernel-features.h>.
51593         [__ASSUME_32BITUIDS]: Make code unconditional.
51594         [!__ASSUME_32BITUIDS]: Remove conditional code.
51595         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51596         <kernel-features.h>.
51597         [__ASSUME_32BITUIDS]: Make code unconditional.
51598         [!__ASSUME_32BITUIDS]: Remove conditional code.
51599         * sysdeps/unix/sysv/linux/kernel-features.h
51600         (__ASSUME_SETRESUID_SYSCALL): Remove.
51601         (__ASSUME_SETRESGID_SYSCALL): Likewise.
51602         (__ASSUME_32BITUIDS): Likewise.
51603         (__ASSUME_LDT_WORKS): Likewise.
51604         (__ASSUME_O_DIRECTORY): Likewise.
51605         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
51606         architecture but not kernel version.
51607         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51608         (__ASSUME_MMAP2_SYSCALL): Likewise.
51609         (__ASSUME_STAT64_SYSCALL): Likewise.
51610         (__ASSUME_IPC64): Likewise.
51611         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
51612         <kernel-features.h>.
51613         [__ASSUME_32BITUIDS]: Make code unconditional.
51614         [!__ASSUME_32BITUIDS]: Remove conditional code.
51615         * sysdeps/unix/sysv/linux/opendir.c: Do not include
51616         <kernel-features.h>.
51617         [__ASSUME_O_DIRECTORY]: Make code unconditional.
51618         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
51619         132096]: Remove conditional code.
51620         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
51621         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51622         <kernel-features.h>.
51623         [__ASSUME_32BITUIDS]: Make code unconditional.
51624         [!__ASSUME_32BITUIDS]: Remove conditional code.
51625         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51626         <kernel-features.h>.
51627         [__ASSUME_32BITUIDS]: Make code unconditional.
51628         [!__ASSUME_32BITUIDS]: Remove conditional code.
51629         * sysdeps/unix/sysv/linux/setegid.c: Do not include
51630         <kernel-features.h>.
51631         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
51632         unconditional.
51633         (__setresgid): Do not declare.
51634         [__ASSUME_32BITUIDS]: Make code unconditional.
51635         [!__ASSUME_32BITUIDS]: Remove conditional code.
51636         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
51637         <kernel-features.h>.
51638         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
51639         unconditional.
51640         (__setresuid): Do not declare.
51641         [__ASSUME_32BITUIDS]: Make code unconditional.
51642         [!__ASSUME_32BITUIDS]: Remove conditional code.
51643         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51644         <kernel-features.h>.
51645         [__ASSUME_32BITUIDS]: Make code unconditional.
51646         [!__ASSUME_32BITUIDS]: Remove conditional code.
51647         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
51648         <kernel-features.h>.
51649         [__ASSUME_32BITUIDS]: Make code unconditional.
51650         [!__ASSUME_32BITUIDS]: Remove conditional code.
51652 2012-05-25  Richard Henderson  <rth@twiddle.net>
51654         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
51655         dl_hwcap to ifunc resolver.
51656         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
51657         elf_ifunc_invoke.
51658         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
51659         dl_hwcap to ifunc resolver.
51660         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
51662 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51664         [BZ #14153]
51665         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
51666         for |x| <= 2**-26, not 2**-57.
51667         * math/libm-test.inc (acos_test): Do not allow spurious underflow
51668         exception.
51670 2012-05-24  Jeff Law  <law@redhat.com>
51672         * stdio-common/Makefile (tests): Add bug25.
51673         * stdio-common/bug25.c: New test.
51675 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
51677         [BZ #13576]
51678         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
51679         multiple of MALLOC_ALIGNMENT in size.
51680         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
51682 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51684         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
51685         Require >= 256.
51686         (FILENAME_MAX): Use macro-int-constant.
51687         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
51688         (_IOFBF): Use macro-int-constant.
51689         (_IOLBF): Likewise.
51690         (_IONBF): Likewise.
51691         (SEEK_CUR): Likewise.
51692         (SEEK_END): Likewise.
51693         (SEEK_SET): Likewise.
51694         (TMP_MAX): Likewise.
51695         (EOF): Use macro-int-constant.  Require < 0.
51696         (NULL): Use macro-constant.  Require == 0.
51697         (stdin): Require type to be FILE *.
51698         (stdout): Likewise.
51699         (stderr): Likewise.
51700         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
51701         macro-int-constant.
51702         (EXIT_SUCCESS): Likewise.
51703         (NULL): Use macro-constant.  Require == 0.
51704         (RAND_MAX): Use macro-int-constant.
51705         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
51706         [C99-based standards] (strtof): Require function.
51707         [C99-based standards] (strtold): Likewise.
51708         [C99-based standards] (strtoll): Likewise.
51709         [C99-based standards] (strtoull): Likewise.
51710         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51711         [ISO || ISO99 || ISO11] (limits.h): Likewise.
51712         [ISO || ISO99 || ISO11] (math.h): Likewise.
51713         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
51714         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51715         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51717 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
51719         [BZ #14132]
51720         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
51721         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
51722         * intl/dgettext.c (DCGETTEXT): Likewise.
51723         * intl/gettext.c (DCGETTEXT): Likewise.
51724         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
51725         * posix/regex_internal.h (gettext): Likewise.
51726         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
51727         Remove declaration.
51728         * include/argz.h (__argz_count_internal)
51729         (__argz_stringify_internal): Remove declaration.
51730         (__argz_count, __argz_stringify): Declare hidden proto.
51731         * intl/dcgettext.c: Remove use of INTDEF.
51732         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
51733         * string/argz-stringify.c: Likewise.
51734         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51735         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51736         Declare hidden proto.
51737         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51738         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51739         Declare hidden proto.
51740         * include/stdio.h (__asprintf_internal): Don't declare.
51741         (__asprintf): Don't define as macro.  Declare hidden proto.
51742         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
51743         (__fsetlocking): Declare hidden proto.
51744         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
51745         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
51746         hidden proto.
51747         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
51748         (_IO_setlinebuf): Remove use of INTUSE.
51749         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
51750         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
51751         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
51752         Remove declaration.
51753         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
51754         (_IO_do_flush): Remove use of INTUSE.
51755         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
51756         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
51757         (_IO_adjust_column, _IO_least_wmarker)
51758         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
51759         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
51760         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
51761         (_IO_default_doallocate, _IO_wdefault_doallocate)
51762         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
51763         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
51764         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
51765         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
51766         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
51767         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
51768         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
51769         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
51770         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
51771         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
51772         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
51773         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
51774         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
51775         proto.
51776         (_IO_flush_all_internal, _IO_adjust_column_internal)
51777         (_IO_default_uflow_internal, _IO_default_finish_internal)
51778         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
51779         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
51780         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
51781         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
51782         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
51783         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
51784         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
51785         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
51786         (_IO_file_close_internal, _IO_file_close_it_internal)
51787         (_IO_file_underflow_internal, _IO_file_overflow_internal)
51788         (_IO_file_init_internal, _IO_file_attach_internal)
51789         (_IO_file_fopen_internal, _IO_file_read_internal)
51790         (_IO_file_sync_internal, _IO_file_seek_internal)
51791         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
51792         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
51793         (_IO_str_underflow_internal, _IO_str_overflow_internal)
51794         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
51795         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
51796         (_IO_list_all_internal, _IO_link_in_internal)
51797         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
51798         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
51799         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
51800         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
51801         (_IO_do_write_internal, _IO_padn_internal)
51802         (_IO_getline_info_internal, _IO_getline_internal)
51803         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
51804         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
51805         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
51806         (_IO_vfscanf_internal, _IO_vfprintf_internal)
51807         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
51808         (_IO_init_internal, _IO_un_link_internal): Don't declare.
51809         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
51810         with libc_hidden_ver, remove use of INTUSE.
51811         * libio/genops.c: Likewise.
51812         * libio/freopen.c: Likewise.
51813         * libio/freopen64.c: Likewise.
51814         * libio/iofclose.c: Likewise.
51815         * libio/iofdopen.c: Likewise.
51816         * libio/iofflush.c: Likewise.
51817         * libio/iofflush_u.c: Likewise.
51818         * libio/iofgets.c: Likewise.
51819         * libio/iofgets_u.c: Likewise.
51820         * libio/iofopen.c: Likewise.
51821         * libio/iofopncook.c: Likewise.
51822         * libio/iofread.c: Likewise.
51823         * libio/iofread_u.c: Likewise.
51824         * libio/ioftell.c: Likewise.
51825         * libio/iofwrite.c: Likewise.
51826         * libio/iogetline.c: Likewise.
51827         * libio/iogets.c: Likewise.
51828         * libio/iogetwline.c: Likewise.
51829         * libio/iopadn.c: Likewise.
51830         * libio/iopopen.c: Likewise.
51831         * libio/ioseekoff.c: Likewise.
51832         * libio/ioseekpos.c: Likewise.
51833         * libio/iosetbuffer.c: Likewise.
51834         * libio/iosetvbuf.c: Likewise.
51835         * libio/ioungetc.c: Likewise.
51836         * libio/ioungetwc.c: Likewise.
51837         * libio/iovdprintf.c: Likewise.
51838         * libio/iovsprintf.c: Likewise.
51839         * libio/iovsscanf.c: Likewise.
51840         * libio/memstream.c: Likewise.
51841         * libio/obprintf.c: Likewise.
51842         * libio/oldfileops.c: Likewise.
51843         * libio/oldiofclose.c: Likewise.
51844         * libio/oldiofdopen.c: Likewise.
51845         * libio/oldiofopen.c: Likewise.
51846         * libio/oldiopopen.c: Likewise.
51847         * libio/oldstdfiles.c: Likewise.
51848         * libio/putc.c: Likewise.
51849         * libio/setbuf.c: Likewise.
51850         * libio/setlinebuf.c: Likewise.
51851         * libio/stdfiles.c: Likewise.
51852         * libio/strops.c: Likewise.
51853         * libio/vasprintf.c: Likewise.
51854         * libio/vscanf.c: Likewise.
51855         * libio/vsnprintf.c: Likewise.
51856         * libio/vswprintf.c: Likewise.
51857         * libio/wfiledoalloc.c: Likewise.
51858         * libio/wfileops.c: Likewise.
51859         * libio/wgenops.c: Likewise.
51860         * libio/wmemstream.c: Likewise.
51861         * libio/wstrops.c: Likewise.
51862         * libio/__fpurge.c: Likewise.
51863         * libio/__fsetlocking.c: Likewise.
51864         * assert/assert.c: Likewise.
51865         * debug/fgets_chk.c: Likewise.
51866         * debug/fgets_u_chk.c: Likewise.
51867         * debug/fread_chk.c: Likewise.
51868         * debug/fread_u_chk.c: Likewise.
51869         * debug/gets_chk.c: Likewise.
51870         * debug/obprintf_chk.c: Likewise.
51871         * debug/vasprintf_chk.c: Likewise.
51872         * debug/vdprintf_chk.c: Likewise.
51873         * debug/vsnprintf_chk.c: Likewise.
51874         * debug/vsprintf_chk.c: Likewise.
51875         * malloc/mtrace.c: Likewise.
51876         * misc/error.c: Likewise.
51877         * misc/syslog.c: Likewise.
51878         * stdio-common/asprintf.c: Likewise.
51879         * stdio-common/fxprintf.c: Likewise.
51880         * stdio-common/getw.c: Likewise.
51881         * stdio-common/isoc99_fscanf.c: Likewise.
51882         * stdio-common/isoc99_scanf.c: Likewise.
51883         * stdio-common/isoc99_vfscanf.c: Likewise.
51884         * stdio-common/isoc99_vscanf.c: Likewise.
51885         * stdio-common/isoc99_vsscanf.c: Likewise.
51886         * stdio-common/printf-prs.c: Likewise.
51887         * stdio-common/printf_fp.c: Likewise.
51888         * stdio-common/printf_fphex.c: Likewise.
51889         * stdio-common/printf_size.c: Likewise.
51890         * stdio-common/putw.c: Likewise.
51891         * stdio-common/scanf.c: Likewise.
51892         * stdio-common/sprintf.c: Likewise.
51893         * stdio-common/tmpfile.c: Likewise.
51894         * stdio-common/vfprintf.c: Likewise.
51895         * stdio-common/vfscanf.c: Likewise.
51896         * stdlib/strfmon_l.c: Likewise.
51897         * sunrpc/openchild.c: Likewise.
51898         * sunrpc/xdr_stdio.c: Likewise.
51899         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
51900         * sysdeps/mach/hurd/tmpfile.c: Likewise.
51902 2012-05-24  Roland McGrath  <roland@hack.frob.com>
51904         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51906         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
51907         in the third column, to generate for the shared library an IFUNC
51908         that uses _dl_vdso_vsym.
51909         * Makerules (COMPILE.c, compile-stdin.c): New variables.
51910         * Makeconfig (object-suffixes-noshared): New variable.
51912         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
51913         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
51914         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
51915         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
51917         [BZ #14132]
51918         * include/sys/time.h (__gettimeofday): Remove macro.
51919         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
51920         * time/gettimeofday.c (__gettimeofday): Remove #undef.
51921         Remove INTDEF.
51922         (__gettimeofday): Add libc_hidden_def.
51923         (gettimeofday): Add libc_hidden_weak.
51924         * sysdeps/mach/gettimeofday.c: Likewise.
51925         * sysdeps/posix/gettimeofday.c: Likewise.
51926         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
51927         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
51928         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
51929         (__gettimeofday_internal): Remove strong_alias.
51930         (__gettimeofday): Add libc_hidden_def.
51931         (gettimeofday): Add libc_hidden_weak.
51932         * sysdeps/unix/syscalls.list (gettimeofday):
51933         Remove __gettimeofday_internal alias.
51935 2012-05-24  Daniel Jacobowitz  <drow@false.org>
51936             H.J. Lu  <hongjiu.lu@intel.com>
51938         [BZ #12495]
51939         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
51940         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
51941         (largebin_index_32_big): New.
51942         (largebin_index): Use it for 16-byte alignment.
51943         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
51944         correction with front_misalign.
51946 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
51948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51950         Likewise.
51951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51952         Likewise.
51953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51954         Likewise.
51955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51956         Likewise.
51957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51958         Likewise.
51959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51960         Likewise.
51961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51962         Likewise.
51963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51964         Likewise.
51965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51966         Likewise.
51967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51968         Likewise.
51969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51970         Likewise.
51971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51972         Likewise.
51974         * scripts/data/c++-types-x32-linux-gnu.data: New file.
51975         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51977 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51979         [BZ #10846]
51980         [BZ #14036]
51981         * math/libm-test.inc (exp_test): Add test from bug 14036.
51982         (pow_test): Add test from bug 10846.
51984         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51985         and other flags.
51986         (special_function): Do not include flags in test name.
51987         (parse_args): Likewise.
51988         * sysdeps/i386/fpu/libm-test-ulps: Update.
51989         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51990         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51991         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51994         * math/gen-libm-test.pl (%beautify): Add entries for underflow
51995         exceptions.
51996         * math/libm-test.inc ("Philosophy"): Update comment about
51997         exception testing.
51998         (UNDERFLOW_EXCEPTION): New macro.
51999         (UNDERFLOW_EXCEPTION_OK): Likewise.
52000         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
52001         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
52002         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
52003         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
52004         (INVALID_EXCEPTION_OK): Update value.
52005         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52006         (OVERFLOW_EXCEPTION_OK): Likewise.
52007         (IGNORE_ZERO_INF_SIGN): Likewise.
52008         (test_exceptions): Handle underflow exceptions.
52009         (acos_test): Update for underflow exception expectations.
52010         (cexp_test): Likewise.
52011         (clog_test): Likewise.
52012         (clog10_test): Likewise.
52013         (csqrt_test): Likewise.
52014         (ctan_test): Likewise.
52015         (ctanh_test): Likewise.
52016         (exp_test): Likewise.
52017         (exp10_test): Likewise.
52018         (exp2_test): Likewise.
52019         (expm1_test): Likewise.
52020         (fma_test): Likewise.
52021         (j0_test): Likewise.
52022         (jn_test): Likewise.
52023         (nexttoward_test): Likewise.
52024         (pow_test): Likewise.
52025         (scalbn_test): Likewise.
52026         (scalbln_test): Likewise.
52027         (tan_test): Likewise.
52028         (y1_test): Likewise.
52029         * sysdeps/i386/fpu/libm-test-ulps: Update.
52030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52032 2012-05-23  David S. Miller  <davem@davemloft.net>
52034         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52035         (__libc_sigaction): Remove unused local variables.
52037 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
52039         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
52041 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
52043         mktime: avoid signed integer overflow
52044         * time/mktime.c (__mktime_internal): Do not mishandle the case
52045         where diff == INT_MIN.
52047         mktime: simplify computation of average
52048         * time/mktime.c (ranged_convert): Use new time_t_avg function
52049         instead of rolling our own (probably-slower) code.
52051         mktime: do not assume signed right shift propagates sign bit
52052         * time/mktime.c (isdst_differ): New static function.
52053         (__mktime_internal): No need to normalize tm_isdst now.
52054         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
52055         tm_isdst values.
52057         mktime: merge another wrapv change from gnulib
52058         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
52059         from some compilers.
52061         mktime: remove incorrect attempt at unusual arithmetics
52062         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
52063         The code didn't really work on such machines anyway.
52064         (TYPE_MINIMUM): Assume two's complement.
52065         (twos_complement_arithmetic): Verify that long_int and time_t
52066         are two's complement (or unsigned, in the latter case).
52068         mktime: check signed shifts on long_int and time_t, too
52069         * time/mktime.c (SHR): Check that shifts work as desired
52070         on the types long_int and time_t too, as SHR is used on
52071         such types.
52073         mktime: do not assume 'long' is wide enough
52074         * time/mktime.c (verify): Move decl up.
52075         (long_int): New type.
52076         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
52077         to remove assumption in the code that 'long' is wide enough to
52078         store year values.  This assumption is not true on x32 and on
52079         some non-glibc platforms.
52081         mktime: merge wrapv change from gnulib
52082         * time/mktime.c (WRAPV): New macro.
52083         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
52084         (guess_time_tm, __mktime_internal): Do not assume that signed
52085         integer overflow wraps around; modern compilers generate code
52086         where this assumption is no longer valid.
52088 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
52090         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
52091         Replace "jmp L(pseudo_end)" with "ret".
52092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
52093         Likewise.
52095 2012-05-23  Andreas Jaeger  <aj@suse.de>
52097         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
52098         * sysdeps/unix/sysv/linux/poll.c: Remove file.
52100 2012-05-23  Andreas Jaeger  <aj@suse.de>
52101             Maximilian Attems  <max@stro.at>
52103         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
52104         New macros.
52106 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
52108         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
52109         code so that pseudo_end is just ret and the stack pointer is
52110         correct also for static library in error case.
52112 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
52114         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
52115         move to syscalls.list.
52116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
52117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
52118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
52119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
52121         * manual/install.texi (Running make install): Do not mention Linux
52122         kernel version for which pt_chown is not needed.
52123         (Linux): Do not mention problems with nscd with 2.0 kernels.
52124         * INSTALL: Regenerated.
52126 2012-05-23  Andreas Jaeger  <aj@suse.de>
52128         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
52129         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
52130         macro.
52131         * sysdeps/unix/sysv/linux/s390/bits/mman.h
52132         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
52133         * sysdeps/unix/sysv/linux/sh/bits/mman.h
52134         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
52135         * sysdeps/unix/sysv/linux/i386/bits/mman.h
52136         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
52137         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
52138         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
52139         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
52140         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
52141         * sysdeps/unix/sysv/linux/bits/in.h
52142         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
52144 2012-05-22  Roland McGrath  <roland@hack.frob.com>
52146         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
52147         (PREPARE_VERSION): Just use assert instead, it will be elided
52148         under [NDEBUG] anyway.
52150 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
52152         * sysdeps/unix/sysv/linux/Makefile: Include
52153         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
52154         (sysdep_routines): Remove sysctl.
52155         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
52156         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
52157         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
52158         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
52159         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
52161 2012-05-22  Andreas Jaeger  <aj@suse.de>
52163         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
52164         that pseudo_end is just ret and the stack pointer is correct also
52165         for static library in error case.
52167 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
52169         [BZ #14122]
52170         * nss/nsswitch.c (defconfig_entries): New variable.
52171         (__nss_database_lookup): Don't leak defconfig entries.
52172         (nss_parse_service_list): Don't leak on error paths.
52173         (free_database_entries): New function.
52174         (free_defconfig): New function.
52175         (free_mem): Move common code to free_database_entries.
52177 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
52179         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
52180         Add arch_prctl.
52181         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
52183         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
52184         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
52185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
52186         New macro.
52187         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
52188         (INTERNAL_SYSCALL_TYPES): Likewise.
52189         (LOAD_ARGS_TYPES_[1-6]): Likewise.
52190         (LOAD_REGS_TYPES_[1-6]): Likewise.
52191         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
52192         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
52194 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52196         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
52197         copysignl for GLIBC_2_0.
52198         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
52199         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
52200         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
52201         logbl for GLIBC_2_0.
52202         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
52203         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
52205 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
52207         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
52208         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52210         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
52211         Use "neg %eax".
52213         * time/mktime.c: Update copyright years.
52215 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
52217         mktime: merge comment-quoting-style change from gnulib
52218         * time/mktime.c: Quote 'like this' in comments.
52219         The GNU coding standards suggest that we no longer quote `like this',
52220         as "`" and "'" are typically rendered asymmetrically nowadays.
52221         The typical gnulib style is to quote 'like this' when quoting
52222         code, and "like this" when quoting English.
52224         * time/mktime.c (compile-command): Add "-I.".
52226         mktime: merge mktime-internal.h change from gnulib
52227         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
52229         mktime: merge time_r change from gnulib
52230         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
52232         mktime: merge DEBUG change from gnulib
52233         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
52234         case system <time.h> has a #define.
52236         mktime: merge <sys/types.h> change from gnulib
52237         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
52238         since <time.t> is now guaranteed to define time_t.
52240         mktime: merge HAVE_CONFIG_H change from gnulib
52241         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
52243 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
52245         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
52246         Use "neg %eax".
52248         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
52249         __rlim_t cast.
52250         (struct rusage): Use anonymous union to pad each field to
52251         __syscall_slong_t.
52253 2012-05-21  David S. Miller  <davem@davemloft.net>
52255         * Makefules (o-iterator): Remove .s cases.
52256         (compile-command.s): Delete.
52257         (COMPILE.s): Delete.
52258         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
52260 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
52262         * configure.in (libc_cv_predef_stack_protector): Only consider
52263         "foobar" and "__stack_chk_fail" lines in libc_undefs.
52264         * configure: Regenerated.
52266 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
52268         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
52269         New macro.  Use R*LP on int and pointer.
52270         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
52271         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
52272         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
52273         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
52275         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
52276         [__WORDSIZE_TIME64_COMPAT32] instead of
52277         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
52278         (struct utmp): Likewise.
52279         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
52280         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
52281         Renamed to ...
52282         (__WORDSIZE_TIME64_COMPAT32): This.
52283         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
52284         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
52285         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
52286         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
52287         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
52288         (__WORDSIZE_TIME64_COMPAT32): New macro.
52290 2012-05-21  Andreas Jaeger  <aj@suse.de>
52292         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
52293         only if [SHARED]. Add prototype for __wcschr_ia32.
52295 2012-05-21  Roland McGrath  <roland@hack.frob.com>
52297         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
52298         of %rbp unmolested in the jmp_buf while mangling the low bits.
52299         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
52300         unmolested high bits of %rbp while demangling the low bits.
52301         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
52303 2012-05-21  Andreas Jaeger  <aj@suse.de>
52305         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
52306         * sunrpc/svc_simple.c: Use it for registerrpc.
52307         * sunrpc/xcrypt.c: Use it for passwd2des.
52309         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
52311 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
52313         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
52314         Don't define if [__SYSCALL_WORDSIZE != 32].
52315         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
52316         New macro.
52318 2012-05-21  Bruno Haible  <bruno@clisp.org>
52319             Andreas Jaeger  <aj@suse.de>
52321         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
52322         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
52323         inptr and inend for must_buffer_ch.
52324         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
52325         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
52326         * stdio-common/Makefile (tests): Remove bug15.
52327         (bug15-ENV): Remove macro.
52328         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
52329         anymore.
52331 2012-05-19  Andreas Jaeger  <aj@suse.de>
52332             Roland McGrath  <roland@hack.frob.com>
52334         * manual/contrib.texi: Completely rewritten. It contains now an
52335         alphabetical list of contributors and their contributions.
52337 2012-05-21  Richard Henderson  <rth@twiddle.net>
52339         * misc/getauxval.c (__getauxval): Use unsigned long int.
52340         * misc/sys/auxv.h: Include <sys/cdefs.h>.
52341         (getauxval): Use unsigned long int.
52343 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
52345         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
52347 2012-05-21  Roland McGrath  <roland@hack.frob.com>
52349         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
52350         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
52351         __alignof__ (long double).
52353 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52357 2012-05-20  Richard Henderson  <rth@twiddle.net>
52359         * misc/getauxval.c: New file.
52360         * misc/sys/auxv.h: New file.
52361         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
52362         (routines): Add getauxval.
52363         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
52364         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
52365         * elf/dl-sysdep.c (_dl_auxv): Remove.
52366         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
52367         * elf/dl-support.c (_dl_auxv): New variable.
52368         (_dl_aux_init): Initialize it.
52369         * manual/startup.texi (Auxiliary Vector): New node.
52370         * sysdeps/generic/bits/hwcap.h: New file.
52371         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
52372         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
52373         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
52374         * sysdeps/sparc/sysdep.h: ... here.  Include it.
52375         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
52376         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
52377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52378         Update.
52379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
52380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
52381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
52382         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
52383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
52384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
52385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
52386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
52388 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52392 2012-05-19  David S. Miller  <davem@davemloft.net>
52394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52396 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
52398         [BZ #14123]
52399         * math/s_ccosh.c: Include <float.h>
52400         (__ccosh): Avoid internal overflow calculating sinh and cosh
52401         values before multiplying by sin and cos values.
52402         * math/s_ccoshf.c: Likewise.
52403         * math/s_ccoshl.c: Likewise.
52404         * math/s_csin.c: Likewise.
52405         * math/s_csinf.c: Likewise.
52406         * math/s_csinl.c: Likewise.
52407         * math/s_csinh.c: Likewise.
52408         * math/s_csinhf.c: Likewise.
52409         * math/s_csinhl.c: Likewise.
52410         * math/libm-test.inc (ccos_test): Add more tests.
52411         (ccosh_test): Likewise.
52412         (csin_test): Likewise.
52413         (csinh_test): Likewise.
52414         * sysdeps/i386/fpu/libm-test-ulps: Update.
52415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52417 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
52419         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
52420         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
52422         * sysdeps/x86_64/x32/_itoa.h: Add comment.
52424 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
52426         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
52427         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
52428         * sysdeps/powerpc/soft-fp/Versions: Likewise.
52429         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
52430         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
52431         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
52432         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
52433         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
52434         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
52435         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
52436         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
52437         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
52438         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
52439         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
52440         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
52441         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
52442         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
52443         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
52444         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
52445         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
52446         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
52447         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
52448         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
52449         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
52450         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
52451         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
52452         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
52453         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
52454         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
52455         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
52456         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
52458 2012-05-18  Andreas Jaeger  <aj@suse.de>
52460         * csu/.gitignore: Delete.
52462 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
52464         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
52465         (timex): Use __syscall_slong_t.
52467 2012-05-18  Andreas Jaeger  <aj@suse.de>
52468             Carlos O'Donell  <carlos_odonell@mentor.com>
52470         * manual/install.texi (Configuring and compiling): Update
52471         description about files modified in the source directory.
52472         * INSTALL: Regenerated.
52474 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
52476         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
52477         value.  Use "or" to set return value to -1.
52478         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
52479         negate return value.
52481 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52483         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
52484         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
52485         failure if the compiler has Graphite support disabled.
52486         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
52487         Likewise.
52488         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
52489         (CFLAGS-memmove.c): Likewise.
52490         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
52491         Likewise.
52493 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
52495         * sysdeps/x86_64/x32/_itoa.h: New file.
52497         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
52498         getdents system call only if kernel and user dirents have the
52499         same d_ino and d_off.
52501         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52502         LLONG_MAX != LONG_MAX.
52503         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52504         (_fitoa_word): Likewise.
52506         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
52507         years.
52508         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
52509         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
52510         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
52512         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
52513         include <bits/wordsize.h>.  Check __x86_64__ instead of
52514         __WORDSIZE.
52515         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
52516         if __x86_64__ is defined.  Use anonymous union on fpstate.
52518         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
52519         anonymous union.
52521 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
52523         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
52524         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
52525         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
52526         Refer to _rtld_local_ro instead of _rtld_global_ro.
52527         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
52528         Likewise.
52529         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
52530         Likewise.
52531         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
52532         Likewise.
52533         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
52534         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
52535         of _rtld_global, and rtld_progname instead of _dl_argv[0].
52537         [BZ #10882]
52538         * sysdeps/powerpc/powerpc32/dl-machine.c
52539         (__elf_machine_runtime_setup) [PROF]: Don't reference
52540         _dl_prof_resolve.
52542 2012-05-18  Andreas Jaeger  <aj@suse.de>
52544         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
52545         function only available for GCCs before 3.4 since GCC 3.4
52546         introduced a builtin.
52547         (lrint): Likewise.
52548         (llrintf): Likewise.
52549         (llrint): Likewise.
52550         (fmaxf): Likewise.
52551         (fmax): Likewise.
52552         (fminf): Likewise.
52553         (fmin): Likewise.
52554         (rint): Likewise.
52555         (rintf): Likewise.
52556         (nearbyint): Likewise.
52557         (nearbyintf): Likewise.
52558         (ceil): Likewise.
52559         (ceilf): Likewise.
52560         (floor): Likewise.
52561         (floorf): Likewise.
52563 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52565         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
52566         on both fields and cast pointer to __syscall_ulong_t.
52568         * bits/types.h (__fsword_t): New type.
52569         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
52570         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
52571         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52572         (__FSWORD_T_TYPE): Likewise.
52573         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52574         (__FSWORD_T_TYPE): Likewise.
52575         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52576         (__FSWORD_T_TYPE): Likewise.
52577         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
52578         (__FSWORD_T_TYPE): Likewise.
52579         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
52580         __SWORD_TYPE with __fsword_t.
52581         (statfs64): Likewise.
52583 2012-05-17  David S. Miller  <davem@davemloft.net>
52585         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
52587 2012-05-17  Andreas Jaeger  <aj@suse.de>
52589         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
52590         warning.
52592 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52594         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
52596 2012-05-17  Andreas Jaeger  <aj@suse.de>
52598         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
52599         when it is used.
52601 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
52603         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
52605 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52607         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
52608         * sysdeps/x86_64/tst-mallocalign1.c: New file.
52610 2012-05-17  Andreas Jaeger  <aj@suse.de>
52611             Carlos O'Donell  <carlos_odonell@mentor.com>
52613         [BZ #14059]
52614         * sysdeps/x86_64/multiarch/init-arch.h
52615         (bit_YMM_Usable): Rename to...
52616         (bit_AVX_Usable): ... this.
52617         (bit_FMA4_Usable): New macro.
52618         (bit_XMM_state): New macro.
52619         (bit_YMM_state): New macro.
52620         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
52621         [__ASSEMBLER__] (index_AVX_Usable): ... this.
52622         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
52623         (CPUID_OSXSAVE): New macro.
52624         (CPUID_AVX): New macro.
52625         (CPUID_FMA4): New macro.
52626         (index_YMM_Usable): Rename to...
52627         (index_AVX_Usable): ... this.
52628         (HAS_AVX): Use HAS_ARCH_FEATURE.
52629         (HAS_FMA4): Likewise.
52630         (HAS_YMM_USABLE): Remove.
52631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52632         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
52633         are present.
52634         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
52635         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
52636         * sysdeps/x86_64/multiarch/Makefile: Likewise.
52637         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
52638         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
52640 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
52642         * math/libm-test.c: Support platforms without multiple rounding modes.
52643         * math/bug-nextafter.c: Support platforms without FP exceptions.
52644         * math/bug-nexttoward.c: Likewise.
52645         * math/test-fenv.c: Likewise.
52646         * math/test-misc.c: Likewise.
52647         * stdlib/bug-getcontext.c: Likewise.
52649 2012-05-17  Andreas Jaeger  <aj@suse.de>
52651         * manual/examples/search.c (critter_cmp): Change signature to
52652         avoid warnings.
52653         * manual/string.texi (Collation Functions): Likewise.
52655 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52657         * bits/types.h: Fold copyright years.
52658         * bits/typesizes.h: Likewise.
52659         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
52660         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52661         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
52662         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
52663         * time/time.h: Likewise.
52665 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
52667         [BZ #208]
52668         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
52669         in instead of returning them.  Return void.
52670         (__libc_mallinfo): Accumulate over all arenas.
52671         (__malloc_stats): Adjust for change in int_mallinfo interface.
52673 2012-05-16  Roland McGrath  <roland@hack.frob.com>
52675         [BZ #10375]
52676         * configure.in (NM): Add AC_CHECK_TOOL for it.
52677         (libc_extra_cflags): New substituted variable.
52678         Check for -fstack-protector being used implicitly.
52679         * configure: Regenerated.
52680         * config.make.in (config-extra-cflags): New variable,
52681         gets @libc_extra_cflags@.
52682         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
52684         [BZ #10375]
52685         * configure.in: Check for _FORTIFY_SOURCE being predefined.
52686         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
52687         * configure: Regenerated.
52688         * config.make.in (CPPUNDEFS): New substituted variable.
52689         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
52690         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
52691         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
52693 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52695         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
52696         (mq_attr): Use __syscall_slong_t.
52698 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52700         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
52701         Check __x86_64__ instead of __WORDSIZE.
52702         (_STAT_VER_LINUX): Likewise.
52703         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
52704         __syscall_ulong_t and __syscall_slong_t.
52705         (stat64): Likewise.
52707 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52709         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
52711 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52713         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
52715 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52717         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
52718         __syscall_ulong_t.
52720         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
52721         include <bits/wordsize.h>.  Check __x86_64__ instead of
52722         __WORDSIZE.
52723         (greg_t): Use "__extension__ long long int" if __x86_64__ is
52724         defined.
52725         (mcontext_t): Replace "unsigned long" with "unsigned long long".
52727         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
52728         include <bits/wordsize.h>.  Check __x86_64__ instead of
52729         __WORDSIZE.
52730         (user_regs_struct): Use "__extension__ unsigned long long"
52731         instead of "unsigned long" if __x86_64__ is defined.
52732         (user): Likewise.  Pad after pointer field if __ILP32__ is
52733         defined.
52735 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
52737         * configure.in (makeinfo): Require version 4.5 or later.  Allow
52738         versions 5 to 9.
52739         * configure: Regenerated.
52740         * manual/install.texi (texinfo): Increase version requirement to
52741         4.5 or later.
52742         * INSTALL: Regenerated.
52744         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
52746 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52748         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
52750         * sysdeps/x86_64/x32/ffs.c: New file.
52752         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
52753         __syscall_ulong_t.
52754         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
52755         defined.  Use __syscall_ulong_t.
52756         (shminfo): Use __syscall_ulong_t.
52757         (shm_info): Likewise.
52759         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
52760         __syscall_ulong_t.
52762         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
52763         <bits/wordsize.h>.
52764         (msgqnum_t): Use __syscall_ulong_t.
52765         (msglen_t): Likewise.
52766         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
52767         __syscall_ulong_t.
52769         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
52770         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52772         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
52774         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
52775         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
52777         * sysvipc/sys/msg.h (msgbuf): Replace long int with
52778         __syscall_slong_t.
52780         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
52781         include <bits/wordsize.h>.  Check __x86_64__ instead of
52782         __WORDSIZE.
52784         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
52785         "unsigned long long int" if __x86_64__ is defined.
52786         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
52788         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
52789         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52790         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
52792         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
52793         <stdint.h>.
52794         (GET_PC): Cast to uintptr_t first.
52795         (GET_FRAME): Likewise.
52796         (GET_STACK): Likewise.
52798         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
52799         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
52800         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
52801         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
52802         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
52803         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
52804         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
52805         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
52806         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
52807         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
52808         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
52809         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
52810         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52811         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
52812         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
52813         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
52814         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
52815         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
52816         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
52817         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
52818         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
52819         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
52820         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
52821         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
52822         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
52823         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
52824         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
52825         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
52826         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
52828 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
52830         * Makerules (+depfiles): Also collect depfiles from .oS in
52831         $(extra-objs).
52832         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
52833         .oS, $(libnldbl-routines)).
52835         * Makerules (native-compile-mkdep-flags): Define.
52836         * sunrpc/Makefile (extra-objs): Add $(addprefix
52837         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
52838         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
52839         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
52840         calling $(make-target-directory).
52842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52844         * bits/types.h (__snseconds_t): Removed.
52845         * time/time.h (struct timespec): Replace __snseconds_t with
52846         __syscall_slong_t.
52847         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
52848         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
52849         Likewise.
52850         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52851         (__SNSECONDS_T_TYPE): Likewise.
52852         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52853         (__SNSECONDS_T_TYPE): Likewise.
52854         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52855         (__SNSECONDS_T_TYPE): Likewise.
52857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52859         * sysdeps/mach/hurd/bits/typesizes.h
52860         (__SYSCALL_SLONG_TYPE): New macro.
52861         (__SYSCALL_ULONG_TYPE): Likewise.
52863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52865         * bits/types.h (__syscall_slong_t): New type.
52866         (__syscall_ulong_t): Likewise.
52868         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
52869         (__SYSCALL_ULONG_TYPE): Likewise.
52870         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52871         (__SYSCALL_SLONG_TYPE): Likewise.
52872         (__SYSCALL_ULONG_TYPE): Likewise.
52873         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52874         (__SYSCALL_SLONG_TYPE): Likewise.
52875         (__SYSCALL_ULONG_TYPE): Likewise.
52876         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52877         (__SYSCALL_SLONG_TYPE): Likewise.
52878         (__SYSCALL_ULONG_TYPE): Likewise.
52880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52882         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
52883         Add sigaltstack-offsets.sym.
52884         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
52885         <sigaltstack-offsets.h>.
52886         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
52887         longjmp_msg pointer.
52888         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
52889         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
52890         signal stack.
52891         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52893 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
52895         * elf/stackguard-macros.h: Remove file.
52896         * sysdeps/generic/stackguard-macros.h: New file.
52897         * sysdeps/i386/stackguard-macros.h: Likewise.
52898         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52899         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52900         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52901         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52902         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52903         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52904         * sysdeps/x86_64/stackguard-macros.h: Likewise.
52905         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
52906         <elf/stackguard-macros.h>.
52908         [BZ #14109]
52909         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
52910         __aligned__ in attribute.
52911         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
52912         (gregset_t): Likewise.
52914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52916         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
52917         * sysdeps/x86_64/64/Implies-after: Here.  New file.
52918         * sysdeps/x86_64/x32/Implies-after: New file.
52920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52922         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
52923         and access return value for _dl_profile_fixup.  Use R10_LP to
52924         load frame size.
52926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52928         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
52930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52932         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
52933         * sysdeps/x86_64/x32/sysdep.h: New file.
52935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52937         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
52938         * sysdeps/x86_64/setjmp.S: Likewise.
52940 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52942         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
52943         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
52944         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52945         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52946         remove unused global constant.
52948 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
52950         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52951         include of <not-cancel.h>.
52953 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52955         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52957 2012-05-15  Jeff Law  <law@redhat.com>
52958             Andreas Jaeger  <aj@suse.de>
52960         [BZ #13594]
52961         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52962         out from...
52963         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52964         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52965         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52966         code changing __hst_map_handle.map.
52968 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52970         * configure.in (sysnames): Look for Implies-before and Implies-after
52971         files.
52972         * configure: Regenerated.
52974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52976         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52977         8-byte data alignment with LP_SIZE alignment.
52979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52981         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52982         into R10_LP.
52984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52986         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52990         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52991         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52992         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52993         Likewise.
52994         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52998         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52999         (stackinfo_sub_sp): Likewise.
53001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53003         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
53004         RAX_LP.
53006 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53008         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
53009         into R*_LP.
53011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53013         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
53014         sizes into R*_LP.
53016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53018         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
53020 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53022         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
53023         into R11_LP and load __x86_64_shared_cache_size_half into
53024         R8_LP.
53026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
53028         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
53029         R8_LP.
53031 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53033         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
53034         logb for POWER7.
53035         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
53036         logbf for POWER7.
53037         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
53038         logbl for POWER7.
53039         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
53040         powerpc32/power7/fpu/s_logb.c via #include.
53041         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
53042         powerpc32/power7/fpu/s_logbf.c via #include.
53043         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
53044         powerpc32/power7/fpu/s_logbl.c via #include.
53046 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
53048         * README.libm: Remove file.
53050 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53052         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
53053         count for x32.  Use R*_LP and omit operand-size suffix.
53055 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53057         * shlib-versions: Move x86_64-.*-linux.* entries to ...
53058         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
53059         * sysdeps/x86_64/x32/shlib-versions: New file.
53061 2012-05-14  Roland McGrath  <roland@hack.frob.com>
53063         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
53064         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
53065         Use _dl_fatal_printf instead.
53067 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
53069         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
53070         set if not set by the user.  Do not allow for being unset.
53071         * sysdeps/unix/sysv/linux/configure: Regenerated.
53073 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53075         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
53076         the `q' suffix from lea and replace .quad with ASM_ADDR.
53078 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53080         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
53081         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
53082         instead of $17.
53083         (PTR_DEMANGLE): Likewise.
53085 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53087         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
53088         (LP_OP): Likewise.
53089         (ASM_ADDR): Likewise.
53090         (RAX_LP): Likewise.
53091         (RBP_LP): Likewise.
53092         (RBX_LP): Likewise.
53093         (RCX_LP): Likewise.
53094         (RDI_LP): Likewise.
53095         (RSI_LP): Likewise.
53096         (RSP_LP): Likewise.
53097         (R8_LP): Likewise.
53098         (R9_LP): Likewise.
53099         (R10_LP): Likewise.
53100         (R10_LP): Likewise.
53101         (R11_LP): Likewise.
53102         (R12_LP): Likewise.
53103         (R13_LP): Likewise.
53104         (R14_LP): Likewise.
53105         (R15_LP): Likewise.
53107 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53109         * sysdeps/x86_64/x32/dl-machine.h: New file.
53111 2012-05-14  Andreas Jaeger  <aj@suse.de>
53113         * manual/Makefile (subdir): Remove export of subdir.
53114         (all): Remove target.
53115         (.PHONY): Remove all from list.
53116         (mkinstalldirs): Remove.
53117         (.PHONY): Remove installdirs from list.
53118         ($(inst_infodir)/libc.info): Use make-target-directory.
53119         (installdirs): Remove.
53120         (subdir_%): Remove.
53121         (glibc-targets): Remove.
53122         (lib): Remove.
53123         (stubs): Remove.
53124         ($(objpfx)stubs ../po/manual.pot): Remove.
53125         ($(objpfx)stamp%): Remove.
53126         (make-target-directory): Remove.
53127         (subdir_install): Remove.
53128         (routines): Remove.
53129         (aux): Remove.
53130         (sources): Remove.
53131         (objects): Remove.
53132         (headers): Remove.
53134         [BZ #13750]
53135         * manual/.gitignore: Remove, it's not needed anymore.
53136         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
53137         all files in it.
53138         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
53139         directory.
53140         (texis): Renamed to $(objpfx)texis.
53141         (texis-path): New, contains path to generated files.
53142         (chapters.%): Use texis-path for complete path, add extra argument
53143         libc-texinfo.sh.
53144         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
53145         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
53146         (summary,texi, stamp-summary): Use complete path of
53147         files. Generate files in build dir.
53148         (dir-add.texi): Build in build dir.
53149         (libm-err.texi,stamp-libm-err): Likewise.
53150         (version.texi, stamp-version): Likewise.
53151         (.%c.texi): Likewise.
53152         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
53153         (mostlyclean): Remove target.
53154         (realclean): Remove target.
53155         (generated): Add new variable with contents from mostlyclean and
53156         realclean, remove entries duplicated in common-mostlyclean, add
53157         stamp-libm-err and stamp-version.
53158         (generated-dirs): Add libc directory.
53159         ($(inst_infodir)/libc.info): Install files from build dir.
53161         * manual/install.texi (Configuring and compiling): Adjust since
53162         the info files are not part of the tar ball anymore.
53164 2012-05-14  Andreas Jaeger  <aj@suse.de>
53166         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
53167         variable.
53169 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
53171         [BZ #13717]
53172         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
53173         to 2.2.0 where earlier.
53174         * sysdeps/unix/sysv/linux/configure: Regenerated.
53175         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
53176         Remove conditional code.
53177         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
53178         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
53179         Remove conditional code.
53180         [!__NR_lchown]: Likewise.
53181         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
53182         [__NR_lchown]: Likewise.
53183         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
53184         comment referencing __ASSUME_LCHOWN_SYSCALL.
53185         * sysdeps/unix/sysv/linux/i386/sigaction.c
53186         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53187         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53188         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
53189         Remove conditional code.
53190         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
53191         (__protocol_available): Remove #if 0 code.
53192         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
53193         conditional code.
53194         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
53195         * sysdeps/unix/sysv/linux/kernel-features.h
53196         (__ASSUME_GETCWD_SYSCALL): Don't define.
53197         (__ASSUME_REALTIME_SIGNALS): Likewise.
53198         (__ASSUME_PREAD_SYSCALL): Likewise.
53199         (__ASSUME_PWRITE_SYSCALL): Likewise.
53200         (__ASSUME_POLL_SYSCALL): Likewise.
53201         (__ASSUME_LCHOWN_SYSCALL): Likewise.
53202         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
53203         non-SPARC.
53204         (__ASSUME_SIOCGIFNAME): Don't define.
53205         (__ASSUME_MSG_NOSIGNAL): Likewise.
53206         (__ASSUME_SENDFILE): Define unconditionally.
53207         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
53208         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
53209         conditional code.
53210         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
53211         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
53212         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
53213         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
53214         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
53215         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
53216         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
53217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
53218         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
53219         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
53221         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
53222         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
53224         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53225         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
53227         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53228         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
53230         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
53231         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
53233         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
53234         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
53236         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53237         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
53239         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53240         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53241         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
53242         Remove conditional code.
53243         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53244         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
53245         Remove conditional code.
53246         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53247         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
53248         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
53249         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
53250         Remove conditional code.
53251         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53252         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
53253         Remove conditional code.
53254         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53255         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
53256         Remove conditional code.
53257         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53258         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
53259         Remove conditional code.
53260         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53261         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
53262         Remove conditional code.
53263         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53264         * sysdeps/unix/sysv/linux/sh/pwrite64.c
53265         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53266         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53267         * sysdeps/unix/sysv/linux/sigaction.c
53268         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53269         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53270         * sysdeps/unix/sysv/linux/sigpending.c
53271         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53272         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53273         * sysdeps/unix/sysv/linux/sigprocmask.c
53274         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53275         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53276         * sysdeps/unix/sysv/linux/sigsuspend.c
53277         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53278         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53279         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
53280         (__libc_missing_rt_sigs): Remove.
53281         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
53282         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
53283         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
53284         Remove conditional code.
53285         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
53286         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
53287         return 1.
53288         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
53289         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
53290         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
53291         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
53293 2012-05-14  Andreas Jaeger  <aj@suse.de>
53295         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
53296         it's not used in glibc.
53297         (__coshm1): Likewise.
53298         (__acosh1p): Likewise.
53299         (__sgn): Likewise.
53301         * manual/string.texi (Copying and Concatenation): Add missing
53302         variable in concat example.
53303         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53305 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53307         [BZ #14103]
53308         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
53309         __builtin_clzl with __builtin_clzll.
53311 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53313         [BZ #14104]
53314         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
53315         libc_freeres_ptr.
53317 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53319         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
53320         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
53321         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
53322         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
53324 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
53326         * NEWS: Update ia64 info.
53328 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
53330         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
53331         used as bcopy.
53333 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
53335         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
53336         * sysdeps/unix/syscalls.list (dup3): Likewise.
53337         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
53338         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
53340 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
53342         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
53343         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
53345 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
53347         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
53348         thread pointer.
53349         (TLS_IE): Use mov/add instead of movq/addq to load thread
53350         pointer.
53351         (TLS_GD_PREFIX): New.
53352         (TLS_GD): Use it.
53354 2012-05-11  David S. Miller  <davem@davemloft.net>
53356         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
53357         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
53358         (_FPU_SETCW): Likewise.
53360 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53362         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
53363         is 32-byte aligned.
53365 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
53367         [BZ #11837]
53368         * iconvdata/gb18030.c: Update tables.
53369         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
53370         characters specially.
53371         (BODY for TO_LOOP): Add encoding of missing ranges.
53373 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
53375         [BZ #13673]
53376         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
53377         * sysdeps/mach/hurd/dup3.c: Likewise.
53378         * sysdeps/mach/hurd/readlinkat.c: Likewise.
53379         * sysdeps/powerpc/memmove.c:: Likewise.
53381 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53383         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
53384         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
53386 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53388         * elf/elf.h (R_X86_64_RELATIVE64): New.
53389         (R_X86_64_NUM): Updated.
53390         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53391         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
53392         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
53393         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
53394         tst-quad1pie tst-quad2pie
53395         (modules-names): Add tst-quadmod1 tst-quadmod2.
53396         ($(objpfx)tst-quad1): New dependency.
53397         ($(objpfx)tst-quad2): Likewise.
53398         ($(objpfx)tst-quad1pie): Likewise.
53399         ($(objpfx)tst-quad2pie): Likewise.
53400         * sysdeps/x86_64/tst-quad1.c: New file.
53401         * sysdeps/x86_64/tst-quad1pie.c: New file.
53402         * sysdeps/x86_64/tst-quad2.c: Likewise.
53403         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
53404         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
53405         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
53406         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
53407         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
53409 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53411         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
53412         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
53413         * streams/stropts.h (t_scalar_t): Define type.
53415         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
53416         (_PATH_PRESERVE): Set to "/var/lib".
53417         (_PATH_RWHODIR): Set to "/var/spool/rwho".
53419         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
53420         instead of int.
53422         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
53423         if __dir_mkfile succeeded.
53425         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
53426         checking for _hurd_dtablesize.  Unlock it right after having
53427         finished _hurd_dtable allocation.
53429 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53431         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
53432         * sysdeps/mach/hurd/configure: Regenerated.
53433         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
53434         special-casing to...
53435         * sysdeps/gnu/configure.in: ... this new file.
53436         * sysdeps/unix/sysv/linux/configure: Regenerated.
53437         * sysdeps/gnu/configure: New generated file.
53439         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
53440         for Linux: use nsec instead of usec, as well as:
53441         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
53442         members of type struct timespec.
53443         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
53444         New macros.
53445         (struct stat64): Likewise.
53446         (_STATBUF_ST_NSEC): New macro.
53447         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
53449         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53450         __strtoul_internal rather than strtoul.
53452 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53454         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
53455         and reject them.
53457 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53459         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
53460         which preserves existing values.
53461         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
53463 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53465         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
53466         TIMEOUT values.  Return EINVAL for NFDS values either negative or
53467         greater than FD_SETSIZE.
53469 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53471         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
53472         allocated, call __vm_protect to finish enabling the existing space, and
53473         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
53474         allocate the remainder.
53476 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53478         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
53479         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
53481 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53483         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
53484         sysdeps/mach/hurd/readlink.c.
53486         * posix/tst-sysconf.c (posix_options): Only use
53487         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
53488         _POSIX_SYNCHRONIZED_IO when they are defined
53489         * sysdeps/mach/hurd/bits/posix_opt.h:
53490         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
53491         (_XOPEN_REALTIME): Undefine macro.
53492         (_XOPEN_REALTIME_THREADS): Undefine macro.
53493         (_XOPEN_SHM): Undefine macro.
53494         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
53495         macro to -1.
53496         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
53497         macro to -1.
53498         (_POSIX_ASYNC_IO): Undefine macro.
53499         (_POSIX_PRIORITIZED_IO): Undefine macro.
53500         (_POSIX_SPIN_LOCKS): Define macro to -1.
53502         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
53503         SA_NODEFER, SA_RESETHAND.
53504         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
53505         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
53506         F_DUPFD_CLOEXEC.
53508 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53510         * elf/Makefile (pldd-modules): Define unconditionally.
53512 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53514         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
53516 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53518         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
53519         Return ENOENT when name is empty.
53520         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
53522 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53524         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
53526         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
53528 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53530         Fix mlock in all cases except non-readable pages.
53531         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
53532         instead of VM_PROT_ALL as parameter to __vm_wire function.
53534         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
53535         (__mkdir): When path is `/', just fail with EEXIST.
53536         * sysdeps/mach/hurd/mkdirat.c: Likewise.
53538 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53540         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
53541         <sys/uio.h> (for writev).
53542         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
53543         and <sys/param.h> (for MIN).
53545 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53547         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
53548         REQUESTED_TIME.  Properly set the remaining time and return EINTR
53549         if interrupted.
53551 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53553         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
53554         Depend on against $(link-rpcuserlibs).
53556 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53558         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
53559         (__libc_stack_end): Do not use attribute_relro.
53560         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
53561         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
53562         to libthread-provided value.
53563         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
53564         attribute_relro.
53566 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53568         [BZ #3748]
53569         * bits/libc-lock.h (__libc_once_get): New macro.
53570         * sysdeps/mach/bits/libc-lock.h: Likewise.
53571         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
53572         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
53573         instead of using implementation details.
53575         * libio/fileops.c: Unconditionally include <kernel-features.h>.
53576         * libio/freopen.c: Likewise.
53577         * libio/freopen64.c: Likewise.
53578         * misc/syslog.c: Likewise.
53579         * nscd/connections.c: Likewise.
53580         * nscd/netgroupcache.c: Likewise.
53581         * sysdeps/posix/getcwd.c: Likewise.
53583 2012-05-10  Roland McGrath  <roland@hack.frob.com>
53585         * math/w_ilogbf.c: Add #include <limits.h>.
53587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53589         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
53590         path instead of returning without unlocking.
53592         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
53593         immediate-write ioctls.
53594         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
53596 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53598         * sysdeps/mach/hurd/i386/init-first.c (init): Use
53599         __builtin_frame_address instead of making assumptions about the
53600         location of the return address relative to DATA.  Force early load of
53601         the return address.
53602         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
53603         __builtin_frame_address.
53605         dup3 for GNU Hurd.
53606         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
53607         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
53608         implement dup3 and do some further code clean-ups.
53609         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
53610         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
53612 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53614         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
53616         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
53617         HURD_CRITICAL_END around holding _hurd_dtable_lock.
53618         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
53619         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
53620         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
53621         d->port.lock.
53623         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
53624         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
53625         when handler == SIG_ERR, not when handler != SIG_ERR.
53627 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53629         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
53630         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
53631         definitions.
53633         accept4 for GNU Hurd.
53634         * include/sys/socket.h (__libc_accept4): New prototype.
53635         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
53636         to implement __libc_accept4.
53637         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
53638         __libc_accept4.
53639         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
53641         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
53642         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
53643         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
53644         signal-defines.sym.
53646 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53648         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
53650 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53652         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
53653         assertion on O_CLOEXEC flag.
53654         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
53655         * hurd/intern-fd.c: Likewise.
53656         * hurd/port2fd.c: Likewise.
53658 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53660         [BZ #3906]
53661         * bits/in.h (IPV6_PKTINFO): Define new macro.
53662         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
53664 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53666         [BZ #13954]
53667         [BZ #13955]
53668         [BZ #13956]
53669         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
53670         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53671         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
53672         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53673         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53674         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53675         * math/libm-test.inc (logb_test) : Additional logb tests.
53677 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
53678             Andreas Jaeger  <aj@suse.de>
53680         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
53681         * configure: Regenerated.
53682         * config.h.in (LINK_OBSOLETE_RPC): New macro.
53683         * config.make.in (link-obsolete-rpc): New substituted variable.
53684         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
53685         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
53686         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53687         (shared-only-routines): Don't set it under [link-obsolete-rpc],
53688         so that libc.a contains the symbols.
53689         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53690         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
53691         * sunrpc/auth_none.c: Likewise.
53692         * sunrpc/auth_unix.c: Likewise.
53693         * sunrpc/authdes_prot.c: Likewise.
53694         * sunrpc/authuxprot.c: Likewise.
53695         * sunrpc/clnt_gen.c: Likewise.
53696         * sunrpc/clnt_perr.c: Likewise.
53697         * sunrpc/clnt_raw.c: Likewise.
53698         * sunrpc/clnt_simp.c: Likewise.
53699         * sunrpc/clnt_tcp.c: Likewise.
53700         * sunrpc/clnt_udp.c: Likewise.
53701         * sunrpc/clnt_unix.c: Likewise.
53702         * sunrpc/des_crypt.c: Likewise.
53703         * sunrpc/des_soft.c: Likewise.
53704         * sunrpc/get_myaddr.c: Likewise.
53705         * sunrpc/key_call.c: Likewise.
53706         * sunrpc/key_prot.c: Likewise.
53707         * sunrpc/netname.c: Likewise.
53708         * sunrpc/pm_getmaps.c: Likewise.
53709         * sunrpc/pm_getport.c: Likewise.
53710         * sunrpc/pmap_clnt.c: Likewise.
53711         * sunrpc/pmap_prot.c: Likewise.
53712         * sunrpc/pmap_prot2.c: Likewise.
53713         * sunrpc/pmap_rmt.c: Likewise.
53714         * sunrpc/publickey.c: Likewise.
53715         * sunrpc/rpc_cmsg.c: Likewise.
53716         * sunrpc/rpc_common.c: Likewise.
53717         * sunrpc/rpc_dtable.c: Likewise.
53718         * sunrpc/rpc_prot.c: Likewise.
53719         * sunrpc/rpc_thread.c: Likewise.
53720         * sunrpc/rtime.c: Likewise.
53721         * sunrpc/svc.c: Likewise.
53722         * sunrpc/svc_auth.c: Likewise.
53723         * sunrpc/svc_raw.c: Likewise.
53724         * sunrpc/svc_run.c: Likewise.
53725         * sunrpc/svc_tcp.c: Likewise.
53726         * sunrpc/svc_udp.c: Likewise.
53727         * sunrpc/svc_unix.c: Likewise.
53728         * sunrpc/svcauth_des.c: Likewise.
53729         * sunrpc/xcrypt.c: Likewise.
53730         * sunrpc/xdr.c: Likewise.
53731         * sunrpc/xdr_array.c: Likewise.
53732         * sunrpc/xdr_float.c: Likewise.
53733         * sunrpc/xdr_intXX_t.c: Likewise.
53734         * sunrpc/xdr_mem.c: Likewise.
53735         * sunrpc/xdr_rec.c: Likewise.
53736         * sunrpc/xdr_ref.c: Likewise.
53737         * sunrpc/xdr_sizeof.c: Likewise.
53738         * sunrpc/xdr_stdio.c: Likewise.
53740 2012-05-10  Roland McGrath  <roland@hack.frob.com>
53742         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
53743         change.  Update copyright years.
53745 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53747         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
53749 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
53750             Joseph Myers  <joseph@codesourcery.com>
53751             Paul Pluzhnikov  <ppluzhnikov@google.com>
53753         [BZ #14012]
53754         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
53755         requiring rpcgen.
53756         [cross-compiling] (extra-libs): Likewise.
53757         [cross-compiling] (extra-libs-others): Likewise.
53758         [cross-compiling] (librpcsvc-routines): Likewise.
53759         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
53760         [cross-compiling] (omit-deps): Likewise.
53761         (sunrpc-CPPFLAGS): New variable.
53762         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
53763         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
53764         (cross-rpcgen-objs): New variable.
53765         (extra-objs): Append $(cross-rpcgen-objs).
53766         ($(cross-rpcgen-objs)): New rule.
53767         ($(objpfx)cross-rpcgen): Likewise.
53768         (rpcgen-cmd): Define to use $(built-program-file).  Expand
53769         comment.
53770         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
53771         ($(objpfx)x%.stmp): Likewise.
53772         * sunrpc/proto.h [IS_IN_build] (_): Define.
53773         [IS_IN_build] (_libc_intl_domainname): Likewise.
53775 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53777         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
53778         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
53779         and R_X86_64_TPOFF64.
53781 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53783         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
53784         sysdeps/unix/sysv/syscalls.list.
53785         (stime): Likewise.
53786         (utime): Likewise.
53787         * sysdeps/unix/sysv/syscalls.list: Remove file.
53789 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
53791         [BZ #3440]
53792         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
53793         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
53794         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
53795         (__LC_IDENTIFICATION): Make these macros useful in #if
53796         expressions, as required by C99.
53798 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
53800         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53801         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
53802         after this.
53804 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
53806         * stdlib/longlong.h: Updated from GCC.
53808 2012-05-09  Andreas Jaeger  <aj@suse.de>
53810         * nscd/nscd.c (run_modes): Make named enum, reorder so that
53811         default is first entry.
53812         (run_mode): Set type.
53813         (main): Remove informal message about syslog.
53814         (options): Fix typo.
53816         [BZ #14053]
53817         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
53818         to asm.
53819         (lrint): Likewise.
53820         (llrintf): Likewise.
53821         (llrint): Likewise.
53822         (rint): Likewise.
53823         (rintf): Likewise.
53824         (nearbyint): Likewise.
53825         (nearbyintf): Likewise.
53827 2012-05-09  Andreas Jaeger  <aj@suse.de>
53828             Pedro Alves  <palves@redhat.com>
53830         * nscd/nscd.c (run_mode): Use enum.
53831         (main): Cleanup coding style issue.
53833 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
53834             Andreas Jaeger  <aj@suse.de>
53836         * nscd/nscd.c (go_background): Replaced with...
53837         (run_mode): ... this.
53838         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
53839         (options): Add -F --foreground.
53840         (main): Implement it.
53841         (parse_opt): Parse it.
53843 2012-05-09  Andreas Jaeger  <aj@suse.de>
53845         [BZ #14083]
53846         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
53847         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
53848         -Wconversion warning.
53849         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53850         Likewise.
53852 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
53854         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
53855         == 0.
53856         (LC_ALL): Use macro-int-constant.
53857         (LC_COLLATE): Likewise.
53858         (LC_CTYPE): Likewise.
53859         (LC_MESSAGES): Likewise.
53860         (LC_MONETARY): Likewise.
53861         (LC_NUMERIC): Likewise.
53862         (LC_TIME): Likewise.
53863         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
53864         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53865         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53866         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
53867         Specify type.
53868         [C99-based standards] (float_t): Expect type.
53869         [C99-based standards] (double_t): Expect type.
53870         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
53871         type.
53872         [C99-based standards] (HUGE_VALL): Likewise.
53873         [C99-based standards] (INFINITY): Likewise.
53874         [C99-based standards] (NAN): Likewise.
53875         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
53876         [C99-based standards] (FP_NAN): Likewise.
53877         [C99-based standards] (FP_NORMAL): Likewise.
53878         [C99-based standards] (FP_SUBNORMAL): Likewise.
53879         [C99-based standards] (FP_ZERO): Likewise.
53880         [C99-based standards] (FP_FAST_FMA): Use
53881         optional-macro-int-constant.  Specify type.  Require == 1.
53882         [C99-based standards] (FP_FAST_FMAF): Likewise.
53883         [C99-based standards] (FP_FAST_FMAL): Likewise.
53884         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53885         [C99-based standards] (FP_ILOGBNAN): Likewise.
53886         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
53887         Specify type.
53888         [C99-based standards] (MATH_ERREXCEPT): Likewise.
53889         [C99-based standards] (math_errhandling): Specify type.
53890         [ISO99 || ISO11] (signgam): Do not allow.
53891         [non-C99-based standards] (copysignf): Do not allow.
53892         [non-C99-based standards] (exp2f): Likewise.
53893         [non-C99-based standards] (log2f): Likewise.
53894         [non-C99-based standards] (modff): Allow.
53895         [non-C99-based standards] (erff): Do not allow.
53896         [non-C99-based standards] (erfcf): Likewise.
53897         [non-C99-based standards] (gammaf): Likewise.
53898         [non-C99-based standards] (hypotf): Likewise.
53899         [non-C99-based standards] (j0f): Likewise.
53900         [non-C99-based standards] (j1f): Likewise.
53901         [non-C99-based standards] (jnf): Likewise.
53902         [non-C99-based standards] (lgammaf): Likewise.
53903         [non-C99-based standards] (tgammaf): Likewise.
53904         [non-C99-based standards] (y0f): Likewise.
53905         [non-C99-based standards] (y1f): Likewise.
53906         [non-C99-based standards] (ynf): Likewise.
53907         [non-C99-based standards] (isnanf): Likewise.
53908         [non-C99-based standards] (acoshf): Likewise.
53909         [non-C99-based standards] (asinhf): Likewise.
53910         [non-C99-based standards] (atanhf): Likewise.
53911         [non-C99-based standards] (cbrtf): Likewise.
53912         [non-C99-based standards] (expm1f): Likewise.
53913         [non-C99-based standards] (ilogbf): Likewise.
53914         [non-C99-based standards] (log1pf): Likewise.
53915         [non-C99-based standards] (logbf): Likewise.
53916         [non-C99-based standards] (nextafterf): Likewise.
53917         [non-C99-based standards] (remainderf): Likewise.
53918         [non-C99-based standards] (rintf): Likewise.
53919         [non-C99-based standards] (scalbf): Likewise.
53920         [non-C99-based standards] (copysignl): Likewise.
53921         [non-C99-based standards] (exp2l): Likewise.
53922         [non-C99-based standards] (log2l): Likewise.
53923         [non-C99-based standards] (modfl): Allow.
53924         [non-C99-based standards] (erfl): Do not allow.
53925         [non-C99-based standards] (erfcl): Likewise.
53926         [non-C99-based standards] (gammal): Likewise.
53927         [non-C99-based standards] (hypotl): Likewise.
53928         [non-C99-based standards] (j0l): Likewise.
53929         [non-C99-based standards] (j1l): Likewise.
53930         [non-C99-based standards] (jnl): Likewise.
53931         [non-C99-based standards] (lgammal): Likewise.
53932         [non-C99-based standards] (tgammal): Likewise.
53933         [non-C99-based standards] (y0l): Likewise.
53934         [non-C99-based standards] (y1l): Likewise.
53935         [non-C99-based standards] (ynl): Likewise.
53936         [non-C99-based standards] (isnanl): Likewise.
53937         [non-C99-based standards] (acoshl): Likewise.
53938         [non-C99-based standards] (asinhl): Likewise.
53939         [non-C99-based standards] (atanhl): Likewise.
53940         [non-C99-based standards] (cbrtl): Likewise.
53941         [non-C99-based standards] (expm1l): Likewise.
53942         [non-C99-based standards] (ilogbl): Likewise.
53943         [non-C99-based standards] (log1pl): Likewise.
53944         [non-C99-based standards] (logbl): Likewise.
53945         [non-C99-based standards] (nextafterl): Likewise.
53946         [non-C99-based standards] (remainderl): Likewise.
53947         [non-C99-based standards] (rintl): Likewise.
53948         [non-C99-based standards] (scalbl): Likewise.
53949         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53950         [non-C99-based standards] (FP_*): Do not allow.
53951         [C99-based standards] (FP_*): Change to
53952         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53953         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53954         allow.
53955         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53956         (SIG_ERR): Likewise.
53957         [X/Open-based standards] (SIG_HOLD): Likewise.
53958         (SIG_IGN): Likewise.
53959         (SIGABRT): Use macro-int-constant.  Specify type.  Require
53960         positive value.
53961         (SIGFPE): Likewise.
53962         (SIGILL): Likewise.
53963         (SIGINT): Likewise.
53964         (SIGSEGV): Likewise.
53965         (SIGTER): Likewise.
53966         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53967         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53968         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53969         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53970         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53971         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53972         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53973         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53974         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53975         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53976         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53977         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53978         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53979         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53980         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53981         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53982         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53983         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53984         [X/Open-based standards] (SIGTRAP): Likewise.
53985         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53986         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53987         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53988         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53989         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53990         allow.
53992 2012-05-08  Ian Wienand  <ianw@vmware.com>
53994         [BZ #14080]
53995         * time/tzset.c (__tzset_parse_tz): Update default rules for
53996         daylight time changes in the Energy Policy Act of 2005.
53998 2012-05-09  Andreas Jaeger  <aj@suse.de>
54000         [BZ #13983]
54001         * elf/ldconfig.c (parse_conf): Change string to make clear that
54002         ldconfig only issued a warning if ld.so.conf does not exist.
54004 2012-05-08  David S. Miller  <davem@davemloft.net>
54006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
54007         movxtod instead of popping the value on the stack.
54009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54011 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
54013         * config.h.in: Add HAVE_ARM_PCS_VFP.
54015 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
54017         [BZ #13979]
54018         * include/features.h: Warn if user requests __FORTIFY_SOURCE
54019         checking but the checks are disabled for any reason.
54021 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
54023         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
54024         and ELF64_R_TYPE with ELFW(R_TYPE).
54026 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
54028         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
54029         (ulimit): Likewise.
54031         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
54032         (settimeofday): Likewise.
54034 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
54036         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
54037         a struct th_u2 inside the union, and move tu_block/tu_code into
54038         a new th_u3 union of tu_block/tu_code inside of that.  Move
54039         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
54040         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
54041         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
54042         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
54043         (th_stuff): Change to th_u1.tu_stuff.
54044         (th_data): Define.
54045         (th_msg): Change to th_u1.th_u2.tu_data.
54047 2012-05-07  David S. Miller  <davem@davemloft.net>
54049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54051         [BZ #14074]
54052         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
54053         (SETUP_PIC_REG): Use it.
54054         (SETUP_PIC_REG_LEAF): Use it.
54056 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
54058         [BZ #13885]
54059         [BZ #13923]
54060         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
54061         USE_AS_EXPM1L.
54062         (EXPL_FINITE): Likewise.
54063         (FLDLOG): Likewise.
54064         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
54065         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
54066         e_expl.S.
54067         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
54068         USE_AS_EXPM1L.
54069         (EXPL_FINITE): Likewise.
54070         (FLDLOG): Likewise.
54071         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
54072         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
54073         e_expl.S.
54074         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
54075         test of -max_value argument for long double.
54076         * sysdeps/i386/fpu/libm-test-ulps: Update.
54077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54079 2012-05-06  David S. Miller  <davem@davemloft.net>
54081         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
54082         quad soft-float symbols whose references which are compiler
54083         generated.
54084         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54086 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
54088         [BZ #13884]
54089         [BZ #13914]
54090         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
54091         USE_AS_EXP10L.
54092         (EXPL_FINITE): Likewise.
54093         (FLDLOG): Likewise.
54094         (c0): Likewise.
54095         (c1): Likewise.
54096         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
54097         Adjust comments for base varying.
54098         (__expl_finite): Change alias to EXPL_FINITE.
54099         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
54100         e_expl.S.
54101         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
54102         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
54103         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
54104         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
54105         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
54106         USE_AS_EXP10L.
54107         (EXPL_FINITE): Likewise.
54108         (FLDLOG): Likewise.
54109         (c0): Likewise.
54110         (c1): Likewise.
54111         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
54112         Adjust comments for base varying.
54113         (__expl_finite): Change alias to EXPL_FINITE.
54114         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
54115         tests for bugs.
54116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54118         [BZ #14064]
54119         * math/libm-test.inc (check_float_internal): Correct ulp
54120         calculation for subnormal expected results.
54122 2012-05-06  Andreas Jaeger  <aj@suse.de>
54124         * Makeconfig (+math-flags): New, set to -frounding-math.
54125         (+cflags): Add +math-flags so that all of glibc gets compiled with
54126         it.
54128         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
54130 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
54132         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
54133         Disable one test.
54135         [BZ #13787]
54136         [BZ #13922]
54137         [BZ #14036]
54138         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
54139         (__ieee754_expl): Allow for and saturate large arguments.
54140         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
54141         (u_threshold): Likewise.
54142         (__exp): Call __ieee754_exp before checking for overflow and
54143         underflow.
54144         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
54145         (u_threshold): Likewise.
54146         (__expf): Call __ieee754_expf before checking for overflow and
54147         underflow.
54148         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
54149         (u_threshold): Likewise.
54150         (__expl): Call __ieee754_expl before checking for overflow and
54151         underflow.
54152         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
54153         (__ieee754_expl): Allow for and saturate large arguments.
54154         * math/libm-test.inc (exp_test): Add another test.  Do not allow
54155         missing overflow exception on overflow.
54156         (expm1_test): Do not allow missing overflow exception on overflow.
54158         * sysdeps/i386/fpu/e_expl.c: Move to ...
54159         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
54160         rather than using inline asm.
54161         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
54162         * sysdeps/x86_64/fpu/e_expl.S: Copy from
54163         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
54165         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
54166         (nice): Likewise.
54167         (poll): Likewise.
54168         (signal): Likewise.
54169         (time): Likewise.
54170         (times): Likewise.
54172 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
54174         * sysdeps/unix/syscalls.list (adjtime): Add entry from
54175         sysdeps/unix/common/syscalls.list.
54176         (fchmod): Likewise.
54177         (fchown): Likewise.
54178         (ftruncate): Likewise.
54179         (getrusage): Likewise.
54180         (gettimeofday): Likewise.
54181         (setpgid): Likewise.
54182         (setregid): Likewise.
54183         (setreuid): Likewise.
54184         (sigaction): Likewise.
54185         (truncate): Likewise.
54186         (vhangup): Likewise.
54187         * sysdeps/unix/common/syscalls.list: Remove file.
54188         * sysdeps/unix/bsd/Implies: Don't include unix/common.
54189         * sysdeps/unix/sysv/linux/Implies: Likewise.
54191 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
54193         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
54194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
54195         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
54196         Moved to ...
54197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
54198         Here.
54199         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
54200         to ...
54201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
54202         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
54203         to ...
54204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
54205         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
54206         to ...
54207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
54208         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
54209         to ...
54210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
54211         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
54212         to ...
54213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
54214         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
54215         to ...
54216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
54217         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
54218         to ...
54219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54220         Here.
54221         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
54222         to ...
54223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
54224         Here.
54225         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
54226         to ...
54227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
54228         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
54229         Moved to ...
54230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
54231         Here.
54232         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
54233         to ...
54234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
54236 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
54238         * sysdeps/unix/common/bits/dirent.h: Remove file.
54239         * sysdeps/unix/common/bits/fcntl.h: Likewise.
54241         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
54242         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
54243         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
54244         * sysdeps/unix/bsd/isatty.c: Likewise.
54245         * sysdeps/unix/bsd/tcdrain.c: Likewise.
54246         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
54247         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
54249 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54251         [BZ #13563]
54252         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
54253         long double comparison inaccuracies.
54254         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
54255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54257 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
54259         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
54260         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
54262 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
54264         [BZ #14049]
54265         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
54266         nonzero digits before rounding a hex value.
54267         * stdlib/tst-strtod.c (tests): Add another test.
54269 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54271         * sysdeps/s390/fpu/libm-test-ulps: Update.
54273 2012-05-03  Andreas Jaeger  <aj@suse.de>
54275         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
54276         does not get optimized out.
54277         (malloc_opt_barrier): New.
54279 2012-05-03  Andreas Jaeger  <aj@suse.de>
54280             Roland McGrath  <roland@hack.frob.com>
54282         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
54283         intermediate file deletion.
54284         (generated): Add .symlist files.
54286 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
54288         [BZ #13775]
54289         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
54290         Redirect under this condition.
54291         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
54292         [__USE_GNU] (__dprintf_chk): Not under this condition.
54293         [__USE_GNU] (__vdprintf_chk): Likewise.
54294         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
54295         under this condition.
54296         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
54297         [__USE_XOPEN2K8] (dprintf): Define under this condition.
54298         [__USE_XOPEN2K8] (vdprintf): Likewise.
54299         [__USE_GNU] (__dprintf_chk): Not under this condition.
54300         [__USE_GNU] (__vdprintf_chk): Likewise.
54301         [__USE_GNU] (dprintf): Likewise.
54302         [__USE_GNU] (vdprintf): Likewise.
54304 2012-05-03  Roland McGrath  <roland@hack.frob.com>
54306         * elf/Makefile (common-generated): Set this instead of generated for
54307         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
54308         $(all-built-dso)-derived lists.
54310 2012-05-03  Andreas Jaeger  <aj@suse.de>
54312         * sysdeps/i386/fpu/libm-test-ulps: Update.
54314         * FAQ: Removed.
54315         * FAQ.in: Likewise.
54316         * scripts/gen-FAQ.pl: Likewise.
54317         * manual/install.texi (Installation): Point to online location of
54318         FAQ.
54319         * Makefile (files-for-dist): Remove FAQ.
54320         (FAQ): Remove.
54322 2012-05-02  Allan McRae  <allan@archlinux.org>
54324         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
54325         (LDFLAGS-reldepmod5.so): Likewise.
54326         (LDFLAGS-reldep6mod1.so): Likewise.
54327         (LDFLAGS-reldep6mod4.so): Likewise.
54328         (LDFLAGS-reldep8mod3.so): Likewise.
54329         (LDFLAGS-unload4mod1.so): Likewise.
54330         (LDFLAGS-unload4mod2.so): Likewise.
54331         (LDFLAGS-tst-initorder): Likewise.
54332         (LDFLAGS-tst-initordera2.so): Likewise.
54333         (LDFLAGS-tst-initordera3.so): Likewise.
54334         (LDFLAGS-tst-initordera4.so): Likewise.
54335         (LDFLAGS-tst-initorderb2.so): Likewise.
54336         (LDFLAGS-noload): Likewise.
54337         (LDFLAGS-next): Likewise.
54338         (LDFLAGS-order2mod1.so): Likewise.
54339         (LDFLAGS-order2mod2.so): Likewise.
54340         (LDFLAGS-tst-initorder2): Likewise.
54341         (LDFLAGS-tst-initorder2a.so): Likewise.
54342         (LDFLAGS-tst-initorder2b.so): Likewise.
54343         (LDFLAGS-tst-initorder2c.so): Likewise.
54344         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
54346 2012-05-02  David S. Miller  <davem@davemloft.net>
54348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54350 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
54352         [BZ #14055]
54353         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
54355 2012-05-02  Andreas Jaeger  <aj@suse.de>
54357         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
54358         since we manipulate rounding mode.
54359         (CPPFLAGS-test-idouble.c): Likewise.
54360         (CPPFLAGS-test-ifloat.c): Likewise.
54361         (CFLAGS-test-ldouble.c): Likewise.
54362         (CFLAGS-test-double.c): Likewise.
54363         (CFLAGS-test-float.c): Likewise.
54364         (CFLAGS-test-misc.c): Likewise.
54365         (CFLAGS-test-test-fenv.c): Likewise.
54367 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54369         [BZ #2550]
54370         [BZ #2570]
54371         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
54372         comparisons to determine direction to adjust input.
54374 2012-05-01  Roland McGrath  <roland@hack.frob.com>
54376         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
54377         output to the target.
54379         * scripts/localplt.awk: New file.
54380         * elf/Makefile ($(objpfx)check-localplt): Target removed.
54381         (check-localplt-CFLAGS): Variable removed.
54382         ($(all-built-dso:=.jmprel)): New static pattern rule.
54383         (generated): Add those targets.
54384         (localplt-built-dso): New variable.
54385         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
54387         * elf/check-localplt.c: File removed.
54389         * scripts/check-execstack.awk: New file.
54390         * elf/Makefile ($(objpfx)check-execstack): Target removed.
54391         (check-execstack-CFLAGS): Variable removed.
54392         ($(objpfx)check-execstack.h): Target removed.
54393         ($(objpfx)execstack-default): New target.
54394         (generated): Add that instead of check-execstack.h.
54395         ($(all-built-dso:=.phdr)): New static pattern rule.
54396         (generated): Add those targets.
54397         * elf/check-execstack.c: File removed.
54399         * scripts/check-textrel.awk: New file.
54400         * elf/Makefile ($(objpfx)check-textrel): Target removed.
54401         (check-textrel-CFLAGS): Variable removed.
54402         (all-built-dso): Use := to define.o
54403         ($(all-built-dso:=.dyn)): New static pattern rule.
54404         (generated): Add those targets.
54405         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
54406         * config.make.in (READELF): New substituted variable.
54407         * elf/check-textrel.c: File removed.
54409 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
54411         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
54412         allow.
54413         * conform/data/ctype.h-data [C99-based standards] (isblank):
54414         Expect function.
54415         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
54416         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
54417         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54418         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
54419         Specify type.  Require positive value.
54420         (EILSEQ): Likewise.
54421         (ERANGE): Likewise.
54422         [ISO || POSIX] (EILSEQ): Do not expect.
54423         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
54424         Specify type.  Require positive value.
54425         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
54426         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
54427         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
54428         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
54429         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
54430         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
54431         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
54432         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
54433         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
54434         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
54435         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
54436         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
54437         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
54438         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
54439         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
54440         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
54441         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
54442         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
54443         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
54444         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
54445         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
54446         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
54447         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
54448         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
54449         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
54450         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
54451         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
54452         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
54453         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
54454         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
54455         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
54456         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
54457         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
54458         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
54459         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
54460         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
54461         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
54462         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
54463         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
54464         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
54465         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
54466         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
54467         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
54468         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
54469         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
54470         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
54471         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
54472         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
54473         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
54474         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
54475         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
54476         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
54477         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
54478         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
54479         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
54480         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
54481         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
54482         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
54483         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
54484         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
54485         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
54486         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
54487         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
54488         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
54489         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
54490         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
54491         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
54492         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
54493         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
54494         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
54495         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
54496         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
54497         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
54498         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
54499         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
54500         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
54501         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
54502         Require >= 2.
54503         (FLT_ROUNDS): Expect as macro, not constant.
54504         (FLT_MANT_DIG): Use macro-int-constant.
54505         (DBL_MANT_DIG): Likewise.
54506         (LDBL_MANT_DIG): Likewise.
54507         (FLT_DIG): Likewise.
54508         (DBL_DIG): Likewise.
54509         (LDBL_DIG): Likewise.
54510         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
54511         (DBL_MIN_EXP): Likewise.
54512         (LDBL_MIN_EXP): Likewise.
54513         (FLT_MAX_EXP): Use macro-int-constant.
54514         (DBL_MAX_EXP): Likewise.
54515         (LDBL_MAX_EXP): Likewise.
54516         (FLT_MAX_10_EXP): Likewise.
54517         (DBL_MAX_10_EXP): Likewise.
54518         (LDBL_MAX_10_EXP): Likewise.
54519         (FLT_MAX): Use macro-constant.
54520         (DBL_MAX): Likewise.
54521         (LDBL_MAX): Likewise.
54522         (FLT_EPSILON): Use macro-constant.  Give upper bound.
54523         (DBL_EPSILON): Likewise.
54524         (LDBL_EPSILON): Likewise.
54525         (FLT_MIN): Likewise.
54526         (DBL_MIN): Likewise.
54527         (LDBL_MIN): Likewise.
54528         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
54529         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
54530         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
54531         [ISO11] (FLT_HAS_SUBNORM): Likewise.
54532         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
54533         [ISO11] (DBL_DECIMAL_DIG): Likewise.
54534         [ISO11] (FLT_DECIMAL_DIG): Likewise.
54535         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
54536         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
54537         [ISO11] (FLT_TRUE_MIN): Likewise.
54538         [ISO11] (LDBL_TRUE_MIN): Likewise.
54539         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54540         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
54541         (SCHAR_MIN): Use macro-int-constant.  Specify type.
54542         (SCHAR_MAX): Likewise.
54543         (UCHAR_MAX): Likewise.
54544         (CHAR_MIN): Likewise.
54545         (CHAR_MAX): Likewise.
54546         (MB_LEN_MAX): Use macro-int-constant.
54547         (SHRT_MIN): Use macro-int-constant.  Specify type.
54548         (SHRT_MAX): Likewise.
54549         (USHRT_MAX): Likewise.
54550         (INT_MAX): Likewise.
54551         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
54552         bound negative.
54553         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
54554         bound with "U".
54555         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
54556         bound with "L".
54557         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
54558         bound negative.  Suffix upper bound with "L".
54559         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
54560         bound with "UL".
54561         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
54562         Specify type.
54563         [C99-based standards] (LLONG_MAX): Likewise.
54564         [C99-based standards] (ULLONG_MAX): Likewise.
54565         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
54566         == 0.
54567         [ISO11] (max_align_t): Require type.
54568         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54570         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
54571         from $CFLAGS, without defining away __attribute__ calls.
54572         (checknamespace): Use $CFLAGS_namespace.
54574         * conform/conformtest.pl (@keywords): Only include C99 keywords
54575         for standards based on C99 or C11.
54577         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
54578         Disable tests.
54579         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
54580         UNIX98]: Likewise.
54582         * conform/conformtest.pl: Handle "macro-int-constant" and test for
54583         usability of symbols in #if.
54585         * conform/conformtest.pl: If macro or constant types start
54586         "promoted:", expect the symbol to be of the following type
54587         promoted by the integer promotions.
54589         * conform/conformtest.pl: Parse all "constant" and "macro" lines
54590         in one place.  Also handle "macro-constant".
54592         * conform/conformtest.pl: Only accept expected macro values with
54593         "==".  Parse all "macro" lines in one place.
54594         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
54596         * conform/conformtest.pl: Handle braced types on "constant" lines
54597         instead of handling "typed-constant".
54598         * conform/data/signal.h-data: Use "constant" instead of
54599         "typed-constant".
54601         * conform/conformtest.pl: Handle "optional-" at start of lines in
54602         one place rather than duplicating several cases.  Handle each
54603         format of "macro" line with initial "optional-".
54605         * conform/conformtest.pl: Only accept expected constant or
54606         optional-constant values with "==".  Parse all "constant" lines in
54607         one place.  Parse all "optional-constant" lines in one place.
54608         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
54609         * conform/data/fmtmsg.h-data: Likewise.
54610         * conform/data/netinet/in.h-data: Likewise.
54611         * conform/data/tar.h-data: Likewise.
54612         * conform/data/limits.h-data: Use "==" form on "constant" and
54613         "optional-constant" lines.
54615         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
54616         Use -std=c99 for XOPEN2K.
54617         (@knownproblems): Remove.
54618         (newtoken): Don't check %isknown.
54620         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
54621         Do not expect macro.
54622         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
54623         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
54624         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
54625         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
54626         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
54627         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
54628         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
54629         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
54630         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
54631         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
54632         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
54633         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
54634         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
54635         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
54636         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
54637         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
54638         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
54639         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
54640         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
54641         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
54642         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
54643         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
54644         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
54645         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
54646         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
54647         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
54648         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
54649         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
54650         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
54651         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
54652         [XPG3] (acosh): Likewise.
54653         [XPG3] (asinh): Likewise.
54654         [XPG3] (atanh): Likewise.
54655         [XPG3] (cbrt): Likewise.
54656         [XPG3] (expm1): Likewise.
54657         [XPG3] (ilogb): Likewise.
54658         [XPG3] (log1p): Likewise.
54659         [XPG3] (logb): Likewise.
54660         [XPG3] (nextafter): Likewise.
54661         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
54662         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
54663         [XPG3] (remainder): Likewise.
54664         [XPG3] (rint): Likewise.
54665         [XPG3 || XPG4 || UNIX98] (round): Likewise.
54666         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
54667         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
54668         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
54669         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
54670         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
54671         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
54672         [UNIX98 || XOPEN2K] (scalb): Expect.
54673         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
54674         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
54675         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
54676         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
54677         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
54678         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
54679         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
54680         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
54681         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
54682         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
54683         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
54684         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
54685         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
54686         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
54687         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
54688         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
54689         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
54690         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
54691         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
54692         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
54693         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
54694         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
54695         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
54696         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
54697         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
54698         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
54699         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
54700         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
54701         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
54702         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
54703         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
54704         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
54705         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
54706         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
54707         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
54708         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
54709         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
54710         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
54711         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
54712         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
54713         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
54714         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
54715         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
54716         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
54717         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
54718         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
54719         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
54720         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
54721         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
54722         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
54723         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
54724         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
54725         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
54726         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
54727         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
54728         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
54729         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
54730         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
54731         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
54732         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
54733         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
54734         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
54735         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
54736         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
54737         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
54738         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
54739         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
54740         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
54741         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
54742         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
54743         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
54744         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
54745         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
54746         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
54747         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
54748         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
54749         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
54750         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
54751         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
54752         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
54753         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
54754         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
54755         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
54756         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
54757         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
54758         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
54759         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
54760         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
54761         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
54762         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
54763         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
54764         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
54765         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
54766         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
54767         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
54768         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
54769         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
54770         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
54771         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
54772         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
54773         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
54774         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
54775         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
54776         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
54777         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
54778         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
54779         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
54780         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
54781         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
54782         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
54783         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
54784         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
54785         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
54786         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
54787         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
54788         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
54789         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
54790         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
54791         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
54792         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
54793         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
54794         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
54795         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
54796         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
54797         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
54798         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
54799         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
54800         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
54801         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
54802         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
54803         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
54804         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
54805         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
54806         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
54807         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
54808         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
54809         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
54811         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
54812         _XOPEN_SOURCE_EXTENDED for XPG4.
54814         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
54816         * Makeconfig (localtime): Remove variable.
54817         (inst_localtime-file): Likewise.
54819 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
54822         Update.
54823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54824         Update.
54825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
54826         Update.
54827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54828         Update.
54829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
54830         Update.
54831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
54832         Update.
54833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54834         Update.
54835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
54836         Update.
54837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54838         Update.
54840 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
54842         [BZ #2550]
54843         [BZ #2570]
54844         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
54845         comparisons to determine direction to adjust input.
54846         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
54847         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
54848         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
54849         Likewise.
54850         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
54851         Likewise.
54852         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54853         Likewise.
54854         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
54855         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
54856         Likewise.
54857         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
54858         Likewise.
54859         * math/libm-test.inc (nexttoward_test): Add more tests.
54861 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54863         [BZ #14040]
54864         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54865         in version GLIBC_2.1, not GLIBC_2.0.
54866         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
54867         Likewise.
54869 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
54871         [BZ #13942]
54872         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
54873         (1 - x) * (1 + x).
54874         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54875         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
54876         * math/libm-test.inc (acos_test): Add more tests.
54877         (asin_test): Likewise.
54878         * sysdeps/i386/fpu/libm-test-ulps: Update.
54879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54881         [BZ #14034]
54882         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
54883         of square root.
54884         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
54885         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54886         * math/libm-test.inc (acos_test_tonearest): New function.
54887         (acos_test_towardzero): Likewise.
54888         (acos_test_downward): Likewise.
54889         (acos_test_upward): Likewise.
54890         (asin_test_tonearest): Likewise.
54891         (asin_test_towardzero): Likewise.
54892         (asin_test_downward): Likewise.
54893         (asin_test_upward): Likewise.
54894         (main): Call the new functions.
54895         * sysdeps/i386/fpu/libm-test-ulps: Update.
54896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54898         [BZ #13884]
54899         [BZ #13924]
54900         * math/e_exp10.c: Include <float.h>.
54901         (__ieee754_exp10): Handle underflow here rather than multiplying
54902         large negative argument by M_LN10.
54903         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
54904         of __ieee754_expf.
54905         * math/e_exp10l.c: Include <float.h>.
54906         (__ieee754_exp10l): Handle underflow here rather than multiplying
54907         large negative argument by M_LN10l.
54908         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
54909         spurious overflow exception on underflow.
54911 2012-04-29  Marek Polacek  <polacek@redhat.com>
54913         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
54914         (__fortify_function): New macro.
54915         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
54916         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
54917         __extern_always_inline.
54918         * libio/bits/stdio2.h: Likewise.
54919         * libio/bits/stdio.h: Likewise.
54920         * string/string.h: Likewise.
54921         * string/bits/string3.h: Likewise.
54922         * include/stdio.h: Likewise.
54923         * stdlib/bits/stdlib.h: Likewise.
54924         * stdlib/stdlib.h: Likewise.
54925         * rt/bits/mqueue2.h: Likewise.
54926         * rt/mqueue.h: Likewise.
54927         * posix/bits/unistd.h: Likewise.
54928         * posix/unistd.h: Likewise.
54929         * io/bits/poll2.h: Likewise.
54930         * io/bits/fcntl2.h: Likewise.
54931         * io/fcntl.h: Likewise.
54932         * io/sys/poll.h: Likewise.
54933         * misc/bits/syslog.h: Likewise.
54934         * misc/bits/syslog-ldbl.h: Likewise.
54935         * misc/sys/syslog.h: Likewise.
54936         * socket/bits/socket2.h: Likewise.
54937         * socket/sys/socket.h: Likewise.
54938         * debug/tst-chk1.c: Likewise.
54939         * wcsmbs/bits/wchar2.h: Likewise.
54940         * wcsmbs/bits/wchar-ldbl.h: Likewise.
54941         * wcsmbs/wchar.h: Likewise.
54943 2012-04-29  Andreas Jaeger  <aj@suse.de>
54945         * Makerules (tests): Remove enable-check-abi protection.
54946         (check-abi-warn): Remove.
54947         (check-abi-%): Remove check-abi-warn usage.
54949         * configure.in: Remove check-abi configure option.
54950         * configure: Regenerated.
54951         * config.make.in (enable-check-abi): Remove.
54953 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
54955         [BZ #14033]
54956         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54957         double functions to double *_finite functions.
54959         [BZ #13941]
54960         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54961         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54962         LDBL_MIN_EXP.
54963         * stdio-common/Makefile (tests): Add tst-sprintf3.
54964         * stdio-common/tst-sprintf3.c: New file.
54966         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54967         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54969 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
54971         * conform/conformtest.pl: Remove duplicate typed-constant
54972         handling.
54974 2012-04-28  David S. Miller  <davem@davemloft.net>
54976         * Makerules (%.abilist): Add vpath on sysdep_dirs.
54977         (check-abi-%): Remove AWK script prerequisite and explicit
54978         abilist directory.
54979         (check-abi): Rewrite to just diff the symlist with the abilist.
54980         (config-tls, config-abi-config): Delete, no longer used.
54981         (update-abi-%): Remove AWK script and explicit abilist directory.
54982         (update-abi): Rewrite to simply compare and conditionally copy the
54983         symlist and the sysdep abilist file.  Remove update-abi-config
54984         checks.
54985         * abilist/ld.abilist: Remove.
54986         * abilist/libBrokenLocale.abilist: Remove.
54987         * abilist/libanl.abilist: Remove.
54988         * abilist/libcrypt.abilist: Remove.
54989         * abilist/libdl.abilist: Remove.
54990         * abilist/librt.abilist: Remove.
54991         * abilist/libthread_db.abilist: Remove.
54992         * abilist/libutil.abilist: Remove.
54993         * scripts/extract-abilist.awk: Remove.
54994         * scripts/merge-abilist.awk: Remove.
54995         * sysdeps/generic/libcidn.abilist: New file.
54996         * sysdeps/generic/libnss_compat.abilist: New file.
54997         * sysdeps/generic/libnss_db.abilist: New file.
54998         * sysdeps/generic/libnss_dns.abilist: New file.
54999         * sysdeps/generic/libnss_files.abilist: New file.
55000         * sysdeps/generic/libnss_hesiod.abilist: New file.
55001         * sysdeps/generic/libnss_nis.abilist: New file.
55002         * sysdeps/generic/libnss_nisplus.abilist: New file.
55003         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
55004         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
55005         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
55006         file.
55007         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
55008         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
55009         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
55010         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
55011         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
55012         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
55013         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
55014         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
55015         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
55016         file.
55017         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
55018         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
55019         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
55020         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
55021         file.
55022         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
55023         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
55024         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
55025         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
55026         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
55027         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
55028         file.
55029         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
55030         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
55031         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
55032         file.
55033         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
55034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
55035         New file.
55036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
55037         New file.
55038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
55039         New file.
55040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
55041         New file.
55042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
55043         New file.
55044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
55045         New file.
55046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
55047         New file.
55048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
55049         New file.
55050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
55051         New file.
55052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
55053         New file.
55054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
55055         New file.
55056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
55057         New file.
55058         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
55059         New file.
55060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
55061         file.
55062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
55063         New file.
55064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
55065         New file.
55066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
55067         file.
55068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
55069         New file.
55070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
55071         New file.
55072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
55073         file.
55074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
55075         New file.
55076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
55077         New file.
55078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
55079         New file.
55080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
55081         New file.
55082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
55083         New file.
55084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
55085         New file.
55086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
55087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
55088         file.
55089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
55090         New file.
55091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
55092         file.
55093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
55094         file.
55095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
55096         file.
55097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
55098         file.
55099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
55100         file.
55101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55102         New file.
55103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
55104         file.
55105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
55106         file.
55107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
55108         New file.
55109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
55110         file.
55111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
55112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
55113         file.
55114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
55115         New file.
55116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
55117         file.
55118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
55119         file.
55120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
55121         file.
55122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
55123         file.
55124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
55125         file.
55126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55127         New file.
55128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
55129         file.
55130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
55131         file.
55132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
55133         New file.
55134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
55135         file.
55136         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55137         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
55138         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
55139         file.
55140         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
55141         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
55142         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
55143         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
55144         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
55145         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
55146         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
55147         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
55148         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
55149         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
55150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
55151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
55152         file.
55153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
55154         New file.
55155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
55156         file.
55157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
55158         file.
55159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
55160         file.
55161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
55162         file.
55163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
55164         file.
55165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
55166         New file.
55167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
55168         New file.
55169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
55170         file.
55171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
55172         New file.
55173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
55174         file.
55175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
55176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
55177         file.
55178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
55179         New file.
55180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
55181         file.
55182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
55183         file.
55184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
55185         file.
55186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
55187         file.
55188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
55189         file.
55190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
55191         New file.
55192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
55193         New file.
55194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
55195         file.
55196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
55197         New file.
55198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
55199         file.
55201 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
55203         * conform/conformtest.pl: Fix typo in handling typed-constant from
55204         allow-header.
55206 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
55208         * README: Cut down references to pre-2.6 Linux kernels and
55209         Linuxthreads.  Update lists of configurations in libc and ports
55210         and sort alphabetically.  Say "or newer" with Linux kernel version
55211         requirements.
55213         * config.h.in [IS_IN_build]: Allow compiling without optimization.
55215 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55217         [BZ #887]
55218         * math/libm-test.inc (logb_test_downward): New test to expose
55219         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
55220         rounding mode.
55222 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
55224         [BZ #14027]
55225         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
55226         to be done.
55227         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
55228         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
55230 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
55232         * sysdeps/unix/i386/brk.S: Remove file.
55233         * sysdeps/unix/i386/dl-brk.S: Likewise.
55234         * sysdeps/unix/i386/pipe.S: Likewise.
55235         * sysdeps/unix/i386/sigreturn.S: Likewise.
55236         * sysdeps/unix/i386/syscall.S: Likewise.
55237         * sysdeps/unix/i386/vfork.S: Likewise.
55238         * sysdeps/unix/i386/wait.S: Likewise.
55240         * sysdeps/unix/common/tcsendbrk.c: Move to ...
55241         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
55243         * configure.in (arm*-none*): Do not allow without
55244         --enable-hacker-mode.
55245         (netbsd*): Remove case setting base_os.
55246         (386bsd*): Likewise.
55247         (freebsd*): Likewise.
55248         (bsdi*): Likewise.
55249         (osf*): Likewise.
55250         (sunos*): Likewise.
55251         (ultrix*): Likewise.
55252         (newsos*): Likewise.
55253         (dynix*): Likewise.
55254         (*bsd*): Likewise.
55255         (sysv*): Likewise.
55256         (isc*): Likewise.
55257         (esix*): Likewise.
55258         (sco*): Likewise.
55259         (minix*): Likewise.
55260         (irix4*): Likewise.
55261         (irix6*): Likewise.
55262         (solaris[2-9]*): Likewise.
55263         (none): Likewise.
55264         * configure: Regenerated.
55266 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55268         [BZ #11521]
55269         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
55270         overflow or cancellation in calculating denominator.
55271         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
55272         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
55273         down expression to avoid unexpected rounding in newer GCCs.
55274         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
55276 2012-04-26  David S. Miller  <davem@davemloft.net>
55278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
55279         long-double compat symbols.
55280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
55284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
55286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
55287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
55288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
55289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
55290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
55291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
55292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55294 2012-04-25  David S. Miller  <davem@davemloft.net>
55296         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
55297         HWCAP_* values only after the memory barriers have been defined.
55298         (atomic_full_barrier): Define.
55299         (atomic_read_barrier): Define.
55300         (atomic_write_barrier): Define.
55302 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55304         * shlib-versions: Add libgcc_s version information.
55305         * sysdeps/generic/libgcc_s.h: Remove.
55306         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
55307         libgcc_s.h.
55308         * sysdeps/gnu/unwind-resume.c: Likewise.
55309         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
55311 2012-04-25  David S. Miller  <davem@davemloft.net>
55313         * sysdeps/unix/sparc/brk.S: Delete.
55314         * sysdeps/unix/sparc/dl-brk.S: Delete.
55315         * sysdeps/unix/sparc/pipe.S: Delete.
55316         * sysdeps/unix/sparc/sysdep.S: Delete.
55317         * sysdeps/unix/sparc/sysdep.h: Delete.
55318         * sysdeps/unix/sparc/vfork.S: Delete.
55319         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
55320         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
55321         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
55322         (ret_ERRVAL, r0, r1, MOVE): Define.
55323         (JUMPTARGET): Remove.
55324         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
55325         sysdeps/unix/sparc/sysdep.h
55326         (ENTRY, END): Remove.
55327         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55329 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
55331         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
55332         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
55333         -DIS_IN_build.
55335         * timezone/README: Update upstream location and email address for
55336         tzcode and tzdata.
55337         * timezone/zdump.c: Update from tzcode 2012b.
55338         * timezone/zic.c: Likewise.
55340         * configure.in (libc_cv_as_needed): Remove test.
55341         * configure: Regenerated.
55342         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
55343         conditional definition.
55344         [$(have-as-needed) != yes] (no-as-needed): Likewise.
55345         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
55346         * config.make.in (have-as-needed): Remove variable.
55348 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55349             Paul Pluzhnikov  <ppluzhnikov@google.com>
55351         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
55352         strings correctly.
55354 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
55356         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
55357         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
55358         * sysdeps/sh/strlen.S: Likewise.
55360 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
55362         * sysdeps/unix/fork.S: Remove file.
55363         * sysdeps/unix/i386/fork.S: Likewise.
55364         * sysdeps/unix/sparc/fork.S: Likewise.
55366         * sysdeps/unix/system.c: Remove file.
55367         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
55369         * sysdeps/unix/getegid.S: Remove file.
55370         * sysdeps/unix/geteuid.S: Likewise.
55372 2012-04-24  Roland McGrath  <roland@hack.frob.com>
55374         * scripts/check-localplt.awk: New file.
55375         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
55376         of diff.
55377         * scripts/data/localplt-generic.data: Add a comment.
55379         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
55380         NODE when __dir_mkfile failed.
55381         * sysdeps/mach/hurd/symlinkat.c: Likewise.
55382         Reported by Ludovic Courtès <ludo@gnu.org>.
55384 2012-04-24  Andreas Jaeger  <aj@suse.de>
55386         * Makerules (common-clean): Also remove gen-as-const-headers
55387         files.
55389 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
55391         * Makerules (native-compile): Do not change working directory for
55392         build.  Use $(OUTPUT_OPTION) in command.
55393         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
55395 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55397         [BZ #13886]
55398         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
55399         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
55400         * math/libm-test.inc (floor_test): Add more tests.
55401         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
55403 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
55405         * sysdeps/unix/getdents.c: Remove file.
55406         * sysdeps/unix/sysv/getdents.c: Likewise.
55407         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
55409         * sysdeps/unix/syscalls.list (madvise): Add syscall from
55410         sysdeps/unix/mman/syscalls.list.
55411         (mmap): Likewise.
55412         (mprotect): Likewise.
55413         (msync): Likewise.
55414         (munmap): Likewise.
55415         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
55416         * sysdeps/unix/mman/syscalls.list: Remove.
55417         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
55419         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
55420         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
55421         * configure: Regenerated.
55422         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
55423         $(libgcc_s_suffix).
55424         * config.make.in (libgcc_s_suffix): Remove variable.
55426 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
55428         * sysdeps/unix/sysv/gethostname.c: Move to ...
55429         * sysdeps/posix/gethostname.c: ... here.
55431         * sysdeps/unix/execve.S: Remove file.
55433         * sysdeps/unix/_exit.S: Remove file.
55435 2012-04-23  Andreas Jaeger  <aj@suse.de>
55437         [BZ #13739]
55438         * manual/Makefile: Remove make dist support, there's no
55439         need for a stand-alone documentation tar ball.
55440         (TEXI2DVI): Define always, it's not in Makeconfig.
55441         (dist): Removed.
55442         (tar-it): Removed.
55443         (edition): Removed.
55444         (glibc-doc-$(edition).tar): Removed
55445         (%.Z): Removed.
55446         (%.gz): Removed.
55447         (%.uu): Removed.
55448         (ETAGS): Remove, it's in Makeconfig.
55449         (move-if-change): Remove, it's in Makeconfig.
55451 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
55453         [BZ #13970]
55454         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
55455         (strtod, strtof, strtold, strtol, strtoul, strtoq)
55456         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
55457         (strtod_l, strtof_l, strtold_l): Remove __wur.
55458         It is not necessarily an error to ignore strtol's return value.
55459         One can reliably look at the stored endptr to decide whether
55460         the number had valid syntax.
55462 2012-04-21  Andreas Jaeger  <aj@suse.de>
55464         [BZ #13739]
55465         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
55467 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
55469         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
55470         * sysdeps/unix/sysv/Versions: Remove file.
55472 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
55474         [BZ #13927]
55475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55477 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
55479         [BZ #7064]
55480         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
55481         version from __vm86.
55483 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
55485         * sysdeps/unix/common/lxstat.c: Remove file.
55486         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
55488         * sysdeps/unix/sysv/Makefile: Remove file.
55490         * sysdeps/unix/sysv/direct.h: Remove file.
55492         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
55493         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
55494         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
55495         * sysdeps/unix/sysv/bits/signum.h: Likewise.
55496         * sysdeps/unix/sysv/bits/stat.h: Likewise.
55497         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
55498         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
55500         * sysdeps/unix/sysv/setrlimit.c: Remove file.
55502         * sysdeps/unix/xmknod.c: Remove file.
55503         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
55505         * sysdeps/unix/sysv/settimeofday.c: Remove file.
55507         * sysdeps/unix/sysv/i386/time.S: Remove file.
55509         * sysdeps/unix/fxstat.c: Remove file.
55510         * sysdeps/unix/xstat.c: Likewise.
55511         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
55513         * sysdeps/unix/sysv/sigaction.c: Remove file.
55515         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
55516         (sysdep_headers): Remove variable.
55517         [termio.h not in sysdep_headers] (generated): Likewise.
55518         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
55519         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
55520         * sysdeps/unix/sysv/tcdrain.c: Likewise.
55521         * sysdeps/unix/sysv/tcflow.c: Likewise.
55522         * sysdeps/unix/sysv/tcflush.c: Likewise.
55523         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
55524         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
55525         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
55526         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
55527         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
55529         * sysdeps/unix/siglist.c: Remove file.
55531         * sysdeps/unix/getppid.S: Remove file.
55533         * sysdeps/unix/mkdir.c: Remove file.
55534         * sysdeps/unix/rmdir.c: Likewise.
55536 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
55538         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
55539         ERR_MAX value.
55540         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
55541         errlist-compat value.
55543 2012-04-18  David S. Miller  <davem@davemloft.net>
55545         * sysdeps/generic/memcopy.h (reg_char): Delete.
55546         * debug/strcat_chk.c: Use char, not reg_char.
55547         * debug/strcpy_chk.c: Likewise.
55548         * debug/strncat_chk.c: Likewise.
55549         * debug/strncpy_chk.c: Likewise.
55550         * string/memchr.c: Likewise.
55551         * string/memrchr.c: Likewise.
55552         * string/rawmemchr.c: Likewise.
55553         * string/strcat.c: Likewise.
55554         * string/strchr.c: Likewise.
55555         * string/strchrnul.c: Likewise.
55556         * string/strcmp.c: Likewise.
55557         * string/strcpy.c: Likewise.
55558         * string/strncat.c: Likewise.
55559         * string/strncmp.c: Likewise.
55560         * string/strncpy.c: Likewise.
55562 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
55564         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
55565         __builtin_memcopy is called when src and dest ranges are known to not
55566         overlap.
55568 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
55570         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
55571         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
55572         fwd_align_merge macro call.
55573         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
55574         bwd_align_merge macro call.
55575         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55577 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
55579         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
55580         bwd_align_merge macros.
55581         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
55582         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
55583         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55585 2012-04-18  David S. Miller  <davem@davemloft.net>
55587         * sysdeps/sparc/sparc64/memcopy.h: Delete.
55589 2012-04-18  Andreas Jaeger  <aj@suse.de>
55591         [BZ# 6794]
55592         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
55593         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
55594         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55596         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
55597         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
55598         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55600         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
55601         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
55602         Adjust for changed ldbl-128 files.
55604         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
55605         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
55606         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55608 2012-04-17  David S. Miller  <davem@davemloft.net>
55610         * sysdeps/sparc/sparc32/memcopy.h: Delete.
55612 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
55614         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
55615         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
55616         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
55617         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
55618         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55619         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
55621 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55623         [BZ #6794]
55624         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
55625         * math/libm-test.inc: Add ilogb errno and exception tests.
55626         * math/w_ilogb.c: New file: ilogb wrapper.
55627         * math/w_ilogbf.c: New file: ilogbf wrapper.
55628         * math/w_ilogbl.c: New file: ilogbl wrapper.
55629         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
55630         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
55631         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
55632         exception being thrown with 0.0 as argument.
55633         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
55634         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
55635         exception being thrown with 0.0 as argument.
55636         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
55637         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55638         exception being thrown with 0.0 as argument.
55639         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
55640         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55641         exception being thrown with 0.0 as argument.
55642         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
55643         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
55644         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
55645         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
55646         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
55647         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
55648         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
55649         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
55650         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
55652 2012-04-17  Petr Baudis  <pasky@ucw.cz>
55654         * include/sys/uio.h: Change __vector to __iovec to avoid clash
55655         with altivec.
55657 2012-04-16  Marek Polacek  <polacek@redhat.com>
55659         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
55661 2012-04-16  Marek Polacek  <polacek@redhat.com>
55663         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
55664         operands of fdivp instruction.
55666 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
55668         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
55669         * elf/tst-auditmod3b.c: Likewise.
55670         * elf/tst-auditmod4b.c: Likewise.
55671         * elf/tst-auditmod5b.c: Likewise.
55672         * elf/tst-auditmod6b.c: Likewise.
55673         * elf/tst-auditmod6c.c: Likewise.
55674         * elf/tst-auditmod7b.c: Likewise.
55675         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
55676         * sysdeps/x86_64/preconfigure.in: Likewise.
55677         * sysdeps/x86_64/preconfigure: Regenerated.
55679 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
55681         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
55682         __ILP32__.
55684 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
55686         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55687         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
55689 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
55691         [BZ #13973]
55692         * locale/iso-639.def: Fix gl language name. Spotted by
55693         Yaron Shahrabani.
55695 2012-04-12  Roland McGrath  <roland@hack.frob.com>
55697         [BZ #2074]
55698         * libio/libio.h (__io_write_fn): Update comment.
55700 2012-04-12  Petr Baudis  <pasky@ucw.cz>
55702         [BZ #2074]
55703         * stdio.texi (Hook Functions): The user provided writer function
55704         is not allowed to return -1.
55706 2012-04-11  David S. Miller  <davem@davemloft.net>
55708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55710 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
55712         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
55713         Add a leading slash to rtkaio.
55715 2012-04-11  Jim Meyering  <meyering@redhat.com>
55717         [BZ #11959]
55718         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
55719         It is not necessarily an error to ignore fwrite's return
55720         value.  One can reliably use ferror to test for errors after
55721         the fact.
55723 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
55725         * bits/types.h (__snseconds_t): New type.
55726         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
55728         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
55729         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55730         (__SNSECONDS_T_TYPE): Likewise.
55731         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55732         (__SNSECONDS_T_TYPE): Likewise.
55733         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55734         (__SNSECONDS_T_TYPE): Likewise.
55736 2012-04-10  Andreas Jaeger  <aj@suse.de>
55738         [BZ #2636]
55739         * manual/time.texi (Processor Time): Return type of times is
55740         elapsed real time since an arbitrary point in the past.
55741         (CPU Time): Move CLK_TCK from here...
55742         (Processor Time): ...to here.  Correct description.
55743         * manual/conf.texi (Constants for Sysconf): Correct description of
55744         _SC_CLK_TCK.
55746 2012-04-10  David S. Miller  <davem@davemloft.net>
55748         [BZ #13967]
55749         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
55750         where the is a gap between DT_REL(A) and DT_JMPREL.
55752 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
55754         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
55755         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55756         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55758 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55760         * elf/dl-support.c (_dl_inhibit_cache): New variable.
55761         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
55762         (dl_main): Handle --inhibit-cache.
55763         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
55764         _dl_inhibit_cache.
55765         * elf/dl-load.c (_dl_map_object): Use it.
55766         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
55768 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55770         [BZ #13872]
55771         * sysdeps/i386/fpu/e_powl.S (p78): New object.
55772         (__ieee754_powl): Saturate large exponents rather than testing for
55773         overflow of y*log2(x).
55774         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55775         * math/libm-test.inc (pow_test): Do not permit spurious overflow
55776         exceptions.
55778         [BZ #11521]
55779         * math/s_ctan.c: Include <float.h>.
55780         (__ctan): Avoid internal overflow or cancellation in calculating
55781         denominator.
55782         * math/s_ctanf.c: Likewise.
55783         * math/s_ctanl.c: Likewise.
55784         * math/s_ctanh.c: Likewise.
55785         * math/s_ctanhf.c: Likewise.
55786         * math/s_ctanhl.c: Likewise.
55787         * math/libm-test.inc (ctan_test): Add more tests.
55788         (ctanh_test): Likewise.
55789         * sysdeps/i386/fpu/libm-test-ulps: Update.
55790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55792 2012-04-09  Andreas Jaeger  <aj@suse.de>
55794         [BZ #6894]
55795         * manual/filesys.texi (Directory Entries): Mention that d_namlen
55796         is an optional BSD extension.
55798         [BZ #10254]
55799         * manual/stdio.texi (Opening Streams): Document additional fopen
55800         parameters.
55802 2012-04-09  Roland McGrath  <roland@hack.frob.com>
55804         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
55805         %eax without telling the compiler.
55807 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
55809         [BZ # 13963]
55810         * manual/install.texi: Use sourceware.org.
55812 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55814         [BZ #13873]
55815         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
55816         (__ieee754_pow): Generate overflow and underflow using huge*huge
55817         and tiny*tiny rather than just returning constant infinity or zero
55818         for large exponents.
55819         * math/libm-test.inc (pow_test): Require overflow exceptions for
55820         applicable cases of large exponents.
55822         [BZ #706]
55823         * sysdeps/i386/fpu/e_pow.S (p10): New object.
55824         (__ieee754_pow): Use iterative multiplication algorithm only for
55825         integer exponents with absolute value below 1024.  Check for odd
55826         integer exponents when using algorithm for real exponents.
55827         * math/libm-test.inc (pow_test): Add more tests.
55828         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55830 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
55832         [BZ #13705]
55833         * math/libm-test.inc (exp_test): Do not allow overflow exception
55834         on underflow test.
55836 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
55838         [BZ #13705]
55839         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
55840         instead of __kernel_standard_f.
55842 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
55844         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
55845         * sysdeps/x86_64/memset_chk.S: Likewise.
55847 2012-04-08  Andreas Jaeger  <aj@suse.de>
55849         [BZ #10153]
55850         * manual/startup.texi (Environment Access): Describe return value
55851         for putenv and setenv.
55853         [BZ #6895]
55854         * manual/filesys.texi (Directory Entries): Add description for
55855         DT_LNK.
55857         [BZ #6890]
55858         * manual/filesys.texi (Directory Entries): Clarify that it's file
55859         system not operating system in the description of DT_UNKNOWN.
55861         [BZ #6578]
55862         * manual/syslog.texi (closelog): Fix reference, it's openlog.
55864 2012-04-08  Stephen Compall  <s11@member.fsf.org>
55866         [BZ #6649]
55867         * manual/llio.texi (Opening and Closing Files): Add cross
55868         reference to explain mode argument.
55870 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
55872         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
55873         * sysdeps/x86_64/memset_chk.S: Likewise.
55875 2012-04-07  David S. Miller  <davem@davemloft.net>
55877         * elf/elf.h (R_SPARC_WDISP10): Define.
55878         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
55879         R_SPARC_SIZE32.
55880         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
55881         R_SPARC_SIZE64 and R_SPARC_H34.
55883 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
55885         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
55886         conditions and remove no longer applicable assertion.
55888 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55890         * bits/byteswap.h: Include <features.h>.
55891         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55892         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55894 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55896         * bits/byteswap.h (__bswap_16): Removed.
55897         Include <bits/byteswap-16.h> to get __bswap_16.
55898         * sysdeps/i386/bits/byteswap.h: Likewise.
55899         * sysdeps/s390/bits/byteswap.h: Likewise.
55900         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55901         * bits/byteswap-16.h: New file.
55902         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55903         * sysdeps/s390/bits/byteswap-16.h: Likewise.
55904         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
55905         * string/Makefile (headers): Add bits/byteswap-16.h.
55907 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55909         [BZ #13895]
55910         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55911         extra indirection.
55912         * nss/Makefile (tests-static, tests): Add tst-nss-static.
55913         * nss/tst-nss-static.c: New.
55915 2012-04-06  Robert Millan  <rmh@gnu.org>
55917         [BZ #6486]
55918         * manual/llio.texi (File Position Primitive): lseek
55919         refers to WHENCE when it really means OFFSET.
55921 2012-04-06  Andreas Jaeger  <aj@suse.de>
55923         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55924         strncmp declarations.
55926         * abilist/libc.abilist: Add __poll and __ppoll.
55928 2012-04-05  David S. Miller  <davem@davemloft.net>
55930         * scripts/check-local-headers.sh: Accept a host triplet in the
55931         path matched by the exclude regexp.
55933         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
55934         definition.
55935         * sysdeps/powerpc/powerpc32/dl-machine.h
55936         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
55937         * sysdeps/s390/s390-32/dl-machine.h
55938         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55939         * sysdeps/sparc/sparc32/dl-machine.h
55940         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55941         * sysdeps/sparc/sparc64/dl-machine.h
55942         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55944         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55945         lazy binding.
55946         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55947         undefined symbol errors.
55949         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55950         DT_NEEDED entries.
55952 2012-04-05  Michael Matz  <matz@suse.de>
55954         [BZ #13592]
55955         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55957 2012-04-05  Andreas Jaeger  <aj@suse.de>
55959         [BZ #13908]
55960         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55961         comment.
55963 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55965         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55966         which ROUND is no valid rounding mode.
55968 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55970         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55971         read again.
55972         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55974 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55976         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55977         an exception using FPU order intentionally.
55979 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55981         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55982         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55983         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55984         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55986 2012-04-05  Simon Josefsson  <simon@josefsson.org>
55988         [BZ #12340]
55989         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55990         EINVAL when BUFLEN is too smal.
55992 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55994         [BZ #13553]
55995         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55996         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55998 2012-04-03  Andreas Jaeger  <aj@suse.de>
56000         [BZ #13938]
56001         * manual/setjmp.texi (System V contexts): Fix sentence.
56003         [BZ #13926]
56004         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
56005         New macro for this case.
56006         [!__GNUC__] (__bswap_64): New inline function for this case.
56007         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56008         * bits/byteswap.h: Likewise.
56009         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
56010         ull, guard with __GLIBC_HAVE_LONG_LONG.
56012         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
56013         __GLIBC_HAVE_LONG_LONG.
56015         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
56016         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
56018 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56020         [BZ #13691]
56021         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
56022         inptr and inend, rather than using last_ch.
56024 2012-04-02  David S. Miller  <davem@davemloft.net>
56026         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
56027         * stdio-common/printf-parse.h (read_int): Change return type to
56028         'int', return -1 on INT_MAX overflow.
56029         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
56030         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
56031         overflows INT_MAX.  Check for overflow of in-format-string precision
56032         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
56033         SIZE_MAX not INT_MAX for integer overflow test.
56034         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
56035         skip the construct in the format string but do not record anything.
56036         * stdio-common/bug22.c: Adjust to test both width/prevision
56037         INT_MAX overflow as well as total length INT_MAX overflow.  Check
56038         explicitly for proper errno values.
56040 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
56042         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
56043         CHAR_MAX.
56044         * string/test-strcmp.c [! WIDE]: Likewise.
56045         * time/tst-mktime2.c: Likewise for INT_MAX.
56046         * string/test-string.h: #include <sys/param.h> for MIN.
56048         * csu/init-first.c (__libc_init_first): Call __ctype_init.
56049         * sysdeps/i386/init-first.c (init): Likewise.
56050         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
56051         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
56052         * sysdeps/sh/init-first.c (init): Likewise.
56054 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
56056         * po/ru.po: Update from translation team.
56057         * po/vi.po: Likewise.
56059 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56061         * resolv/nss_dns/dns-host.c: Merge copyright years.
56063 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56065         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56066         Optimize memcpy with prefetch if
56067         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
56068         src, dst pointers have unequal 16 byte alignments.
56070 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56072         [BZ #13928]
56073         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
56074         from a CNAME entry and return the minimum ttl for the query.
56075         (gaih_getanswer_slice): Likewise.
56077 2012-03-30  Jeff Law  <law@redhat.com>
56079         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
56080         due to long keys.
56081         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
56082         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
56084         * resolv/nss_dns/dns-host.c: Update copyright year.
56086 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
56088         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
56089         requests to save a system call.  Fix check that all bytes are sent.
56091         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
56092         comments for sendmmsg.
56094 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56096         [BZ #13691]
56097         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
56098         with only 1 character between 0x0041 and 0x01b0.
56099         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
56100         * wcsmbs/tst-mbsnrtowcs.c: New file.
56102 2012-03-29  David S. Miller  <davem@davemloft.net>
56104         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
56105         small copies by hand.
56107 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56109         [BZ #13761]
56110         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
56111         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
56112         group memberships.
56114 2012-03-28  David S. Miller  <davem@davemloft.net>
56116         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
56117         that branches into memcpy.
56118         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
56119         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
56120         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56121         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
56122         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
56123         bits.
56124         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
56125         implementation too.
56126         * sysdeps/sparc/mempcpy.S: New file.
56128         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
56129         the IFUNC routine in the libc case.
56130         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56132         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
56133         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
56134         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
56135         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
56136         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
56137         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
56138         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
56139         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
56141         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
56142         loop to 256 bytes instead of 64 bytes and fix test signedness.
56144         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
56145         * sysdeps/sparc/sparc32/Makefile: rather than here...
56146         * sysdeps/sparc/sparc64/Makefile: and here.
56148 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
56150         * malloc/mallocbug.c: Avoid warnings about unused variables.
56152 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
56154         [BZ #13760]
56155         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
56156         in the right place. Discard and retry query if response is
56157         larger than input buffer size.
56159 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
56161         [BZ #369]
56162         [BZ #2678]
56163         [BZ #3866]
56164         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
56165         x for large integer exponent.
56166         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
56167         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
56168         sign of result as needed afterwards.
56169         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
56170         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
56171         result for underflowing pow the same as for overflow.
56172         (__kernel_standard_l): Handle powl overflow and underflow here
56173         rather than calling __kernel_standard.
56174         * math/libm-test.inc (pow_test): Add more tests.
56176         [BZ #3868]
56177         [BZ #13879]
56178         [BZ #13910]
56179         [BZ #13911]
56180         [BZ #13912]
56181         [BZ #13913]
56182         [BZ #13915]
56183         [BZ #13916]
56184         [BZ #13917]
56185         [BZ #13918]
56186         [BZ #13919]
56187         [BZ #13920]
56188         [BZ #13921]
56189         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
56190         * sysdeps/ieee754/k_standard.c: Include <float.h>.
56191         (__kernel_standard_l): New function.
56192         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
56193         __kernel_standard.
56194         * math/w_acosl.c (__acosl): Likewise.
56195         * math/w_asinl.c (__asinl): Likewise.
56196         * math/w_atan2l.c (__atan2l): Likewise.
56197         * math/w_atanhl.c (__atanhl): Likewise.
56198         * math/w_coshl.c (__coshl): Likewise.
56199         * math/w_exp10l.c (__exp10l): Likewise.
56200         * math/w_exp2l.c (__exp2l): Likewise.
56201         * math/w_fmodl.c (__fmodl): Likewise.
56202         * math/w_hypotl.c (__hypotl): Likewise.
56203         * math/w_j0l.c (__j0l, __y0l): Likewise.
56204         * math/w_j1l.c (__j1l, __y1l): Likewise.
56205         * math/w_jnl.c (__jnl, __ynl): Likewise.
56206         * math/w_lgammal.c (__lgammal): Likewise.
56207         * math/w_log10l.c (__log10l): Likewise.
56208         * math/w_log2l.c (__log2l): Likewise.
56209         * math/w_logl.c (__logl): Likewise.
56210         * math/w_powl.c (__powl): Likewise.
56211         * math/w_remainderl.c (__remainderl): Likewise.
56212         * math/w_scalbl.c (sysv_scalbl): Likewise.
56213         * math/w_sinhl.c (__sinhl): Likewise.
56214         * math/w_sqrtl.c (__sqrtl): Likewise.
56215         * math/w_tgammal.c (__tgammal): Likewise.
56216         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
56217         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
56218         * math/libm-test.inc (acos_test): Add more tests.
56219         (acosh_test): Likewise.
56220         (asin_test): Likewise.
56221         (atanh_test): Likewise.
56222         (exp_test): Likewise.
56223         (exp10_test): Likewise.
56224         (exp2_test): Likewise.
56225         (expm1_test): Likewise.
56226         (lgamma_test): Likewise.
56227         (log_test): Likewise.
56228         (log10_test): Likewise.
56229         (log1p_test): Likewise.
56230         (log2_test): Likewise.
56231         (pow_test): Do not allow some spurious overflow exceptions.
56232         (sqrt_test): Add more tests.
56233         (tgamma_test): Likewise.
56234         (y0_test): Likewise.
56235         (y1_test): Likewise.
56236         (yn_test): Likewise.
56238 2012-03-27  Anton Blanchard  <anton@samba.org>
56240         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
56241         MAP_HUGETLB.
56242         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56243         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56244         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56246 2012-03-27  David S. Miller  <davem@davemloft.net>
56248         * conform/Makefile: Run run-conformtest.sh using $(BASH).
56250         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
56251         have-as-vis3 check.
56253 2012-03-27  Andreas Jaeger  <aj@suse.de>
56255         * sysdeps/x86_64/elf/configure.in: Moved to ...
56256         * sysdeps/x86_64/configure.in: ... here.
56257         * sysdeps/x86_64/elf/start.S: Moved to ...
56258         * sysdeps/x86_64/start.S: ... here.
56259         * sysdeps/x86_64/elf/configure: Delete.
56261         * sysdeps/x86_64/configure.in: Merge contents from
56262         sysdeps/i386/configure.in (without i686 check).
56264         * sysdeps/i386/elf/Versions: Merge into ...
56265         * sysdeps/i386/Versions: ... this.
56266         * sysdeps/i386/elf/Versions: Delete file.
56267         * sysdeps/i386/elf/start.S: Moved to ...
56268         * sysdeps/i386/start.S: ...here.
56269         * sysdeps/i386/elf/configure.in: Merge into...
56270         * sysdeps/i386/configure.in: ...here.
56271         * sysdeps/i386/elf/configure.in: Delete file.
56272         * sysdeps/i386/elf/configure: Delete file.
56274         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
56275         * debug/backtracesyms.c: ... here.
56276         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
56277         * debug/backtracesymsfd.c: ... here.
56278         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
56279         * sysdeps/generic/ifunc-sel.h: ... here.
56281         * sysdeps/unix/i386/start.c: Delete file.
56282         * sysdeps/unix/sparc/start.c: Delete file.
56283         * sysdeps/unix/start.c: Delete file.
56285         * sysdeps/sh/elf/configure.in: Moved to ...
56286         * sysdeps/sh/configure.in: ... here.
56287         * sysdeps/sh/elf/start.S: Moved to ...
56288         * sysdeps/sh/start.S: ... here.
56289         * sysdeps/sh/elf/configure: Delete file.
56291         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
56292         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
56293         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
56294         * sysdeps/powerpc/powerpc64/entry.h: ... here.
56295         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
56296         * sysdeps/powerpc/powerpc64/start.S: here.
56297         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
56298         * sysdeps/powerpc/powerpc64/Makefile: ... this.
56299         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
56300         * sysdeps/powerpc/powerpc64/configure.in: ... this.
56301         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
56303         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
56304         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
56305         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
56306         * sysdeps/powerpc/powerpc32/start.S: ... here.
56307         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
56308         * sysdeps/powerpc/powerpc32/configure.in: ... this.
56309         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
56311         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
56312         * sysdeps/powerpc/ifunc-sel.h: ... here.
56313         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
56314         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
56316         * sysdeps/sparc/elf/configure.in: Moved to ...
56317         * sysdeps/sparc/configure.in: ... here.
56318         * sysdeps/sparc/elf/configure: Delete file.
56319         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
56320         * sysdeps/sparc/sparc32/start.S: ... here.
56321         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
56322         * sysdeps/sparc/sparc64/start.S: ... here.
56323         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
56324         * sysdeps/sparc/sparc32/Makefile: ... this.
56325         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
56326         * sysdeps/sparc/sparc64/Makefile: ... this.
56328         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
56329         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
56330         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
56331         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
56332         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
56333         * sysdeps/s390/s390-32/setjmp.S: ... here.
56334         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
56335         * sysdeps/s390/s390-32/configure.in: ... here.
56336         * sysdeps/s390/s390-32/elf/configure: Delete file.
56337         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
56338         * sysdeps/s390/s390-32/start.S: ... here.
56340         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
56341         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
56342         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
56343         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
56344         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
56345         * sysdeps/s390/s390-64/setjmp.S: ... here.
56346         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
56347         * sysdeps/s390/s390-64/configure.in: ... here
56348         * sysdeps/s390/s390-64/elf/configure: Delete file.
56349         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
56350         * sysdeps/s390/s390-64/start.S: ... here.
56351         * sysdeps/s390/s390-64/elf/configure: Delete.
56353         * configure.in: Remove support for elf directories in sysdeps.
56355         * configure: Regenerated.
56356         * sysdeps/i386/configure: Regenerated.
56357         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56358         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56359         * sysdeps/s390/s390-32/configure: Regenerated.
56360         * sysdeps/s390/s390-64/configure: Regenerated.
56361         * sysdeps/sh/configure: Regenerated.
56362         * sysdeps/sparc/configure: Regenerated.
56363         * sysdeps/x86_64/configure: Regenerated.
56365 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
56367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56369         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
56370         denormal result into account.
56372 2012-03-25  Roland McGrath  <roland@hack.frob.com>
56374         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
56375         Reported by Allan McRae <allan@archlinux.org>.
56377 2012-03-23  Jeff Law  <law@redhat.com>
56379         * nss/getnssent.c (__nss_getent): Fix typo.
56381 2012-03-23  David S. Miller  <davem@davemloft.net>
56383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56385 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
56387         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
56388         to pad to uint64_t for each field.
56389         (dl_tls_index): Replace unsigned long with uint64_t.
56391 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
56392         Paul Pluzhnikov  <ppluzhnikov@google.com>
56394         [BZ #6528]
56395         * grp/Makefile (otherlibs): Don't set it.
56396         * inet/Makefile (otherlibs): Likewise.
56397         * login/Makefile (otherlibs): Likewise.
56398         * nscd/Makefile (otherlibs): Likewise.
56399         * posix/Makefile (otherlibs): Likewise.
56400         * pwd/Makefile (otherlibs): Likewise.
56401         * rt/Makefile (otherlibs): Likewise.
56402         * sunrpc/Makefile (otherlibs): Likewise.
56403         * nss/Makefile (otherlibs): Likewise.
56404         Add libnss_files to routines and static-only-routines.
56405         ($(objpfx)getent): Remove rule.
56406         * resolv/Makefile: Add libnss_dns and libresolv to routines and
56407         static-only-routines.
56409 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
56411         [BZ #13892]
56412         * math/s_cexp.c: Include <float.h>.
56413         (__cexp): Handle exp result overflowing not necessarily
56414         overflowing both real and imaginary parts of result.
56415         * math/s_cexpf.c: Likewise.
56416         * math/s_cexpl.c: Likewise.
56417         * math/libm-test.inc (cexp_test): Add more tests.
56418         * sysdeps/i386/fpu/libm-test-ulps: Update.
56419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56421 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
56423         * include/link.h (ELFW): New macro.
56424         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
56425         Replace ELF64_R_TYPE with ELFW(R_TYPE).
56427 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
56429         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
56430         with uint64_t.
56432 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
56434         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
56435         declaration.
56436         (struct La_x32_retval): Likewise.
56438 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
56440         * sysdeps/x86_64/preconfigure.in: New file.
56441         * sysdeps/x86_64/preconfigure: New generated file.
56443 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
56445         [BZ #13824]
56446         * math/e_exp2l.c: Include <float.h>.
56447         (__ieee754_exp2l): Handle overflow and underflow cases
56448         separately.  Only pass fractional part of argument to
56449         __ieee754_expl.
56450         * math/libm-test.inc (exp2_test): Add more tests.
56452         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
56453         negating x to take absolute value.
56454         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
56455         Likewise.
56456         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56457         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
56458         Likewise.
56459         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
56460         computing low part if x was negated.
56461         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56463 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
56465         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
56466         la_x32_gnu_pltexit.
56467         (pltexit): Cast int_retval to ptrdiff_t.
56468         * elf/tst-auditmod3b.c: Likewise.
56469         * elf/tst-auditmod4b.c: Likewise.
56470         * elf/tst-auditmod5b.c: Likewise.
56471         * elf/tst-auditmod6b.c: Likewise.
56472         * elf/tst-auditmod6c.c: Likewise.
56473         * elf/tst-auditmod7b.c: Likewise.
56475         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
56476         and x32_gnu_pltexit.
56478         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
56479         __ELF_NATIVE_CLASS.
56480         (La_x32_regs): New macro.
56481         (La_x32_retval): Likewise.
56482         (la_x32_gnu_pltenter): New function prototype.
56483         (la_x32_gnu_pltexit): Likewise.
56485 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
56487         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
56488         exponent.
56490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56492         * configure.in (libc_cv_cc_nofma): Check for option to disable
56493         generation of FMA instructions.
56494         * configure: Regenerate.
56495         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
56496         * sysdeps/ieee754/dbl-64/Makefile: New file.
56497         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
56498         Remove brandred-fma4.
56499         (CFLAGS-brandred-fma4.c): Remove.
56500         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
56501         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
56502         define.
56503         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
56504         define.
56506 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
56508         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56509         LLONG_MAX != LONG_MAX.
56510         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56511         (_fitoa_word): Likewise.
56512         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
56513         LLONG_MAX != LONG_MAX.
56514         * stdio-common/_itowa.h: Include <_itoa.h>.
56515         (_itowa_word): Use _ITOA_WORD_TYPE on value.
56516         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
56517         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
56518         only if not defined.
56519         (_ITOA_WORD_TYPE): Likewise.
56520         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56521         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
56523 2012-03-21  David S. Miller  <davem@davemloft.net>
56525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56527 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
56529         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
56530         of x86_64 when setting libc_cv_slibdir, libdir and
56531         libc_cv_localedir.
56532         * sysdeps/unix/sysv/linux/configure: Regenerated.
56534 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
56536         * manual/lang.texi (Old Varargs): Remove section.
56537         (How Variadic): Update menu.
56538         (va_start): Do not mention varargs.h.
56540 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56541             Joseph Myers  <joseph@codesourcery.com>
56543         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
56544         link test.
56545         * configure: Regenerated.
56547 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56549         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
56550         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
56551         conformtest.pl
56553 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
56555         * NOTES: Remove.
56556         * Makefile (files-for-dist): Remove NOTES.
56557         (NOTES): Remove rule.
56558         * README: Don't refer to NOTES.
56559         * manual/creature.texi: Don't include macros.texi.
56560         * manual/intro.texi (creature.texi): Remove comment referring to
56561         NOTES.
56563         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
56564         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
56565         * configure: Regenerated.
56566         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
56567         LIBC_TRY_CC_OPTION.
56568         (libc_cv_as_i686): Likewise.
56569         (libc_cv_cc_avx): Likewise.
56570         (libc_cv_cc_sse2avx): Likewise.
56571         (libc_cv_cc_fma4): Likewise.
56572         (libc_cv_cc_novzeroupper): Likewise.
56573         * sysdeps/i386/configure: Regenerated.
56575         [BZ #13883]
56576         * sysdeps/i386/fpu/s_cexp.S: Remove.
56577         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56578         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56579         * math/libm-test.inc (cexp_test): Add more tests.
56580         * sysdeps/i386/fpu/libm-test-ulps: Update.
56581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56583 2012-03-21  Allan McRae  <allan@archlinux.org>
56585         * timezone/Makefile: Do not install iso3166.tab and zone.tab
56587 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
56589         [BZ #13871]
56590         * math/w_exp2.c: Do not include <float.h>.
56591         (o_threshold, u_threshold): Remove.
56592         (__exp2): Calculate result before checking finiteness and calling
56593         __kernel_standard.
56594         * math/w_exp2f.c: Likewise.
56595         * math/w_exp2l.c: Likewise.
56596         * math/libm-test.inc (exp2_test): Require overflow exception for
56597         1e6 input.
56599         [BZ #3866]
56600         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
56601         range of signed 64-bit integers before using fistpll.  Remove
56602         checks for whether integers fit in mantissa bits.
56603         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
56604         the range of signed 32-bit integers before using fistpl.  Remove
56605         checks for whether integers fit in mantissa bits.
56606         * sysdeps/i386/fpu/e_powl.S (p64): New object.
56607         (__ieee754_powl): Test for y outside the range of signed 64-bit
56608         integers before using fistpll.  Reduce 64-bit values to 63-bit
56609         ones as needed.
56610         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
56611         divide-by-zero is raised for zero to large negative powers.
56612         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
56613         (__ieee754_powl): Test for y outside the range of signed 64-bit
56614         integers before using fistpll.  Reduce 64-bit values to 63-bit
56615         ones as needed.
56616         * math/libm-test.inc (pow_test): Add more tests.
56618 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56620         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
56621         <stdio-common/_itoa.h>.
56622         * debug/segfault.c: Likewise.
56623         * elf/dl-cache.c: Likewise.
56624         * elf/dl-minimal.c: Likewise.
56625         * elf/dl-misc.c: Likewise.
56626         * elf/dl-sysdep.c: Likewise.
56627         * elf/dl-version.c: Likewise.
56628         * elf/rtld.c: Likewise.
56629         * hurd/hurdsock.c: Likewise.
56630         * hurd/lookup-retry.c: Likewise.
56631         * malloc/malloc.c: Likewise.
56632         * malloc/mtrace.c: Likewise.
56633         * nscd/nscd_getgr_r.c: Likewise.
56634         * nscd/nscd_getpw_r.c: Likewise.
56635         * nscd/nscd_getserv_r.c: Likewise.
56636         * posix/getopt_init.c: Likewise.
56637         * posix/wordexp.c: Likewise.
56638         * stdio-common/_itoa.c: Likewise.
56639         * stdio-common/printf_fphex.c: Likewise.
56640         * stdio-common/vfprintf.c: Likewise.
56641         * string/_strerror.c: Likewise.
56642         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
56643         * sysdeps/i386/i686/hp-timing.h: Likewise.
56644         * sysdeps/mach/_strerror.c: Likewise.
56645         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
56646         * sysdeps/mach/hurd/sethostid.c: Likewise.
56647         * sysdeps/mach/hurd/xmknodat.c: Likewise.
56648         * sysdeps/mach/xpg-strerror.c: Likewise.
56649         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56650         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56651         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
56652         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
56653         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56654         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
56655         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
56656         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
56657         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
56658         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
56659         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
56660         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56661         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
56662         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
56663         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
56664         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
56665         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
56666         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
56667         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
56668         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
56669         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
56671         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
56673         * stdio-common/_itoa.h: Moved to ...
56674         * sysdeps/generic/_itoa.h: Here.
56676         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
56678         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
56679         instead of "_itoa.h" and "_itowa.h".
56680         * stdio-common/vfprintf.: Likewise.
56682 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56684         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
56685         <bits/wordsize.h>.
56686         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
56687         (__signbit): Likwise.
56688         (llrintf): Likwise.
56689         (llrint): Likwise.
56691 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56693         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
56694         __WORDSIZE != 64.
56696 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
56698         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
56699         OVERFLOW_EXCEPTION_OK.
56700         * math/libm-test.inc ("Philosophy"): Update comment about
56701         exception testing.
56702         (OVERFLOW_EXCEPTION): Define.
56703         (OVERFLOW_EXCEPTION_OK): Likewise.
56704         (INVALID_EXCEPTION_OK): Renumber.
56705         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56706         (IGNORE_ZERO_INF_SIGN): Likewise.
56707         (test_exceptions): Handle FE_OVERFLOW.
56708         (exp10_test): Expect overflow exceptions.
56709         (exp2_test): Likewise.
56710         (expm1_test): Likewise.
56711         (nextafter_test): Likewise.
56712         (pow_test): Likewise.
56713         (scalbn_test): Likewise.
56714         (scalbln_test): Likewise.
56716 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56718         * sysdeps/x86_64/bits/atomic.h
56719         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
56720         64bit integer.
56721         (atomic_exchange_acq): Likewise.
56722         (__arch_exchange_and_add_body): Likewise.
56723         (__arch_add_body): Likewise.
56724         (atomic_add_negative): Likewise.
56725         (atomic_add_zero): Likewise.
56727 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56729         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
56730         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
56732 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56734         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
56735         Check __x86_64__ instead of __WORDSIZE.
56737 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56739         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
56741 2012-03-19  David S. Miller  <davem@davemloft.net>
56743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56745         * sysdeps/sparc/fpu/fenv_private.h: New file.
56746         * sysdeps/sparc/fpu/math_private.h: Use it.
56747         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
56748         Remove.
56749         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
56750         (libc_feholdexcept_setroundl): Remove.
56751         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
56752         Remove.
56753         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
56754         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
56756 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56758         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
56759         int64_t instead of long int.
56760         (INSERT_WORDS64): Likwise.
56762 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56764         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
56765         _Unwind_GetCFA return to _Unwind_Ptr first.
56767 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
56769         [BZ #13629]
56770         * math/s_clog.c: Include <float.h>.
56771         (__clog): Scale large or subnormal inputs.
56772         * math/s_clogf.c: Likewise.
56773         * math/s_clogl.c: Likewise.
56774         * math/s_clog10.c: Include <float.h>.
56775         (M_LOG10_2): Define.
56776         (__clog10): Scale large or subnormal inputs.
56777         * math/s_clog10f.c: Likewise.
56778         * math/s_clog10l.c: Likewise.
56779         * math/libm-test.inc (clog_test): Add more tests.
56780         (clog10_test): Likewise.
56781         * sysdeps/i386/fpu/libm-test-ulps: Update.
56782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56784         [BZ #11451]
56785         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
56786         x and y.
56787         * math/libm-test.inc (atan2_test): Add another test.
56789         * Makerules (common-objdir-compile): Remove.
56790         * sysdeps/unix/Makefile (config-generated): Do not add
56791         $(unix-generated) to variable.
56792         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
56793         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
56794         Remove rule.
56795         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
56796         Likewise.
56797         [generic bits/local_lim.h] (before-compile): Do not append to
56798         variable.
56799         [generic bits/local_lim.h] (common-generated): Likewise.
56800         [generic sys/param.h] (before-compile): Do not append to variable.
56801         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
56802         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
56803         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
56804         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
56805         include.
56806         [generic sys/param.h] (sys/param.h-includes): Remove variable.
56807         [generic sys/param.h] (sys/param.h-includes): Remove rule.
56808         [generic sys/param.h] ($(addprefix
56809         $(common-objpfx),$(sys/param.h-includes))): Likewise.
56810         [generic sys/param.h] (common-generated): Do not append to
56811         variable.
56812         [generic sys/param.h] (sysdep_headers): Likewise.
56813         [generic bits/errno.h] (before-compile): Do not append to
56814         variable.
56815         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
56816         rule.
56817         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
56818         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
56819         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
56820         [generic bits/errno.h] (common-generated): Do not append to
56821         variable.
56822         [generic bits/ioctls.h] (before-compile): Do not append to
56823         variable.
56824         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
56825         rule.
56826         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
56827         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
56828         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
56829         rule.
56830         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
56831         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
56832         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
56833         [generic bits/ioctls.h] (common-generated): Do not append to
56834         variable.
56835         [generic sys/syscall.h] (syscall.h): Remove variable.
56836         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56837         rule.
56838         [generic sys/syscall.h] (before-compile): Do not append to
56839         variable.
56840         [generic sys/syscall.h] (common-generated): Likewise.
56841         * sysdeps/unix/errnos-tmpl.c: Remove file.
56842         * sysdeps/unix/errnos.awk: Likewise.
56843         * sysdeps/unix/ioctls-tmpl.c: Likewise.
56844         * sysdeps/unix/ioctls.awk: Likewise.
56845         * sysdeps/unix/mk-local_lim.c: Likewise.
56846         * sysdeps/unix/snarf-ioctls: Likewise.
56848 2012-03-19  Richard Henderson  <rth@twiddle.net>
56850         * sysdeps/i386/fpu/fenv_private.h: New file.
56851         * sysdeps/i386/fpu/math_private.h: Use it.
56852         (math_opt_barrier, math_force_eval): Remove.
56853         (libc_feholdexcept_setround_53bit): Remove.
56854         (libc_feupdateenv_53bit): Remove.
56855         * sysdeps/x86_64/fpu/math_private.h: Likewise.
56856         (math_opt_barrier, math_force_eval): Remove.
56857         (libc_feholdexcept): Remove.
56858         (libc_feholdexcept_setround): Remove.
56859         (libc_fetestexcept, libc_fesetenv): Remove.
56860         (libc_feupdateenv_test): Remove.
56861         (libc_feupdateenv, libc_feholdsetround): Remove.
56862         (libc_feresetround): Remove.
56864         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
56865         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
56867         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
56868         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
56869         (libc_feupdateenv_testl): New.
56870         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
56871         (libc_feupdateenv_testf): New.
56872         (libc_feupdateenv): Use libc_feupdateenv_test.
56873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
56874         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
56876         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
56877         (libc_feholdsetroundf, libc_feholdsetroundl): New.
56878         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
56879         (libc_feresetround_noex): New.
56880         (libc_feresetround_noexf): New.
56881         (libc_feresetround_noexl): New.
56882         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
56883         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
56884         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
56885         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
56886         SET_RESTORE_ROUND.
56887         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56888         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
56889         (__cos): Likewise.
56890         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
56891         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
56892         SET_RESTORE_ROUND_NOEX.
56893         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
56894         SET_RESTORE_ROUND_NOEXF.
56895         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
56896         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
56897         (libc_feholdsetroundf): New.
56898         (libc_feresetround, libc_feresetroundf): New.
56900         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
56901         (libc_feholdexcept_setround_53bit): Convert from macro to function.
56902         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
56904         * sysdeps/generic/math_private.h: Include <fenv.h>.
56905         (default_libc_feholdexcept): New.
56906         (default_libc_feholdexcept_setround): New.
56907         (default_libc_fesetenv, default_libc_feupdateenv): New.
56908         (libc_feholdexcept): Only define if undefined.
56909         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
56910         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
56911         (libc_feholdexcept_setroundl): Likewise.
56912         (libc_feholdexcept_setround_53bit): Likewise.
56913         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
56914         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
56915         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
56916         (libc_feupdateenv_53bit): Likewise.
56917         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
56918         (libc_feholdexcept): Convert from macro to inline function.
56919         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56920         (libc_fesetenv, libc_feupdateenv): Likewise.
56922         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
56923         not previously defined.
56924         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
56925         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
56926         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
56927         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
56928         * sysdeps/ieee754/flt-32/math_private.h: New file.
56929         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
56930         math_private.h below SET_FLOAT_WORD.
56931         (__isnan, __isinf_ns, __finite): Remove.
56932         (__isnanf, __isinf_nsf, __finitef): Remove.
56934 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
56936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56938 2012-03-17  David S. Miller  <davem@davemloft.net>
56940         [BZ #6471]
56941         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
56942         for 2.16.
56944 2012-03-16  David S. Miller  <davem@davemloft.net>
56946         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56947         warnings.
56949         [BZ #6471]
56950         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56951         properly.
56952         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56953         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56954         sysdep_routines when subdir is sysvipc.
56955         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56956         __getshmlba helper.
56958         * sysdeps/sparc/fpu/libm-test/ulps: Update.
56960 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56962         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56963         [__LP64__].
56965 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56967         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56968         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56969         (__lround): Renamed to ...
56970         (__llround): This.  Replace long int with long long int.
56971         Define lround functions as aliases of llround functions.
56972         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56974 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56976         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56977         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
56978         adresses to uintptr_t.  Replace "long int" and "unsigned long
56979         int" with "greg_t" on va_arg.
56981 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56983         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56984         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56986         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56987         Move e_machine check before EI_CLASS check.  Handle x32
56988         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56989         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56990         SKIP_EM_IA_64 and include
56991         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56993         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56994         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56995         (add_system_dir): New macro.
56997         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56998         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
57000 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
57002         [BZ #2551]
57003         [BZ #2552]
57004         [BZ #2553]
57005         [BZ #2554]
57006         [BZ #2562]
57007         [BZ #2563]
57008         [BZ #2565]
57009         [BZ #2566]
57010         [BZ #2576]
57011         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
57012         (y0): Likewise.
57013         * math/w_j0f.c (j0f): Likewise.
57014         (y0f): Likewise.
57015         * math/w_j0l.c (__j0l): Likewise.
57016         (__y0l): Likewise.
57017         * math/w_j1.c (j1): Likewise.
57018         (y1): Likewise.
57019         * math/w_j1f.c (j1f): Likewise.
57020         (y1f): Likewise.
57021         * math/w_j1l.c (__j1l): Likewise.
57022         (__y1l): Likewise.
57023         * math/w_jn.c (jn): Likewise.
57024         (yn): Likewise.
57025         * math/w_jnf.c (jnf): Likewise.
57026         (ynf): Likewise.
57027         * math/w_jnl.c (__jnl): Likewise.
57028         (__ynl): Likewise.
57029         * math/libm-test.inc (j0_test): Add more tests.
57030         (j1_test): Likewise.
57031         (jn_test): Likewise.  Add trailing semicolon to existing test.
57032         (y0_test): Likewise.
57033         (y1_test): Likewise.
57034         * sysdeps/i386/fpu/libm-test-ulps: Update.
57035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57037         [BZ #13851]
57038         [BZ #13854]
57039         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
57040         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
57041         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
57042         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
57043         (__tanl): Set errno for infinite argument.
57044         * sysdeps/i386/fpu/mptan.c: Remove.
57045         * sysdeps/i386/fpu/s_tan.S: Likewise.
57046         * sysdeps/i386/fpu/s_tanl.S: Likewise.
57047         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
57048         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
57049         * math/libm-test.inc (tan_test): Add more tests and enable more
57050         tests for double and long double.
57051         * sysdeps/i386/fpu/libm-test-ulps: Update.
57052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57054 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
57056         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
57057         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
57059 2012-03-16  Roland McGrath  <roland@hack.frob.com>
57061         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
57062         * configure.in: Use it for both main tree and add-ons.
57063         * configure: Regenerated.
57065 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
57067         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
57069 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
57071         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
57072         in comment.
57074         [BZ #13851]
57075         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
57076         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
57077         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
57078         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
57079         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
57080         infinite argument.
57081         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
57082         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
57083         != 0 for prec == 2.
57084         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
57085         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
57086         * sysdeps/i386/fpu/s_cosl.S: Likewise.
57087         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
57088         * sysdeps/i386/fpu/s_sinl.S: Likewise.
57089         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
57090         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
57091         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
57092         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
57093         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
57094         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
57095         * math/libm-test.inc (cos_test): Add more tests and enable more
57096         tests for long double.
57097         (sin_test): Likewise.
57098         (sincos_test): Likewise.
57099         * sysdeps/i386/fpu/libm-test-ulps: Update.
57100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57102 2012-03-16  David S. Miller  <davem@davemloft.net>
57104         * sysdeps/sparc/fpu/math_private.h: New file.
57106 2012-03-15  David S. Miller  <davem@davemloft.net>
57108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
57109         file.
57110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
57111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
57112         file.
57113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
57114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
57115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
57116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
57117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
57118         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
57119         sysdep routines.
57120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
57122         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
57123         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
57125         * sysdeps/sparc/sparc-ifunc.h: New file.
57126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
57127         sparc-ifunc.h
57128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
57129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
57130         Likewise.
57131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
57132         Likewise.
57133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
57134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
57135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
57137         Likewise.
57138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
57139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
57140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
57141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
57142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
57143         Likewise.
57144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
57145         Likewise.
57146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
57147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
57148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
57149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
57150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
57151         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
57152         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
57153         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
57154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
57155         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
57157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
57158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
57159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
57160         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
57161         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
57162         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
57163         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
57164         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
57165         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
57166         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
57167         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
57168         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
57169         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
57171 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
57173         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
57174         scaling.
57175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57177 2012-03-15  Andreas Jaeger  <aj@suse.de>
57179         [BZ #13852]
57180         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
57181         ieee754/flt-32 implementation for sin, cos and sincos.
57182         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
57183         * sysdeps/i386/fpu/s_cosf.S: Likewise.
57184         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
57185         * sysdeps/i386/fpu/s_sinf.S: Likewise.
57186         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
57187         ieee754/flt-32 implementation for tan.
57189         * math/libm-test.inc (cos_test): Enable some large input tests for
57190         float as well
57191         (sin_test): Likewise.
57192         (sincos_test): Likewise.
57193         (tan_test): Add tests for large input.
57195         * sysdeps/i386/fpu/libm-test-ulps: Update.
57197 2012-03-15  Andreas Jaeger  <aj@suse.de>
57199         [BZ #13658]
57200         * math/libm-test.inc (cos_test): Add more test cases.
57201         (sin_test): Likewise.
57202         (sincos_test): Likewise.
57204 2012-03-15  Andreas Jaeger  <aj@suse.de>
57206         [BZ #13837]
57207         * math/libm-test.inc (cos_test): Add a test case for large input
57208         value.
57209         (sin_test): Likewise.
57210         (sincos_test): Likewise.
57212 2012-03-15  Andreas Jaeger  <aj@suse.de>
57213             Joseph Myers  <joseph@codesourcery.com>
57215         [BZ #13658]
57216         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
57217         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
57218         * sysdeps/i386/fpu/branred.c: Likewise.
57219         * sysdeps/i386/fpu/dosincos.c: Likewise.
57220         * sysdeps/i386/fpu/mpa.c: Likewise.
57221         * sysdeps/i386/fpu/s_cos.S: Likewise.
57222         * sysdeps/i386/fpu/s_sin.S: Likewise.
57223         * sysdeps/i386/fpu/s_sincos.S: Likewise.
57224         * sysdeps/i386/fpu/sincos32.c: Likewise.
57226         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
57227         Define.
57228         (libc_feupdateenv_53bit): Define.
57229         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
57230         Define.
57231         (libc_feupdateenv_53bit): Define.
57233         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
57234         53 bit (without extend i386 double precision).
57236         * math/libm-test.inc (sincos_test): Add tests for large input.
57237         (sin): Likewise.
57238         (cos): Likewise.
57240         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
57242 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
57244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57246 2012-03-15  David S. Miller  <davem@davemloft.net>
57248         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
57249         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
57250         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
57251         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
57252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
57253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
57254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
57255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
57256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
57257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
57258         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
57259         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
57260         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
57261         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
57262         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
57263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
57264         file.
57265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
57266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
57267         file.
57268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
57269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
57270         file.
57271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
57272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
57273         file.
57274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
57275         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
57276         fmin/fmax sysdep routines.
57277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
57279 2012-03-14  David S. Miller  <davem@davemloft.net>
57281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
57282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
57283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
57284         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
57285         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
57286         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
57287         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
57288         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
57289         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
57290         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
57291         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
57292         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
57293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
57294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
57295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
57296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
57297         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
57298         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
57299         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
57300         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
57301         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
57302         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
57303         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
57304         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
57305         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
57306         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
57307         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
57308         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
57309         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
57310         routines.
57311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
57312         file.
57313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
57314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
57315         file.
57316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
57317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
57318         file.
57319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
57320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
57321         file.
57322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
57323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
57324         file.
57325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
57326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
57327         file.
57328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
57329         file.
57330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
57331         file.
57332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
57333         file.
57334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
57335         New file.
57336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
57337         file.
57338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
57339         file.
57340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
57341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
57342         file.
57343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
57344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
57345         file.
57346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
57347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
57348         file.
57349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
57350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
57351         VIS3 routines.
57353         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57354         New file.
57356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57358         * sysdeps/sparc/configure.in: New file.
57359         * sysdeps/sparc/configure: Generate.
57360         * configure.in (libc_cv_sparc_as_vis3): Substitute.
57361         * configure: Regenerate.
57362         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
57363         * config.make.in (have-as-vis3): New.
57364         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
57365         available use -Av9d instead of -Av9a.
57366         * sysdeps/sparc/sparc64/Makefile: Likewise.
57367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
57368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
57369         New file.
57370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
57371         file.
57372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
57373         New file.
57374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
57375         file.
57376         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
57377         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
57378         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
57379         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
57380         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
57382         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
57383         fzeros/fnegs to load 0x80000000 into a float register instead of
57384         using the stack.
57385         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
57387 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
57389         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57390         bits/syscall.h.
57391         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
57392         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
57393         ($(inst_includedir)/bits/syscall.h): Remove rule.
57394         ($(objpfx)bits/syscall.d): Include instead of
57395         $(objpfx)syscall-list.d.
57396         (generated): Change syscall-list.h and syscall-list.d to
57397         bits/syscall.h and bits/syscall.d.
57399 2012-03-14  Roland McGrath  <roland@hack.frob.com>
57401         [BZ #13846]
57402         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
57404 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
57406         [BZ #13841]
57407         * math/s_csqrt.c: Include <float.h>.
57408         (__csqrt): Scale large or subnormal inputs.
57409         * math/s_csqrtf.c: Likewise.
57410         * math/s_csqrtl.c: Likewise.
57411         * math/libm-test.inc (csqrt_test): Add more tests.
57412         * sysdeps/i386/fpu/libm-test-ulps: Update.
57413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57415         [BZ #13840]
57416         * math/libm-test.inc (hypot_test): Add more tests.
57418 2012-03-13  David S. Miller  <davem@davemloft.net>
57420         [BZ #13840]
57421         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
57422         double-precision for the calculation instead of scaling.
57424 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
57426         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
57427         manipulate bits before adding and subtracting TWO52[sx].
57428         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
57429         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
57430         Likewise.
57431         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
57433 2012-03-13  David S. Miller  <davem@davemloft.net>
57435         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
57436         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
57437         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
57438         rtld-global-offsets.h
57439         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57441         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
57442         large parameters.
57444         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
57446         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
57447         'err' in the ifdef scope in which it is actually used.
57449         * nss/nss_db/db-init.c: Include string.h
57451 2012-03-12  David S. Miller  <davem@davemloft.net>
57453         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57454         masking out of the most significant byte of random value used.
57455         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57456         Fix coding style in previous change.
57458         * sysdeps/unix/sysv/linux/kernel-features.h
57459         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
57460         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
57461         expression.
57462         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
57463         later.
57465 2012-03-11  David S. Miller  <davem@davemloft.net>
57467         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57468         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
57469         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
57470         for 'resultvar' otherwise things get truncated on 64-bit.
57472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57473         Fix masking out of the most significant byte of random value used.
57475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57477 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
57479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57481 2012-03-09  David S. Miller  <davem@davemloft.net>
57483         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
57484         variables with appropriate CPP guards.
57485         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
57486         from the frame pointer, not the stack pointer.  Correct layout
57487         comments.  Fix test on resulting framesize and the management of
57488         the outregs buffer for pltexit.  Preserve floating point return
57489         values across _dl_call_pltexit call.
57490         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
57491         framesize and the management of the outregs buffer for pltexit.
57492         Preserve floating point return values across _dl_call_pltexit
57493         call.
57494         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
57495         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
57496         (la_sparc64_gnu_pltexit): New functions.
57497         (print_exit): Fix format string for return register value.
57499 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
57501         * sunrpc/Makefile (others): Add rpcgen.
57502         ($(objpfx)rpcgen): Remove special build rule and dependency on
57503         libc.
57504         * sunrpc/rpcgen.c: New file.
57506 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
57508         [BZ #13673]
57509         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
57510         * stdio-common/bug-vfprintf-nargs.c: Likewise.
57511         * sysdeps/i386/crti.S: Likewise.
57512         * sysdeps/i386/crtn.S: Likewise.
57513         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
57514         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
57515         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
57516         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
57517         * sysdeps/sh/crti.S: Likewise.
57518         * sysdeps/sh/crtn.S: Likewise.
57519         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57521         [BZ #13673]
57522         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
57523         with URL.
57524         * locale/programs/locfile-kw.gperf: Likewise.
57525         * locale/programs/charmap-kw.h: Regenerated.
57526         * locale/programs/locfile-kw.h: Likewise.
57528         [BZ #13673]
57529         * intl/plural.y: Replace FSF snail mail address with URL.
57530         * intl/plural.c: Regenerated.
57532 2012-03-09  Richard Henderson  <rth@twiddle.net>
57534         * include/math_private.h: Remove file.
57535         * math/math_private.h: Move file ...
57536         * sysdeps/generic/math_private.h: ... here.
57538         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
57539         * sysdeps/powerpc/fpu/math_private.h: Likewise.
57540         * sysdeps/x86_64/fpu/math_private.h: Likewise.
57542         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
57543         and <math_private.h>.
57544         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57545         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57546         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57547         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57548         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57549         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
57550         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57551         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57552         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57553         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57554         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57555         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57556         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57557         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57558         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57559         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57560         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57561         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57562         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57563         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57564         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57565         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57566         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57567         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57568         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
57569         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57570         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57571         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57573         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57574         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57575         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57576         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
57577         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57578         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57579         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57580         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57581         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57582         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57583         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57584         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
57585         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57586         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57587         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57588         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
57589         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57590         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
57591         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
57592         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57593         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57594         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57595         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
57596         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
57597         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57598         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
57599         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57600         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57601         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
57602         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57603         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
57604         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57605         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
57606         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57607         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57608         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
57609         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57610         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57611         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57612         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
57613         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
57614         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
57615         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57616         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
57617         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57618         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
57619         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
57620         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
57621         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57622         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
57623         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
57624         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
57625         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
57626         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
57627         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57628         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57629         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
57630         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
57631         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
57632         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57633         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57634         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57635         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57636         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57637         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57638         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57639         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57640         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57641         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57642         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57643         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57644         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57645         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57646         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57647         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57648         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57649         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57650         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57651         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57652         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57653         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57654         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57655         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57656         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57657         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57658         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
57659         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57660         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57661         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57662         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57663         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57664         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57665         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57666         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57667         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
57668         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57669         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57670         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57671         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
57672         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57673         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
57674         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
57675         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57676         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57677         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
57678         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
57679         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57680         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57681         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57682         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
57683         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57684         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57685         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57686         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57687         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
57688         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
57689         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57690         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57691         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57692         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
57693         * sysdeps/ieee754/k_standard.c: Likewise.
57694         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57695         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57696         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57697         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57698         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57699         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57700         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57701         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57702         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57703         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57704         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57705         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57706         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57707         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57708         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57709         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57710         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57711         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57712         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57713         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
57714         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
57715         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
57716         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57717         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57718         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57719         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
57720         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57721         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57722         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57723         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57724         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57725         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57726         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57727         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57728         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57729         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57730         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57731         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
57732         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
57733         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57734         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57735         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57736         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57737         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57738         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57739         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57740         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57741         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57742         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57743         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57744         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57745         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57746         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57747         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
57748         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57749         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57750         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
57751         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
57752         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57753         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57754         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57755         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57756         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57757         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57758         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57759         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57760         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57761         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57762         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57763         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57764         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57765         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57766         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57767         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57768         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57769         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57770         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
57771         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57772         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57773         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57774         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57775         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57776         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57777         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57778         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
57779         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57780         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57781         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
57782         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57783         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57784         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
57785         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57786         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
57787         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57788         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57789         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57790         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
57791         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
57792         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
57793         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
57794         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57795         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57796         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57797         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57798         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
57799         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57800         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57801         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
57802         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
57803         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57804         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57805         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57806         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57807         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57808         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57809         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57810         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57811         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57812         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57813         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57814         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57815         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57816         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57817         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57818         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57819         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
57820         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57821         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57822         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57823         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57824         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57825         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57826         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57827         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57828         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57829         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57830         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
57831         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57832         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57833         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
57834         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
57835         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57836         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
57837         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
57838         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57839         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57840         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57841         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57842         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57843         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
57844         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57845         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57846         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57847         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57848         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
57849         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
57850         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57851         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57852         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57853         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57854         * sysdeps/ieee754/s_lib_version.c: Likewise.
57855         * sysdeps/ieee754/s_matherr.c: Likewise.
57856         * sysdeps/ieee754/s_signgam.c: Likewise.
57857         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57858         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57859         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
57860         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
57861         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
57862         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57863         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
57864         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
57865         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
57866         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
57867         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57868         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
57869         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57870         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57871         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
57872         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57873         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57874         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57875         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57876         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57877         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57879 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57881         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
57882         * sunrpc/rpc_main.c: Likewise.
57883         * sunrpc/rpc_svcout.c: Likewise.
57885 2012-03-09  David S. Miller  <davem@davemloft.net>
57887         * include/math_private.h: New file.
57889 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57891         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
57892         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
57893         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
57894         from <bits/socket_type.h>.
57895         (enum __socket_type): Don't define here.
57896         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
57897         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57898         bits/socket_type.h.
57900         [BZ #13566]
57901         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
57902         checking __USE_GNU.
57904         * Makerules ($(inst_includedir)/%.h): New rule.
57905         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
57906         (install-others): Remove variable setting.
57907         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
57909 2012-03-08  Richard Henderson  <rth@twiddle.net>
57911         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
57912         from macro to inline function; merge with the
57913         !__LIBC_INTERNAL_MATH_INLINES version.
57914         (__ieee754_sqrtf): Likewise.
57916         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
57917         to inline function.
57918         (__rintf, __floor, __floorf): Likewise.
57920         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
57921         macro to inline function.
57922         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
57924         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
57925         not <math/math_private.h>.
57927 2012-03-08  David S. Miller  <davem@davemloft.net>
57929         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
57930         copyright year.
57931         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
57933 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
57935         * resolv/gai_misc.c (handle_requests): Fix struct timespec
57936         normalization.
57937         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
57938         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
57940 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
57942         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
57943         be defined individually, they must be defined as a block.  Define
57944         S for printing a string instead of hidint the different by using a
57945         macro for adding the 'l'.
57946         * stdio-common/tst-fphex-wide.c: Adjust.
57948 2012-03-07  Marek Polacek  <polacek@redhat.com>
57950         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57952 2012-03-08  Marek Polacek  <polacek@redhat.com>
57954         [BZ #13806]
57955         * stdio-common/Makefile (tests): Add tst-fphex-wide.
57956         * stdio-common/tst-fphex.c: Define a few macros to make the
57957         test reusable.  Use them.
57958         * stdio-common/tst-fphex-wide.c: New file.
57960 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
57962         [BZ #6911]
57963         * manual/macros.texi (gnusystems): New macro.
57964         (nongnusystems): Likewise.
57965         (gnulinuxhurdsystems): Likewise.
57966         (gnuhurdsystems): Likewise..
57967         (gnulinuxsystems): Likewise.
57968         * manual/charset.texi: Use new macros or @theglibc{} to refer to
57969         variants of the GNU system, not "GNU system".
57970         * manual/conf.texi: Likewise.
57971         * manual/errno.texi: Likewise.  Update example of errno macro
57972         expansion.
57973         * manual/filesys.texi: Likewise.
57974         (getumask): Document as specific to GNU/Hurd.
57975         * manual/install.texi: Likewise.  Reword some references to
57976         GNU/Linux.
57977         * manual/intro.texi: Likewise.
57978         * manual/io.texi: Likewise.
57979         (File Name Portability): Detail which constraints are inapplicable
57980         to all GNU systems and which are only inapplicable to GNU/Hurd.
57981         * manual/job.texi: Likewise.
57982         * manual/llio.texi: Likewise.
57983         (O_NOCTTY): Document as present on GNU/Linux.
57984         * manual/maint.texi: Likewise.
57985         * manual/memory.texi: Likewise.
57986         * manual/pattern.texi: Likewise.
57987         * manual/pipe.texi: Likewise.
57988         * manual/process.texi: Likewise.
57989         * manual/resource.texi: Likewise.
57990         (RUSAGE_CHILDREN): Remove statement about specifying a particular
57991         child on GNU/Hurd.
57992         * manual/setjmp.texi: Likewise.
57993         * manual/signal.texi: Likewise.
57994         * manual/startup.texi: Likewise.
57995         * manual/stdio.texi: Likewise.
57996         * manual/terminal.texi: Likewise.
57997         (ONLCR): Document as POSIX.
57998         (OXTABS): Document availability on GNU/Linux as XTABS.
57999         (ONOEOT): Document availability separately from other bits.
58000         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
58001         * manual/time.texi: Likewise.
58002         * manual/users.texi: Likewise.
58003         * INSTALL: Regenerated.
58004         * sysdeps/gnu/errlist.c: Regenerated.
58006         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
58007         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
58008         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
58009         puts.
58010         * configure: Regenerated.
58012 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
58014         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
58015         default includes instead of AC_HEADER_CHECK.
58016         * sysdeps/i386/configure: Regenerated.
58018         [BZ #10716]
58019         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
58020         * math/s_cacoshf.c (__cacoshf): Likewise.
58021         * math/s_cacoshl.c (__cacoshl): Likewise.
58022         * math/s_casinh.c (__casinh): Set signs of result from argument.
58023         * math/s_casinhf.c (__casinhf): Likewise.
58024         * math/s_casinhl.c (__casinhl): Likewise.
58025         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
58026         (casinh_test): Add more tests.
58027         * sysdeps/i386/fpu/libm-test-ulps: Update.
58028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58030 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
58032         * po/zh_TW.po: Update from translation team.
58034         * login/Makefile (distribute): Remove variable.
58035         * catgets/Makefile: Likewise.
58036         * mach/Makefile: Likewise.
58037         * malloc/Makefile: Likewise.
58038         * misc/Makefile: Likewise.
58039         * iconv/Makefile: Likewise.
58040         * nscd/Makefile: Likewise.
58041         * hurd/Makefile: Likewise.
58042         * manual/Makefile: Likewise.
58043         * locale/Makefile: Likewise.
58044         * intl/Makefile: Likewise.
58045         * conform/Makefile: Likewise.
58046         * nss/Makefile: Likewise.
58047         * time/Makefile: Likewise.
58048         * soft-fp/Makefile: Likewise.
58049         * dirent/Makefile: Likewise.
58050         * gmon/Makefile: Likewise.
58051         * po/Makefile: Likewise.
58052         * rt/Makefile: Likewise.
58053         * socket/Makefile: Likewise.
58054         * math/Makefile: Likewise.
58055         * signal/Makefile: Likewise.
58056         * debug/Makefile: Likewise.
58057         * elf/Makefile: Likewise.
58058         * timezone/Makefile: Likewise.
58059         * stdlib/Makefile: Likewise.
58060         * iconvdata/Makefile: Likewise.
58061         * sunrpc/Makefile: Likewise.
58062         * io/Makefile: Likewise.
58063         * argp/Makefile: Likewise.
58064         * inet/Makefile: Likewise.
58065         * hesiod/Makefile: Likewise.
58066         * grp/Makefile: Likewise.
58067         * csu/Makefile: Likewise.
58068         * wctype/Makefile: Likewise.
58069         * crypt/Makefile: Likewise.
58070         * libio/Makefile: Likewise.
58071         * string/Makefile: Likewise.
58072         * nis/Makefile: Likewise.
58073         * resolv/Makefile: Likewise.
58074         * stdio-common/Makefile: Likewise.
58075         * wcsmbs/Makefile: Likewise.
58076         * dlfcn/Makefile: Likewise.
58077         * posix/Makefile: Likewise.
58079         [BZ #6959]
58080         * timezone/Makefile: Don't install timezone files, just the programs
58081         and scripts.
58083 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
58085         * nss/databases.def: Add missing gshadow entry.
58087         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
58089 2012-03-06  Marek Polacek  <polacek@redhat.com>
58091         [BZ #13726]
58092         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
58093         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
58094         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
58095         * stdio-common/tst-long-dbl-fphex.c: New file.
58097 2012-03-06  David S. Miller  <davem@davemloft.net>
58099         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58100         (set_obp_int): New function.
58101         (get_obp_int): New function.
58102         (__get_clockfreq_via_dev_openprom): Likewise.
58103         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
58104         Avoid unused variable warnings on 'val' and use builtin_expect.
58105         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
58106         __builtin_expect.
58107         (INLINE_CLONE_SYSCALL): Likewise.
58109 2012-03-05  David S. Miller  <davem@davemloft.net>
58111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58113 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
58115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58117         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
58118         only for |x| >= 40.
58119         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58121 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
58123         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
58124         Replace gettimeofday with __vdso_gettimeofday.
58126         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58127         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
58128         __vdso_clock_gettime and __vdso_getcpu.
58130         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
58131         time with __vdso_time.
58133 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
58135         * manual/lang.texi (size_t): Note types to which size_t may be
58136         equivalent with the GNU C Library, but do not describe when
58137         differences between them are significant.
58139 2012-03-05  Andreas Jaeger  <aj@suse.de>
58141         * sysdeps/i386/fpu/libm-test-ulps: Update.
58143 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
58145         [BZ #3976]
58146         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
58147         (__ieee754_pow): Save and restore rounding mode and use
58148         round-to-nearest for main computations.
58149         * math/libm-test.inc (pow_test_tonearest): New function.
58150         (pow_test_towardzero): Likewise.
58151         (pow_test_downward): Likewise.
58152         (pow_test_upward): Likewise.
58153         (main): Call the new functions.
58154         * sysdeps/i386/fpu/libm-test-ulps: Update.
58155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58157         [BZ #3976]
58158         * math/libm-test.inc (cosh_test_tonearest): New function.
58159         (cosh_test_towardzero): Likewise.
58160         (cosh_test_downward): Likewise.
58161         (cosh_test_upward): Likewise.
58162         (sinh_test_tonearest): Likewise.
58163         (sinh_test_towardzero): Likewise.
58164         (sinh_test_downward): Likewise.
58165         (sinh_test_upward): Likewise.
58166         (main): Call the new functions.
58167         * sysdeps/i386/fpu/libm-test-ulps: Update.
58168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58170 2012-03-05  Tom de Vries  <tom@codesourcery.com>
58172         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
58173         default stack guard is set in last bytes.
58174         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
58176 2012-03-05  Kees Cook  <keescook@chromium.org>
58178         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
58180         [BZ #13656]
58181         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
58182         possibly allocate from heap instead of stack.
58183         * stdio-common/bug-vfprintf-nargs.c: New file.
58184         * stdio-common/Makefile (tests): Add nargs overflow test.
58186 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
58188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58190 2012-03-03  Marek Polacek  <polacek@redhat.com>
58192         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
58193         * math/math_private.h: Likewise.
58194         * stdlib/tst-strtod.c: Likewise.
58195         * sysdeps/i386/i486/bits/atomic.h: Likewise.
58196         * sysdeps/x86_64/bits/atomic.h: Likewise.
58198 2012-03-02  David S. Miller  <davem@davemloft.net>
58200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
58201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
58202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
58203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
58204         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
58205         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
58206         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
58207         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
58209 2012-03-02  Roland McGrath  <roland@hack.frob.com>
58211         [BZ #13792]
58212         * manual/examples/README: New file, says the example source files
58213         can be used under GPL>=2.
58214         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
58215         line containing just "*/".
58216         * manual/examples/add.c: Add copyright header (GPL>=2).
58217         * manual/examples/argp-ex1.c: Likewise.
58218         * manual/examples/argp-ex2.c: Likewise.
58219         * manual/examples/argp-ex3.c: Likewise.
58220         * manual/examples/argp-ex4.c: Likewise.
58221         * manual/examples/atexit.c: Likewise.
58222         * manual/examples/db.c: Likewise.
58223         * manual/examples/dir.c: Likewise.
58224         * manual/examples/dir2.c: Likewise.
58225         * manual/examples/execinfo.c: Likewise.
58226         * manual/examples/filecli.c: Likewise.
58227         * manual/examples/filesrv.c: Likewise.
58228         * manual/examples/fmtmsgexpl.c: Likewise.
58229         * manual/examples/genpass.c: Likewise.
58230         * manual/examples/inetcli.c: Likewise.
58231         * manual/examples/inetsrv.c: Likewise.
58232         * manual/examples/isockad.c: Likewise.
58233         * manual/examples/longopt.c: Likewise.
58234         * manual/examples/memopen.c: Likewise.
58235         * manual/examples/memstrm.c: Likewise.
58236         * manual/examples/mkfsock.c: Likewise.
58237         * manual/examples/mkisock.c: Likewise.
58238         * manual/examples/mygetpass.c: Likewise.
58239         * manual/examples/pipe.c: Likewise.
58240         * manual/examples/popen.c: Likewise.
58241         * manual/examples/rprintf.c: Likewise.
58242         * manual/examples/search.c: Likewise.
58243         * manual/examples/select.c: Likewise.
58244         * manual/examples/setjmp.c: Likewise.
58245         * manual/examples/sigh1.c: Likewise.
58246         * manual/examples/sigusr.c: Likewise.
58247         * manual/examples/stpcpy.c: Likewise.
58248         * manual/examples/strdupa.c: Likewise.
58249         * manual/examples/strftim.c: Likewise.
58250         * manual/examples/strncat.c: Likewise.
58251         * manual/examples/subopt.c: Likewise.
58252         * manual/examples/swapcontext.c: Likewise.
58253         * manual/examples/termios.c: Likewise.
58254         * manual/examples/testopt.c: Likewise.
58255         * manual/examples/testpass.c: Likewise.
58256         * manual/examples/timeval_subtract.c: Likewise.
58258         [BZ #13792]
58259         * manual/time.texi (Elapsed Time): Move timeval_subtract example
58260         function to ...
58261         * manual/timeval_subtract.c.texi: ... here, new file.
58263 2012-03-02  David S. Miller  <davem@davemloft.net>
58265         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
58267 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
58269         [BZ #3976]
58270         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
58271         (__sin): Save and restore rounding mode and use round-to-nearest
58272         for all computations.
58273         (__cos): Save and restore rounding mode and use round-to-nearest
58274         for all computations.
58275         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
58276         <fenv.h>.
58277         (tan): Save and restore rounding mode and use round-to-nearest for
58278         all computations.
58279         * math/libm-test.inc (cos_test_tonearest): New function.
58280         (cos_test_towardzero): Likewise.
58281         (cos_test_downward): Likewise.
58282         (cos_test_upward): Likewise.
58283         (sin_test_tonearest): Likewise.
58284         (sin_test_towardzero): Likewise.
58285         (sin_test_downward): Likewise.
58286         (sin_test_upward): Likewise.
58287         (tan_test_tonearest): Likewise.
58288         (tan_test_towardzero): Likewise.
58289         (tan_test_downward): Likewise.
58290         (tan_test_upward): Likewise.
58291         (main): Call the new functions.
58292         * sysdeps/i386/fpu/libm-test-ulps: Update.
58293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58295         [BZ #10135]
58296         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
58297         small n, then large n, before computing and testing k+n.
58298         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
58299         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
58300         Likewise.
58301         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
58302         Likewise.
58303         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
58304         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
58305         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
58306         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
58307         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
58308         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
58309         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
58310         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
58311         * math/libm-test.inc (scalbn_test): Add more tests.
58312         (scalbln_test): Likewise.
58314         * manual/filesys.texi (mode_t): Describe constraints on size and
58315         signedness, not exact equivalence to a particular type.
58316         (ino_t): Likewise.
58317         (ino64_t): Likewise.
58318         (dev_t): Likewise.
58319         (nlink_t): Likewise.
58320         (blkcnt_t): Likewise.
58321         (blkcnt64_t): Likewise.
58322         * manual/llio.texi (off_t): Likewise.
58324         [BZ #3976]
58325         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
58326         (__ieee754_exp): Save and restore rounding mode and use
58327         round-to-nearest for all computations.
58328         * math/libm-test.inc (exp_test_tonearest): New function.
58329         (exp_test_towardzero): Likewise.
58330         (exp_test_downward): Likewise.
58331         (exp_test_upward): Likewise.
58332         (main): Call the new functions.
58333         * sysdeps/i386/fpu/libm-test-ulps: Update.
58334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58336 2012-03-01  Chris Demetriou  <cgd@google.com>
58338         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
58339         have predictable order.
58341 2012-03-01  David S. Miller  <davem@davemloft.net>
58343         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
58345         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
58346         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
58347         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
58348         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
58350         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
58351         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
58352         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
58353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
58354         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
58355         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
58356         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
58357         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
58358         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
58360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58362         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
58363         * sysdeps/sparc/fpu/libm-test-ulps: to here.
58364         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
58366         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
58367         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58368         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58369         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
58370         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
58371         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
58372         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
58373         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58374         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58375         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
58376         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
58377         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58378         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58379         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58380         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58381         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58382         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
58383         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
58384         * sysdeps/sparc/elf/configure: Regenerated.
58386 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
58388         * configure.in (AS, LD): Require binutils 2.20 or later.
58389         * configure: Regenerated.
58390         * manual/install.texi (Tools for Compilation): Give binutils 2.20
58391         as required minimum version.
58392         * INSTALL: Regenerated.
58394         [BZ #2541]
58395         [BZ #4108]
58396         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
58397         before squaring exponent.
58398         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
58399         bottom long double and 27 bits of top long double before squaring
58400         exponent.
58401         * math/libm-test.inc (erfc_test): Add more tests.
58402         * sysdeps/i386/fpu/libm-test-ulps: Update.
58403         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58406 2012-03-01  Kai Tietz  <ktietz@redhat.com>
58408         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
58409         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
58410         containing bit-fields.
58411         * soft-fp/extended.h (_FP_UNION_E): Likewise.
58412         * soft-fp/single.h (_FP_UNION_S): Likewise.
58413         * soft-fp/double.h (_FP_UNION_D): Likewise.
58415 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
58417         [BZ #13786]
58418         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
58419         not include ../strcmp.S.
58420         [USE_AS_STRNCASECMP_L]: Likewise.
58421         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
58422         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
58423         * sysdeps/i386/i686/multiarch/strncase_l-c.c
58424         (__strncasecmp_l_ia32): Define as alias to
58425         __strncasecmp_l_nonascii.
58427         [BZ #5794]
58428         * math/libm-test.inc (expm1_test): Add test for bug 5794.
58429         * sysdeps/i386/fpu/libm-test-ulps: Update.
58430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58432         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
58433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58435 2012-02-29  Jeff Law  <law@redhat.com>
58437         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
58438         out of bounds read.
58440 2012-02-29  Marek Polacek  <polacek@redhat.com>
58442         [BZ #13706]
58443         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
58444         * elf/Makefile: Add rules to run tst-unused-dep.out.
58446 2012-02-28  David S. Miller  <davem@davemloft.net>
58448         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
58449         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
58450         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
58451         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
58452         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
58453         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
58455 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
58457         * math/libm-test.inc (llround_test): Move one test from
58458         lround_test.  Use TEST_f_L in moved test.
58459         (lround_test): Move misplaced test to llround_test.  Add testcase
58460         from bug 2561.
58462 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
58464         * sysdeps/x86_64/fpu/e_expf.S: New file.
58465         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
58467 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
58469         [BZ #13637]
58470         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
58471         of remain_len that may cause incomplete multi-byte character and
58472         false match.
58473         * posix/bug-regex33.c: New file.
58474         * posix/Makefile (tests): Add bug-regex33.
58476 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
58478         * manual/macros.texi: New file.
58479         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
58480         * manual/libc.texinfo: Include macros.texi.
58481         * manual/creatute.texi: Likewise.
58482         * manual/install.texi: Likewise.
58483         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
58484         @glibcadj{} in references to the GNU C Library.
58485         * manual/charset.texi: Likewise.
58486         * manual/conf.texi: Likewise.
58487         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
58488         when not using those macros.
58489         * manual/creature.texi: Likewise.
58490         * manual/crypt.texi: Likewise.
58491         * manual/errno.texi: Likewise.
58492         * manual/filesys.texi: Likewise.
58493         * manual/header.texi: Likewise.
58494         * manual/install.texi: Likewise.
58495         * manual/intro.texi: Likewise.
58496         * manual/io.texi: Likewise.
58497         * manual/job.texi: Likewise.
58498         * manual/lang.texi: Likewise.
58499         * manual/libc.texiinfo: Likewise.
58500         * manual/llio.texi: Likewise.
58501         * manual/locale.texi: Likewise.
58502         * manual/maint.texi: Likewise.
58503         * manual/math.texi: Likewise.
58504         * manual/memory.texi: Likewise.
58505         * manual/message.texi: Likewise.
58506         * manual/nss.texi: Likewise.
58507         * manual/pattern.texi: Likewise.
58508         * manual/process.texi: Likewise.
58509         * manual/resource.texi: Likewise.
58510         * manual/search.texi: Likewise.
58511         * manual/setjmp.texi: Likewise.
58512         * manual/signal.texi: Likewise.
58513         * manual/socket.texi: Likewise.
58514         * manual/startup.texi: Likewise.
58515         * manual/stdio.texi: Likewise.
58516         * manual/string.texi: Likewise.
58517         * manual/sysinfo.texi: Likewise.
58518         * manual/syslog.texi: Likewise.
58519         * manual/terminal.texi: Likewise.
58520         * manual/time.texi: Likewise.
58521         * manual/users.texi: Likewise.
58522         * INSTALL: Regenerated.
58523         * NOTES: Regenerated.
58524         * sysdeps/gnu/errlist.c: Regenerated.
58526 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
58528         * include/dirent.h: Include <dirstream.h> before
58529         <dirent/dirent.h>.
58531 2012-02-28  David S. Miller  <davem@davemloft.net>
58533         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
58534         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
58535         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
58536         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
58538 2012-02-27  David S. Miller  <davem@davemloft.net>
58540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
58541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
58542         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
58543         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
58545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
58546         frame pointer instead of stack pointer relative arg slot.
58547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
58548         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
58549         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
58551 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
58553         [BZ #3992]
58554         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
58556 2012-02-27  David S. Miller  <davem@davemloft.net>
58558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
58559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
58560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
58562         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
58563         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
58564         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
58565         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
58567 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
58569         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
58570         later.  Allow versions 5-9.
58571         * configure: Regenerated.
58572         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
58573         required minimum version and 4.6 as recommended version.  Do not
58574         mention bugs in GCC 2.7 and 2.8.
58575         * INSTALL: Regenerated.
58577 2012-02-27  David S. Miller  <davem@davemloft.net>
58579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
58580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
58581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
58582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
58583         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
58584         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
58585         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
58586         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
58588         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
58589         manipulate bits before adding and subtracting TWO112[sx].
58590         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58592 2012-02-27  Roland McGrath  <roland@hack.frob.com>
58594         [BZ #13775]
58595         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
58596         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
58597         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
58598         being in POSIX, because they are in 1003.1-2008.
58600         * rt/tst-aio.c: Include <fcntl.h>.
58601         * rt/tst-aio7.c: Likewise.
58602         * rt/tst-aio64.c: Likewise.
58604         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
58606 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
58608         * manual/install.texi (--with-headers): Describe headers as
58609         interface headers, not private headers.
58610         (Specific advice for GNU/Linux systems): Describe use of headers
58611         from "make headers_install", not private headers from older
58612         kernels.
58613         * INSTALL: Regenerated.
58614         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
58615         Change to 2.6.19.
58616         * sysdeps/unix/sysv/linux/configure: Regenerated.
58618         * manual/llio.texi (fclean): Remove documentation.
58620         * manual/Makefile (libc-texi-generated): New variable.  Include
58621         version.texi.
58622         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
58623         $(libc-texi-generated), not duplicated list of files.
58624         (version.texi, stamp-version): New rules.
58625         (realclean): Remove $(libc-texi-generated), not individual files
58626         from that list.  Do not remove dir-add.texinfo.
58627         * manual/libc.texinfo: Comment out uses of edition numbers and
58628         references to printed manual.  Remove last-updated dates.
58629         (EDITION): Comment out.
58630         (ISBN): Likewise.
58631         (VERSION, UPDATED): Remove.
58632         (version.texi): Include.
58634 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
58636         * sysdeps/posix/spawni.c: Include <signal.h>.
58637         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
58638         * sysdeps/pthread/aio_fsync.c: Likewise.
58640 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
58642         * conform/Makefile (tests): Run only when not cross-compiling and
58643         when fast-check is not defined.
58645         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
58646         * conform/data/limits.h-data: Fixes for POSIX2008.
58647         * conform/run-conformtest.sh: Run all tests.
58648         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
58649         headers.
58650         * include/bits/dlfcn.h: Likewise.
58651         * include/langinfo.h: Likewise.
58652         * include/monetary.h: Likewise.
58653         * include/sys/poll.h: Likewise.
58655         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
58656         for __USE_GNU.
58657         * posix/spawn.h: Define __need_sigset_t.
58658         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
58659         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
58660         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
58661         to get sigevent_t only.
58662         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
58663         only for __USE_GNU.
58664         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58665         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58666         process_vm_writev only for __USE_GNU.
58667         * termios/termios.h: Declare tcgetsid also for POSIX2008.
58669         * conform/Makefile: For now ignore errors from run-conformtest.
58670         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
58671         POSIX to avoid namespace pollution.  Don't prepend headers.
58672         * conform/data/aio.h-data: Fixes for POSIX testing.
58673         * conform/data/fcntl.h-data: Likewise.
58674         * conform/data/glob.h-data: Likewise.
58675         * conform/data/grp.h-data: Likewise.
58676         * conform/data/pthread.h-data: Likewise.
58677         * conform/data/pwd.h-data: Likewise.
58678         * conform/data/signal.h-data: Likewise.
58679         * conform/data/spawn.h-data: Likewise.
58680         * conform/data/stdio.h-data: Likewise.
58681         * conform/data/stdlib.h-data: Likewise.
58682         * conform/data/stropts.h-data: Likewise.
58683         * conform/data/sys/mman.h-data: Likewise.
58684         * conform/data/sys/stat.h-data: Likewise.
58685         * conform/data/sys/types.h-data: Likewise.
58686         * conform/data/sys/wait.h-data: Likewise.
58687         * conform/data/time.h-data: Likewise.
58688         * conform/data/unistd.h-data: Likewise.
58689         * conform/data/utime.h-data: Likewise.
58691         * io/sys/stat.h: fchmod was always in POSIX.
58692         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
58693         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
58694         * rt/aio.h: Define __need_timespec before including <time.h>.
58695         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
58696         struct.  Add forward declaration of pthread_attr_t and use it in
58697         sigevent.
58698         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58699         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58700         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
58701         always remove CLK_TCK definition.
58703 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
58705         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
58707 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
58709         * conform/run-conformtest.sh: New file.
58710         * conform/Makefile: Run run-conformtest for tests.
58711         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
58712         support.
58714         * conform/data/uchar.h-data: New file.
58715         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
58716         * conform/data/arpa/inet.h-data: Likewise.
58717         * conform/data/assert.h-data: Likewise.
58718         * conform/data/complex.h-data: Likewise.
58719         * conform/data/cpio.h-data: Likewise.
58720         * conform/data/ctype.h-data: Likewise.
58721         * conform/data/dirent.h-data: Likewise.
58722         * conform/data/dlfcn.h-data: Likewise.
58723         * conform/data/errno.h-data: Likewise.
58724         * conform/data/fcntl.h-data: Likewise.
58725         * conform/data/float.h-data: Likewise.
58726         * conform/data/fmtmsg.h-data: Likewise.
58727         * conform/data/fnmatch.h-data: Likewise.
58728         * conform/data/ftw.h-data: Likewise.
58729         * conform/data/glob.h-data: Likewise.
58730         * conform/data/grp.h-data: Likewise.
58731         * conform/data/iconv.h-data: Likewise.
58732         * conform/data/inttypes.h-data: Likewise.
58733         * conform/data/langinfo.h-data: Likewise.
58734         * conform/data/libgen.h-data: Likewise.
58735         * conform/data/limits.h-data: Likewise.
58736         * conform/data/locale.h-data: Likewise.
58737         * conform/data/math.h-data: Likewise.
58738         * conform/data/monetary.h-data: Likewise.
58739         * conform/data/mqueue.h-data: Likewise.
58740         * conform/data/ndbm.h-data: Likewise.
58741         * conform/data/net/if.h-data: Likewise.
58742         * conform/data/netdb.h-data: Likewise.
58743         * conform/data/netinet/in.h-data: Likewise.
58744         * conform/data/nl_types.h-data: Likewise.
58745         * conform/data/poll.h-data: Likewise.
58746         * conform/data/pthread.h-data: Likewise.
58747         * conform/data/pwd.h-data: Likewise.
58748         * conform/data/regex.h-data: Likewise.
58749         * conform/data/sched.h-data: Likewise.
58750         * conform/data/search.h-data: Likewise.
58751         * conform/data/semaphore.h-data: Likewise.
58752         * conform/data/setjmp.h-data: Likewise.
58753         * conform/data/signal.h-data: Likewise.
58754         * conform/data/spawn.h-data: Likewise.
58755         * conform/data/stdarg.h-data: Likewise.
58756         * conform/data/stdio.h-data: Likewise.
58757         * conform/data/stdlib.h-data: Likewise.
58758         * conform/data/string.h-data: Likewise.
58759         * conform/data/strings.h-data: Likewise.
58760         * conform/data/stropts.h-data: Likewise.
58761         * conform/data/sys/ipc.h-data: Likewise.
58762         * conform/data/sys/mman.h-data: Likewise.
58763         * conform/data/sys/msg.h-data: Likewise.
58764         * conform/data/sys/resource.h-data: Likewise.
58765         * conform/data/sys/select.h-data: Likewise.
58766         * conform/data/sys/sem.h-data: Likewise.
58767         * conform/data/sys/shm.h-data: Likewise.
58768         * conform/data/sys/socket.h-data: Likewise.
58769         * conform/data/sys/stat.h-data: Likewise.
58770         * conform/data/sys/statvfs.h-data: Likewise.
58771         * conform/data/sys/time.h-data: Likewise.
58772         * conform/data/sys/timeb.h-data: Likewise.
58773         * conform/data/sys/times.h-data: Likewise.
58774         * conform/data/sys/types.h-data: Likewise.
58775         * conform/data/sys/uio.h-data: Likewise.
58776         * conform/data/sys/un.h-data: Likewise.
58777         * conform/data/sys/utsname.h-data: Likewise.
58778         * conform/data/sys/wait.h-data: Likewise.
58779         * conform/data/syslog.h-data: Likewise.
58780         * conform/data/tar.h-data: Likewise.
58781         * conform/data/termios.h-data: Likewise.
58782         * conform/data/utime.h-data: Likewise.
58783         * conform/data/utmpx.h-data: Likewise.
58784         * conform/data/varargs.h-data: Likewise.
58785         * conform/data/wchar.h-data: Likewise.
58786         * conform/data/wctype.h-data: Likewise.
58787         * conform/data/wordexp.h-data: Likewise.
58789         * include/stropts.h: New file.
58790         * include/uchar.h: New file.
58791         * include/aio.h: Changes to allow conformtest.pl to use the headers.
58792         * include/assert.h: Likewise.
58793         * include/ctype.h: Likewise.
58794         * include/dirent.h: Likewise.
58795         * include/dlfcn.h: Likewise.
58796         * include/fcntl.h: Likewise.
58797         * include/fnmatch.h: Likewise.
58798         * include/glob.h: Likewise.
58799         * include/grp.h: Likewise.
58800         * include/libio.h: Likewise.
58801         * include/locale.h: Likewise.
58802         * include/math.h: Likewise.
58803         * include/net/if.h: Likewise.
58804         * include/netdb.h: Likewise.
58805         * include/netinet/in.h: Likewise.
58806         * include/pthread.h: Likewise.
58807         * include/pwd.h: Likewise.
58808         * include/regex.h: Likewise.
58809         * include/sched.h: Likewise.
58810         * include/search.h: Likewise.
58811         * include/setjmp.h: Likewise.
58812         * include/signal.h: Likewise.
58813         * include/stdio.h: Likewise.
58814         * include/stdlib.h: Likewise.
58815         * include/string.h: Likewise.
58816         * include/sys/cdefs.h: Likewise.
58817         * include/sys/mman.h: Likewise.
58818         * include/sys/msg.h: Likewise.
58819         * include/sys/resource.h: Likewise.
58820         * include/sys/select.h: Likewise.
58821         * include/sys/socket.h: Likewise.
58822         * include/sys/stat.h: Likewise.
58823         * include/sys/statvfs.h: Likewise.
58824         * include/sys/time.h: Likewise.
58825         * include/sys/times.h: Likewise.
58826         * include/sys/uio.h: Likewise.
58827         * include/sys/utsname.h: Likewise.
58828         * include/sys/wait.h: Likewise.
58829         * include/termios.h: Likewise.
58830         * include/time.h: Likewise.
58831         * include/ulimit.h: Likewise.
58832         * include/unistd.h: Likewise.
58833         * include/utime.h: Likewise.
58834         * include/wchar.h: Likewise.
58835         * include/wctype.h: Likewise.
58836         * include/wordexp.h: Likewise.
58838         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
58840         * time/time.h: TIME_UTC must be a macro.
58841         Make timespec_get available for ISO C11 only as well.
58843 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
58845         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
58846         Reported by Peng Haitao <penght@cn.fujitsu.com>.
58848 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58850         * configure.in: Use -o not -a in test for unsupported multi-arch.
58852 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58854         * manual/texinfo.tex: Update to version 2012-01-19.16.
58856 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58858         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
58860 2012-02-24  Roland McGrath  <roland@hack.frob.com>
58862         [BZ #13738]
58863         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
58864         * manual/fdl-1.3.texi: New file.
58865         * manual/fdl-1.1.texi: File removed.
58867         [BZ #13738]
58868         * manual/libc.texinfo (FDL_VERSION): New @set.
58869         Use it for mention of FDL in cover text.
58870         (Documentation License): Use it in @include file name.
58872 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58873             Roland McGrath  <roland@hack.frob.com>
58875         [BZ #5461]
58876         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
58877         (not LONG_LONG_MAX and LONG_LONG_MIN.
58878         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
58879         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
58880         name.
58881         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
58883 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58885         [BZ #2547]
58886         [BZ #11365]
58887         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
58888         manipulate bits before adding and subtracting TWO23[sx].
58889         * math/libm-test.inc (nearbyint_test): Add more tests.
58891 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58893         [BZ #2548]
58894         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
58895         bits before adding and subtracting TWO23[sx].
58896         * math/libm-test.inc (rint_test): Add more tests.
58897         (rint_test_tonearest): Likewise.
58898         (rint_test_towardzero): Likewise.
58899         (rint_test_downward): Likewise.
58900         (rint_test_upward: Likewise.
58902 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58904         [BZ #10110]
58905         * include/stdc-predef.h: New file.  Extracted from features.h.
58906         * include/features.h: Include stdc-predef.h.
58907         * Makefile (headers): Add stdc-predef.h.
58908         * CONFORMANCE (Compiler limitations): Update.
58910 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58912         * manual/libc.texinfo (VERSION, UPDATED): Revert.
58914 2012-02-21  David S. Miller  <davem@davemloft.net>
58916         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
58917         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58919 2012-02-20  David S. Miller  <davem@davemloft.net>
58921         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
58922         using a normal save/restore sequence, rather than allocating a
58923         dummy stack frame just to store a frame pointer and restore.
58924         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58926 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58928         * manual/install.texi: Fix stray word in line-wrapped comment.
58930 2012-02-20  David S. Miller  <davem@davemloft.net>
58932         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
58933         both binutils and gcc support GOTDATA.
58935         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
58936         "rd %pc" in the PIC register setup sequences.
58938         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
58939         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
58940         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58941         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
58942         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58943         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58944         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58945         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58946         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58947         (SYSCALL_ERROR_HANDLER): Likewise.
58948         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58949         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58950         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58951         (SYSCALL_ERROR_HANDLER): Likewise.
58953         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58954         (HAVE_GCC_GOTDATA): New.
58955         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58956         relocation support in both binutils and gcc.
58957         * sysdeps/sparc/elf/configure: Regenerate.
58959         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58960         * sysdeps/sparc/sparc32/elf/configure: Delete.
58961         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58962         * sysdeps/sparc/sparc64/elf/configure: Delete.
58963         * sysdeps/sparc/elf/configure.in: New file.
58964         * sysdeps/sparc/elf/configure: Generate.
58966         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58967         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58968         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58969         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58970         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58972 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58974         * manual/install.texi: Do not mention specific glibc version
58975         numbers.
58976         * manual/libc.texinfo (VERSION, UPDATED): Update.
58977         (@copying): Use @copyright{} and range of years.
58979 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58981         [BZ #13695]
58982         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58983         [crti.S not in sysdirs] (generated): Do not append.
58984         [crti.S not in sysdirs] (omit-deps): Likewise.
58985         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58986         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58987         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58988         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58989         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58990         Likewise.
58991         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58992         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58993         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58994         * csu/defs.awk: Remove file.
58995         * sysdeps/generic/initfini.c: Likewise.
58996         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58997         variable.
58998         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58999         Likewise.
59001 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
59003         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
59004         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
59005         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
59006         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
59007         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59008         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
59009         <bits/epoll.h>.
59010         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
59011         (__EPOLL_PACKED): Define to empty if not defined by
59012         <bits/epoll.h>.
59013         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
59014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59015         bits/epoll.h.
59017 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
59019         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
59020         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
59021         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
59022         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
59023         <bits/timerfd.h>.
59024         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
59025         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59026         bits/timerfd.h.
59028 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
59030         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
59031         in C locale.
59032         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59033         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59034         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
59035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59037 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
59039         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59040         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
59042 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
59044         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
59045         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
59046         defined.
59047         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
59048         Likewise.
59049         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
59050         entry for 2.16.
59052 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
59054         * math/w_acos.c: Use non-signaling floating-point comparisons.
59055         * math/w_acosf.c: Likewise.
59056         * math/w_acosh.c: Likewise.
59057         * math/w_acoshf.c: Likewise.
59058         * math/w_acoshl.c: Likewise.
59059         * math/w_acosl.c: Likewise.
59060         * math/w_asin.c: Likewise.
59061         * math/w_asinf.c: Likewise.
59062         * math/w_asinl.c: Likewise.
59063         * math/w_atanh.c: Likewise.
59064         * math/w_atanhf.c: Likewise.
59065         * math/w_atanhl.c: Likewise.
59066         * math/w_exp2.c: Likewise.
59067         * math/w_exp2f.c: Likewise.
59068         * math/w_exp2l.c: Likewise.
59069         * math/w_j0.c: Likewise.
59070         * math/w_j0f.c: Likewise.
59071         * math/w_j0l.c: Likewise.
59072         * math/w_j1.c: Likewise.
59073         * math/w_j1f.c: Likewise.
59074         * math/w_j1l.c: Likewise.
59075         * math/w_jn.c: Likewise.
59076         * math/w_jnf.c: Likewise.
59077         * math/w_log.c: Likewise.
59078         * math/w_log10.c: Likewise.
59079         * math/w_log10f.c: Likewise.
59080         * math/w_log10l.c: Likewise.
59081         * math/w_log2.c: Likewise.
59082         * math/w_log2f.c: Likewise.
59083         * math/w_log2l.c: Likewise.
59084         * math/w_logf.c: Likewise.
59085         * math/w_logl.c: Likewise.
59086         * math/w_sqrt.c: Likewise.
59087         * math/w_sqrtf.c: Likewise.
59088         * math/w_sqrtl.c: Likewise.
59089         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59090         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
59091         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59092         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59093         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59095 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
59097         [BZ #9739]
59098         * manual/string.texi (strnlen): Use correct parameter name in
59099         equivalent expression.
59101 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
59103         [BZ #11174]
59104         * manual/users.texi (seteuid): Consistently use neweuid for
59105         argument name.
59107 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
59109         [BZ #13704]
59110         * manual/nss.texi (Services in the NSS configuration): Correct
59111         list of services in example configuration file.
59113 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
59115         [BZ #11322]
59116         * manual/arith.texi: Remove statements about negative zero
59117         behaving identically to zero.
59119 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
59121         [BZ #5993]
59122         * manual/install.texi: Do not document upgrading from libc5.
59124 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
59126         [BZ #4596]
59127         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
59129 2012-02-18  David S. Miller  <davem@davemloft.net>
59131         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
59132         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
59133         %o7 across the call.
59134         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
59135         instead.
59136         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
59137         SETUP_PIC_REG_LEAF.
59138         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59139         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
59140         * sysdeps/sparc/crtn.S: Likewise.
59142 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
59144         * aout/Makefile: Remove.
59146 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
59148         [BZ #13058]
59149         * manual/examples/argp-ex1.c (main): Format definition in GNU
59150         style.
59151         * manual/examples/argp-ex2.c (main): Likewise.
59152         * manual/examples/argp-ex3.c (main): Likewise.
59153         * manual/examples/argp-ex4.c (main): Likewise.
59154         * manual/examples/longopt.c (main): Use new-style prototype
59155         definition.
59156         * manual/examples/strncat.c (main): Specify return type and use
59157         (void) for arguments.
59158         * manual/examples/subopt.c (main): Use char **argv argument.
59160 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
59162         [BZ #5077]
59163         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
59164         rounding modes.
59166 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
59168         [BZ #6907]
59169         * manual/string.texi (strchr): Change when strchrnul is
59170         recommended.
59172 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
59174         [BZ #174]
59175         * manual/locale.texi (setlocale): Document LOCPATH.
59177 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
59179         [BZ #10210]
59180         * manual/process.texi (execle): Move @dots{} before last argument.
59182 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
59184         [BZ #12047]
59185         * manual/charset.texi (Generic Charset Conversion): Fix typo
59186         (LC_TYPE -> LC_CTYPE).
59188 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
59190         [BZ #5805]
59191         * manual/arith.texi (scalbn): Use @var{} on parameter names.
59192         (scalbnf): Likewise.
59193         (scalbnl): Likewise.
59194         (scalbln): Likewise.
59195         (scalblnf): Likewise.
59196         (scalblnl): Likewise.
59197         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
59198         (vwarnx): Likewise.
59199         (verr): Likewise.
59200         (verrx): Likewise.
59201         * manual/filesys.texi (telldir): Use braces around return type.
59202         * manual/llio.texi (mmap): Add space after comma.
59203         (mmap64): Likewise.
59204         * manual/math.texi (jn): Use @var{} on parameter names.
59205         (jnf): Likewise.
59206         (jnl): Likewise.
59207         (yn): Likewise.
59208         (ynf): Likewise.
59209         (ynl): Likewise.
59210         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
59211         line.
59212         * manual/resource.texi (ulimit): Use @dots{} instead of literal
59213         "...".
59214         (sched_get_priority_min): Remove semicolon on @deftypefun line.
59215         (sched_get_priority_max): Likewise.
59216         * manual/signal.texi (sigvec): Add space after comma.
59217         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
59218         names.
59219         (if_indextoname): Likewise.
59220         (if_freenameindex): Likewise.
59221         (sendto): Use ',' instead of '.' in prototype.
59222         * manual/startup.texi (syscall): Use @dots{} instead of literal
59223         "...".
59224         * manual/stdio.texi (__fpending): Separate initial words of
59225         paragraph from @deftypefun line.
59226         * manual/syslog.texi (syslog): Use @dots{} instead of literal
59227         "...".
59228         (vsyslog): Use @var{} on parameter names.
59229         * manual/terminal.texi (stty): Use @var{} on parameter names.
59230         * manual/users.texi (getutmp): Use @var{} on parameter names.
59231         (getutmpx): Likewise.
59233 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
59235         [BZ #6884]
59236         * manual/stdio.texi (fopen): Fix typos in description of
59237         ",ccs=STRING".
59239 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
59241         [BZ #4026]
59242         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
59243         get clock_id definition.
59245 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
59247         [BZ #4822]
59248         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
59249         (madvise): Cast every argument to void on its own.
59251 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
59253         [BZ #9902]
59254         * manual/startup.texi (Exit Status): Fix typo.
59256 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
59258         [BZ #10140]
59259         * manual/examples/argp-ex1.c: Include <stdlib.h>.
59260         * manual/examples/argp-ex2.c: Likewise.
59261         * manual/examples/argp-ex3.c: Likewise.
59263 2012-02-16  Richard Henderson  <rth@redhat.com>
59265         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
59266         * sysdeps/s390/s390-32/initfini.c: Remove.
59267         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
59268         * sysdeps/s390/s390-64/initfini.c: Remove.
59270 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59272         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
59273         compiler output for sysdeps/generic/initfini.c.
59274         * sysdeps/sh/elf/initfini.c: Remove file.
59276 2012-02-16  David S. Miller  <davem@davemloft.net>
59278         [BZ #11494]
59279         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
59281         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
59282         * sysdeps/sparc/crti.S: New file.
59283         * sysdeps/sparc/crtn.S: New file.
59284         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
59285         * sysdeps/sparc/sparc64/Makefile: Likewise.
59287 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
59289         [BZ #3335]
59290         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
59292 2012-02-15  Roland McGrath  <roland@hack.frob.com>
59294         [BZ #4822]
59295         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
59297         * mach/devstream.c (cookie_io_functions_t): Macro removed.
59298         (write, read, close): Likewise.
59299         Patch by Aurelien Jarno <aurelien@aurel32.net>.
59301 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
59303         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
59304         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
59305         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
59306         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
59307         <bits/signalfd.h>.
59308         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
59309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59310         bits/signalfd.h.
59312 2012-02-14  Marek Polacek  <polacek@redhat.com>
59314         * sysdeps/x86_64/crti.S: New file.
59315         * sysdeps/x86_64/crtn.S: New file.
59316         * sysdeps/x86_64/elf/initfini.c: Remove file.
59318 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
59320         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
59321         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
59322         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
59323         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
59324         <bits/inotify.h>.
59325         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
59326         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59327         bits/inotify.h.
59329 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
59331         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
59332         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
59333         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
59334         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
59335         <bits/eventfd.h>.
59336         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
59337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59338         bits/eventfd.h.
59340 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
59342         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
59343         __feraiseexcept instead of feraiseexcept.
59345         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
59346         nanosleep invocations.
59347         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
59348         strings, and add error checking for a nanosleep invocations.
59350 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
59352         Replace FSF snail mail address with URLs, as per GNU coding standards.
59353         Most of the snail mail addresses were wrong anyway, and omitting
59354         them makes the source code easier to maintain.  Almost all of the
59355         changes are to license notices and to locale LC_IDENTIFICATION
59356         addresses, except for this one:
59357         * manual/libc.texinfo: In "Published by", give the FSF's URL,
59358         not its snail mail address.
59360 2012-02-09  Richard Henderson  <rth@twiddle.net>
59362         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
59363         of kernel-features.h.
59365         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
59367 2012-02-08  Marek Polacek  <polacek@redhat.com>
59369         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
59370         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
59371         * sysdeps/gnu/_G_config.h: Likewise.
59372         * sysdeps/generic/_G_config.h: Likewise.
59374 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
59376         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
59377         tests.
59378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59380         * sysdeps/powerpc/powerpc32/crti.S: New file.
59381         * sysdeps/powerpc/powerpc32/crtn.S: New file.
59382         * sysdeps/powerpc/powerpc64/crti.S: New file.
59383         * sysdeps/powerpc/powerpc64/crtn.S: New file.
59385         * Makeconfig (have-initfini): Don't set.
59386         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
59387         * configure.in (nopic_initfini): Don't substitute.
59388         * config.h.in (HAVE_INITFINI): Don't #undef.
59389         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
59390         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
59392 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
59394         Support crti.S and crtn.S provided directly by architectures.
59395         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
59396         [crti.S in sysdirs] (omit-deps): Likewise.
59397         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
59398         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
59399         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
59400         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
59401         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
59402         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
59403         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
59404         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
59405         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
59406         compiler output for sysdeps/generic/initfini.c.
59407         * sysdeps/i386/elf/Makefile: Remove file.
59408         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
59410 2012-02-07  Marek Polacek  <polacek@redhat.com>
59412         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
59413         * sysdeps/gnu/_G_config.h: Likewise.
59414         * sysdeps/mach/hurd/_G_config.h: Likewise.
59416 2012-02-07  Marek Polacek  <polacek@redhat.com>
59418         * math/Makefile (tests): Add tst-CMPLX2.
59419         * math/tst-CMPLX2.c: New file.
59421 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
59423         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59425         * math/libm-test.inc (jn_test): Add missing L suffix.
59427 2012-02-06  Marek Polacek  <polacek@redhat.com>
59429         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
59430         * sysdeps/i386/fpu/e_powf.S: Likewise.
59431         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59432         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59433         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59434         * sysdeps/i386/fpu/e_pow.S: Likewise.
59435         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59436         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59437         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59438         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59439         * sysdeps/i386/fpu/e_log2.S: Likewise.
59440         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59441         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59442         * sysdeps/i386/fpu/e_powl.S: Likewise.
59443         * sysdeps/i386/fpu/s_log1p.S: Likewise.
59444         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59445         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59446         * sysdeps/i386/fpu/e_logl.S: Likewise.
59447         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59448         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
59449         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59450         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59451         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59452         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59453         * sysdeps/i386/fpu/e_log.S: Likewise.
59454         * sysdeps/i386/fpu/s_cexp.S: Likewise.
59455         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59456         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
59457         * sysdeps/i386/fpu/e_logf.S: Likewise.
59458         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59459         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59460         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
59461         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59462         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59463         * sysdeps/i386/fpu/e_log10.S: Likewise.
59464         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59465         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59466         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59467         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59468         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59469         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59470         * sysdeps/i386/asm-syntax.h: Likewise.
59471         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59472         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59473         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59474         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
59475         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
59476         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59477         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59478         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59479         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59480         * sysdeps/powerpc/sysdep.h: Likewise.
59481         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
59482         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59484 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
59486         [BZ #411]
59487         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
59489 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
59491         * sysdeps/i386/sysdep.h: Include <features.h>.
59492         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
59493         version.
59495 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
59497         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
59498         Define.
59499         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
59500         LOAD_PIC_REG_STR.
59502 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
59504         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
59505         (SETUP_PIC_REG): Use GET_PC_THUNK.
59506         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
59507         macro.
59509 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
59511         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
59512         for non-PIC compilation.
59513         (SETUP_PIC_REG): Add .p2align directive.
59514         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
59515         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
59516         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59517         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59518         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
59519         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59520         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
59521         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59522         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59523         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59524         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59525         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59526         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59527         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59528         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59529         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
59530         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
59531         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59532         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59533         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59534         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59535         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
59536         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59537         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59538         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
59539         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
59540         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59541         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
59542         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59543         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59544         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59545         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59546         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59547         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59548         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59549         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59550         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59551         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59552         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59553         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59554         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59556 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
59558         * math/tst-CMPLX.c: Include <stdio.h>.
59560 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
59562         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
59563         float.
59564         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59565         * sysdeps/sparc/bits/mathdef.h: Likewise.
59567 2012-01-31  Marek Polacek  <polacek@redhat.com>
59569         * libio/libio.h: Don't define _PARAMS.
59570         * locale/programs/config.h: Don't define PARAMS.
59571         * stdlib/strtol_l.c: Likewise.
59572         (__strtol_l): Remove PARAMS from the prototype.
59574 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
59576         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
59577         names.  Just use the correct names.  Remove unnecessary wrapper
59578         functions.
59579         * malloc/arena.c: Likewise.
59580         * malloc/hooks.c: Likewise.
59582         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
59583         ARENA_TEST says not to.  Simplify test for creation of a new arena.
59584         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
59586 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
59588         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
59589         into tail calls.
59590         (update_get_addr): New function.
59591         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
59592         GET_ADDR_MODULE parameter.
59594 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
59596         * crypt/cert.c: Remove __STDC__ conditionals.
59597         * crypt/crypt-entry.c: Likewise.
59598         * crypt/crypt_util.c: Likewise.
59599         * libio/filedoalloc.c: Likewise.
59600         * libio/fileops.c: Likewise.
59601         * libio/genops.c: Likewise.
59602         * libio/iofclose.c: Likewise.
59603         * libio/iofdopen.c: Likewise.
59604         * libio/iofopen.c: Likewise.
59605         * libio/iofopen64.c: Likewise.
59606         * libio/iogetdelim.c: Likewise.
59607         * libio/iopopen.c: Likewise.
59608         * libio/obprintf.c: Likewise.
59609         * libio/oldfileops.c: Likewise.
59610         * libio/oldiofclose.c: Likewise.
59611         * libio/oldiofdopen.c: Likewise.
59612         * libio/oldiofopen.c: Likewise.
59613         * libio/oldiopopen.c: Likewise.
59614         * libio/wfiledoalloc.c: Likewise.
59615         * libio/wgenops.c: Likewise.
59616         * locale/programs/xmalloc.c: Likewise.
59617         * misc/syslog.c: Likewise.
59618         * stdio-common/xbug.c: Likewise.
59619         * string/memchr.c: Likewise.
59620         * string/memcmp.c: Likewise.
59621         * string/memrchr.c: Likewise.
59622         * string/rawmemchr.c: Likewise.
59623         * sysdeps/posix/getcwd.c: Likewise.
59624         * time/strftime_l.c: Likewise.
59626 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
59628         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
59629         * config.make.in (config-cflags-sse2avx): Define.
59630         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
59631         Fix typo.
59633 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
59635         * scripts/config.guess: Update from upstream config git repository.
59636         * scripts/config.sub: Likewise.
59638 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
59640         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
59641         (EM_NUM): Update.
59642         (R_TILEPRO_*, R_TILEGX_*): New macros.
59644         * scripts/firstversions.awk: Fix bug in version range handling.
59646         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
59648         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
59650         * include/sys/epoll.h: New file.
59651         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
59652         libc_hidden_def.
59654 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
59656         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
59657         Avoid unnecessary __WORDSIZE == 64 test.
59658         (fmaxf): Use VEX format if possible.
59659         (fmax): Likewise.
59660         (fminf): Likewise.
59661         (fmin): Likewise.
59663         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
59664         * math/math_private.h: Remove libc_fegetround* and
59665         libc_fesetround*.
59666         * sysdeps/i386/configure.in: Check for -msse2avx.
59667         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
59668         also if SSE2AVX is defined.
59669         Remove libc_fegetround* and libc_fesetround*.
59670         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
59671         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
59672         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
59673         of HAS_YMM_USABLE.
59674         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59675         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59676         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59677         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59678         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59680         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
59682 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59684         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
59685         size is not set.
59686         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59688 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
59690         [BZ #13618]
59691         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
59692         relocation.
59693         * Makeconfig (libm): Define.
59694         * elf/Makefile: Add rules to build and run tst-relsort1.
59695         * elf/tst-relsort1.c: New file.
59696         * elf/tst-relsort1mod1.c: New file.
59697         * elf/tst-relsort1mod2.c: New file.
59699 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
59701         * math/s_ldexp.c: Remove __STDC__ conditionals.
59702         * math/s_ldexpf.c: Likewise.
59703         * math/s_ldexpl.c: Likewise.
59704         * math/s_nextafter.c: Likewise.
59705         * math/s_nexttowardf.c: Likewise.
59706         * math/s_significand.c: Likewise.
59707         * math/s_significandf.c: Likewise.
59708         * math/s_significandl.c: Likewise.
59709         * math/w_jnl.c: Likewise.
59710         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59711         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59712         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59713         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59714         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59715         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59716         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
59717         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59718         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59719         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59720         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59721         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59722         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59723         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59724         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59725         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59726         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59727         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59728         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59729         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59730         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59731         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59732         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59733         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59734         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59735         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59736         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59737         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59738         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59739         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59740         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59741         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59742         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59743         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59744         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59745         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59746         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59747         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59748         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59749         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59750         * sysdeps/ieee754/k_standard.c: Likewise.
59751         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59752         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59753         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59754         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59755         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59756         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59757         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59758         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59759         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59760         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59761         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59762         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59763         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59764         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59765         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59766         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59767         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59768         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59769         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59770         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59771         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59772         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59773         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59774         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59775         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59776         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59777         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59778         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59779         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59780         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59781         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59782         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
59783         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59784         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59785         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59786         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59787         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
59788         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59789         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59790         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
59791         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
59792         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59793         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
59794         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
59795         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59796         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59797         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59798         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59799         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59800         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
59801         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
59802         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59803         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59804         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59805         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59806         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59807         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
59808         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59809         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59810         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59811         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59812         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59813         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59814         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59815         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59816         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59817         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59818         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59819         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59820         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59821         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59822         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59823         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59824         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59825         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59826         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59827         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59828         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59829         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59830         * sysdeps/ieee754/s_matherr.c: Likewise.
59831         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59832         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59833         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59834         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59836 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59838         * crypt/md5.h: Remove __STDC__ conditionals.
59839         * libio/libioP.h: Likewise.
59840         * locale/programs/config.h: Likewise.
59841         * sysdeps/generic/sysdep.h: Likewise.
59842         * sysdeps/i386/asm-syntax.h: Likewise.
59843         * sysdeps/s390/asm-syntax.h: Likewise.
59844         * sysdeps/unix/sysdep.h: Likewise.
59845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
59846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59848 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59850         * libio/libio.h: Remove __STDC__ conditionals.
59851         * malloc/obstack.h: Likewise.
59852         * math/complex.h: Likewise.
59853         * math/math.h: Likewise.
59854         * sysdeps/generic/_G_config.h: Likewise.
59855         * sysdeps/gnu/_G_config.h: Likewise.
59856         * sysdeps/mach/hurd/_G_config.h: Likewise.
59857         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59858         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59859         * sysdeps/sparc/bits/mathdef.h: Likewise.
59861 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
59863         [BZ #13583]
59864         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
59865         Clean up HAS_* macros.
59866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
59867         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
59868         possible.
59869         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
59870         HAS_AVX.
59871         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59872         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59873         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59874         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59875         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59877 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
59879         * elf/tst-unique3.cc (gets): Remove declaration.
59880         * elf/tst-unique3lib.cc (gets): Likewise.
59881         * elf/tst-unique3lib2.cc (gets): Likewise.
59882         * elf/tst-unique4.cc (gets): Likewise.
59884 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
59886         * include/stdio.h: Add C++ protection.  Add gets declarations and
59887         definitions.
59888         * debug/tst-chk1.c: Don't declare gets here.
59889         * stdio-common/tst-gets.c: Likewise.
59891 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59893         * posix/glob: Remove directory.
59895 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59897         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
59899 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
59901         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
59902         of the non-standard EPFNOSUPPORT.
59904 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59906         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
59907         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
59908         ANYWHERE set to 1 only on KERN_NO_SPACE error.
59910 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
59912         * wcsmbs/uchar.h: Test __STDC_VERSION__.
59914 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
59916         * nscd/aicache.c (addhstaiX): Do not cache negative results of
59917         transient errors.
59918         * nscd/grpcache.c (cache_addgr): Likewise.
59919         * nscd/hstcache.c (cache_addhst): Likewise.
59920         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59921         * nscd/pwdcache.c (cache_addpw): Likewise.
59922         * nscd/servicescache.c (cache_addserv): Likewise.
59924 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
59926         * malloc/malloc.c: Various cleanups.
59927         * malloc/hooks.c: Likewise.
59929         * stdlib/Makefile (tests): Add bug-fmtmsg1.
59930         * stdlib/bug-fmtmsg1.c: New file.
59932         * stdlib/fmtmsg.c (init): Add missing unlock.
59933         Patch by Peng Haitao <penght@cn.fujitsu.com>.
59935 2012-01-12  Marek Polacek  <polacek@redhat.com>
59937         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
59938         and _GNU_SOURCE.
59940 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59942         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
59943         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
59944         macro to ensure uniqueness of label name.
59945         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59946         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59948 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
59950         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59952         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59953         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59954         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59955         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59957 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
59959         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59961         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59962         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59963         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59965         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59967         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59968         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59969         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59970         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59972         * math/bits/math-finite.h: Add ldexp support.
59974 2012-01-10  Marek Polacek  <polacek@redhat.com>
59976         * locale/programs/localedef.h (show_archive_content): Add noreturn
59977         attribute.
59979 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
59981         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59983 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59985         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59987         * io/Makefile (headers): Add bits/poll2.h.
59989 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
59991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59992         typo #include statement.
59994 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59996         * include/sys/cdefs.h: Define __attribute_alloc_size.
59997         * catgets/gencat.c: Add alloc_size attribute and apply consistently
59998         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59999         * elf/pldd.c: Likewise.
60000         * iconv/iconv_charmap.c: Likewise.
60001         * iconv/iconvconfig.c: Likewise.
60002         * iconv/strtab.c: Likewise.
60003         * locale/programs/locale.c: Likewise.
60004         * locale/programs/localedef.h: Likewise.
60005         * locale/programs/simple-hash.c: Likewise.
60006         * nscd/nscd.h: Likewise.
60007         * nss/makedb.c: Likewise.
60008         * sysdeps/generic/ldconfig.h: Likewise.
60009         * locale/programs/localedef.c: Remove xmalloc prototype.
60010         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
60012 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60014         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
60015         appropriate.
60017 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
60019         * math/Makefile (tests): Add tst-CMPLX.
60020         * math/tst-CMPLX.c: New file.
60022         * math/complex.h (CMPLXL): Fix typo.
60024         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
60025         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
60026         GLIBC_2.16.
60027         * debug/tst-chk1.c: Add poll and ppoll tests.
60028         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
60029         * include/sys/poll.h: Add hidden proto for ppoll.
60030         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
60031         * sysdeps/mach/hurd/ppoll.c: Likewise.
60032         * io/ppoll.c: Likewise.
60033         * debug/poll_chk.c: New file.
60034         * debug/ppoll_chk.c: New file.
60035         * include/bits/poll2.h: New file.
60036         * io/bits/poll2.h: New file.
60038         [BZ #1350]
60039         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
60041         * configure.in: static is always set to yes.  Remove.
60042         * config.make.in: Don't set build-static.
60043         * Makeconfig: Remove use of build-static.
60044         * dlfcn/Makefile: Likewise.
60045         * elf/Makefile: Likewise.
60046         * math/Makefile: Likewise.
60047         * misc/Makefile: Likewise.
60048         * nptl/Makefile: Likewise.
60049         * sysdeps/mach/hurd/Makefile: Likewise.
60051         * configure.in: PWD_P is not used anymore.
60052         * config.make.in: Remove PWD_P entry.
60054         * configure.in: Remove last remnants of RANLIB.
60055         No need to check for signed size_t anymore.
60056         Don't set libc_commonpagesize and libc_relro_required here for Alpha
60057         and IA-64.
60058         Remove __builtin_expect test because we require at least gcc 3.4.
60059         * aclocal.m4: Likewise.
60061         * wcsmbs/mbrtoc16.c: Implement using towc function.
60062         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
60063         * wcsmbs/wcsmbsload.c: Likewise.
60064         * iconv/gconv_simple.c: Likewise.
60065         * iconv/gconv_int.h: Likewise.
60066         * iconv/gconv_builtin.h: Likewise.
60067         * iconv/iconv_prog.c: Remove CHAR16 handling.
60069         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
60071         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
60073         * configure.in: Remove --with-elf and --enable-bounded options.
60074         Dont set base_machine for ia64.  More non-ELF conditions removed.
60075         Remove testing and setting of leading underscore information.
60076         * config.make.in (build-bounded): Set to no.
60077         * config.h.in: Remove NO_UNDERSCORES entry.
60078         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
60079         them.
60080         * csu/start.c: Remove !NO_UNDERSCORE code.
60081         * locale/localeinfo.h: Likewise.
60082         * sysdeps/generic/machine-gmon.h: Likewise.
60083         * sysdeps/generic/sysdep.h: Likewise.
60084         * sysdeps/i386/sysdep.h: Likewise.
60085         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
60086         * sysdeps/mach/sysdep.h: Likewise.
60087         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60088         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60089         * sysdeps/sh/sysdep.h: Likewise.
60090         * sysdeps/sparc/sparc32/alloca.S: Likewise.
60091         * sysdeps/unix/i386/sysdep.S: Likewise.
60092         * sysdeps/unix/sparc/start.c: Likewise.
60093         * sysdeps/unix/sparc/sysdep.S: Likewise.
60094         * sysdeps/unix/sparc/sysdep.h: Likewise.
60095         * sysdeps/unix/start.c: Likewise.
60096         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60097         * sysdeps/x86_64/sysdep.h: Likewise.
60099 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
60101         [BZ #13553]
60102         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
60103         for non-gcc.
60104         * argp/argp-fmtstream.h: Use const instead __const.
60105         * argp/argp.h: Likewise.
60106         * assert/assert.h: Likewise.
60107         * bits/fenv.h: Likewise.
60108         * bits/sched.h: Likewise.
60109         * bits/sigset.h: Likewise.
60110         * bits/sigthread.h: Likewise.
60111         * catgets/nl_types.h: Likewise.
60112         * conform/data/pthread.h-data: Likewise.
60113         * crypt/crypt-private.h: Likewise.
60114         * crypt/crypt.h: Likewise.
60115         * crypt/crypt_util.c: Likewise.
60116         * ctype/ctype.h: Likewise.
60117         * debug/execinfo.h: Likewise.
60118         * debug/mbsnrtowcs_chk.c: Likewise.
60119         * debug/mbsrtowcs_chk.c: Likewise.
60120         * debug/wcsnrtombs_chk.c: Likewise.
60121         * debug/wcsrtombs_chk.c: Likewise.
60122         * debug/wcstombs_chk.c: Likewise.
60123         * dirent/dirent.h: Likewise.
60124         * dlfcn/dlfcn.h: Likewise.
60125         * elf/neededtest4.c: Likewise.
60126         * grp/grp.h: Likewise.
60127         * gshadow/gshadow.h: Likewise.
60128         * iconv/gconv.h: Likewise.
60129         * iconv/gconv_int.h: Likewise.
60130         * iconv/gconv_simple.c: Likewise.
60131         * iconv/iconv.h: Likewise.
60132         * iconv/loop.c: Likewise.
60133         * iconv/skeleton.c: Likewise.
60134         * include/aio.h: Likewise.
60135         * include/aliases.h: Likewise.
60136         * include/argz.h: Likewise.
60137         * include/arpa/inet.h: Likewise.
60138         * include/assert.h: Likewise.
60139         * include/dirent.h: Likewise.
60140         * include/dlfcn.h: Likewise.
60141         * include/execinfo.h: Likewise.
60142         * include/fcntl.h: Likewise.
60143         * include/fenv.h: Likewise.
60144         * include/glob.h: Likewise.
60145         * include/grp.h: Likewise.
60146         * include/libintl.h: Likewise.
60147         * include/mntent.h: Likewise.
60148         * include/netdb.h: Likewise.
60149         * include/pwd.h: Likewise.
60150         * include/rpc/netdb.h: Likewise.
60151         * include/sched.h: Likewise.
60152         * include/search.h: Likewise.
60153         * include/shadow.h: Likewise.
60154         * include/signal.h: Likewise.
60155         * include/stdio.h: Likewise.
60156         * include/stdlib.h: Likewise.
60157         * include/string.h: Likewise.
60158         * include/sys/socket.h: Likewise.
60159         * include/sys/stat.h: Likewise.
60160         * include/sys/statfs.h: Likewise.
60161         * include/sys/statvfs.h: Likewise.
60162         * include/sys/syslog.h: Likewise.
60163         * include/sys/time.h: Likewise.
60164         * include/sys/uio.h: Likewise.
60165         * include/time.h: Likewise.
60166         * include/unistd.h: Likewise.
60167         * include/utmp.h: Likewise.
60168         * include/wchar.h: Likewise.
60169         * include/wctype.h: Likewise.
60170         * inet/aliases.h: Likewise.
60171         * inet/arpa/inet.h: Likewise.
60172         * inet/netinet/ether.h: Likewise.
60173         * inet/netinet/in.h: Likewise.
60174         * intl/libintl.h: Likewise.
60175         * io/bits/fcntl2.h: Likewise.
60176         * io/fcntl.h: Likewise.
60177         * io/ftw.h: Likewise.
60178         * io/sys/poll.h: Likewise.
60179         * io/sys/stat.h: Likewise.
60180         * io/sys/statfs.h: Likewise.
60181         * io/sys/statvfs.h: Likewise.
60182         * io/utime.h: Likewise.
60183         * libio/bits/stdio.h: Likewise.
60184         * libio/bits/stdio2.h: Likewise.
60185         * libio/libio.h: Likewise.
60186         * libio/libioP.h: Likewise.
60187         * libio/stdio.h: Likewise.
60188         * locale/lc-ctype.c: Likewise.
60189         * locale/locale.h: Likewise.
60190         * login/utmp.h: Likewise.
60191         * malloc/arena.c: Likewise.
60192         * malloc/malloc.c: Likewise.
60193         * malloc/malloc.h: Likewise.
60194         * malloc/mcheck.c: Likewise.
60195         * malloc/mtrace.c: Likewise.
60196         * math/bits/mathcalls.h: Likewise.
60197         * math/fenv.h: Likewise.
60198         * math/math_private.h: Likewise.
60199         * misc/bits/error.h: Likewise.
60200         * misc/bits/syslog.h: Likewise.
60201         * misc/err.h: Likewise.
60202         * misc/error.h: Likewise.
60203         * misc/fstab.h: Likewise.
60204         * misc/mntent.h: Likewise.
60205         * misc/regexp.h: Likewise.
60206         * misc/search.h: Likewise.
60207         * misc/sgtty.h: Likewise.
60208         * misc/sys/mman.h: Likewise.
60209         * misc/sys/syslog.h: Likewise.
60210         * misc/sys/uio.h: Likewise.
60211         * misc/sys/xattr.h: Likewise.
60212         * misc/ttyent.h: Likewise.
60213         * nis/rpcsvc/ypclnt.h: Likewise.
60214         * nss/nss.h: Likewise.
60215         * posix/bits/unistd.h: Likewise.
60216         * posix/fnmatch.h: Likewise.
60217         * posix/glob.h: Likewise.
60218         * posix/sched.h: Likewise.
60219         * posix/spawn.h: Likewise.
60220         * posix/sys/wait.h: Likewise.
60221         * posix/unistd.h: Likewise.
60222         * posix/wordexp.h: Likewise.
60223         * pwd/pwd.h: Likewise.
60224         * resolv/netdb.h: Likewise.
60225         * resource/sys/resource.h: Likewise.
60226         * rt/aio.h: Likewise.
60227         * rt/bits/mqueue2.h: Likewise.
60228         * rt/mqueue.h: Likewise.
60229         * shadow/shadow.h: Likewise.
60230         * signal/signal.h: Likewise.
60231         * socket/send.c: Likewise.
60232         * socket/sendto.c: Likewise.
60233         * socket/sys/socket.h: Likewise.
60234         * stdio-common/printf.h: Likewise.
60235         * stdlib/bits/stdlib.h: Likewise.
60236         * stdlib/fmtmsg.h: Likewise.
60237         * stdlib/monetary.h: Likewise.
60238         * stdlib/stdlib.h: Likewise.
60239         * stdlib/ucontext.h: Likewise.
60240         * streams/stropts.h: Likewise.
60241         * string/argz.h: Likewise.
60242         * string/bits/string2.h: Likewise.
60243         * string/string.h: Likewise.
60244         * string/strings.h: Likewise.
60245         * sunrpc/rpc/auth.h: Likewise.
60246         * sunrpc/rpc/auth_des.h: Likewise.
60247         * sunrpc/rpc/clnt.h: Likewise.
60248         * sunrpc/rpc/netdb.h: Likewise.
60249         * sunrpc/rpc/pmap_clnt.h: Likewise.
60250         * sunrpc/rpc/xdr.h: Likewise.
60251         * sysdeps/generic/inttypes.h: Likewise.
60252         * sysdeps/generic/net/if.h: Likewise.
60253         * sysdeps/generic/sys/swap.h: Likewise.
60254         * sysdeps/gnu/net/if.h: Likewise.
60255         * sysdeps/gnu/utmpx.h: Likewise.
60256         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
60257         * sysdeps/i386/i486/bits/string.h: Likewise.
60258         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
60259         * sysdeps/s390/bits/string.h: Likewise.
60260         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
60261         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
60262         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
60263         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
60264         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
60265         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
60266         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
60267         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
60268         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
60269         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
60270         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
60271         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
60272         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
60273         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
60274         * sysdeps/unix/sysv/linux/readv.c: Likewise.
60275         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
60276         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60277         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60278         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
60279         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
60280         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
60281         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
60282         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
60283         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
60284         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
60285         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
60286         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
60287         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60288         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
60289         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
60290         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
60291         * sysvipc/sys/ipc.h: Likewise.
60292         * sysvipc/sys/msg.h: Likewise.
60293         * sysvipc/sys/sem.h: Likewise.
60294         * sysvipc/sys/shm.h: Likewise.
60295         * termios/termios.h: Likewise.
60296         * time/sys/time.h: Likewise.
60297         * time/time.h: Likewise.
60298         * wcsmbs/bits/wchar2.h: Likewise.
60299         * wcsmbs/uchar.h: Likewise.
60300         * wcsmbs/wchar.h: Likewise.
60301         * wctype/wctype.h: Likewise.
60303         [BZ #13551]
60304         * Makeconfig: Remove all but ELF support including AIX support.
60305         * Makerules: Likewise.
60306         * config.h.in: Likewise.
60307         * config.make.in: Likewise.
60308         * configure: Likewise.
60309         * configure.in: Likewise.
60310         * csu/Makefile: Likewise.
60311         * csu/version.c: Likewise.
60312         * debug/Makefile: Likewise.
60313         * dlfcn/Makefile: Likewise.
60314         * elf/Makefile: Likewise.
60315         * extra-lib.mk: Likewise.
60316         * iconv/Makefile: Likewise.
60317         * include/libc-symbols.h: Likewise.
60318         * include/shlib-compat.h: Likewise.
60319         * resolv/Makefile: Likewise.
60320         * resolv/res_libc.c: Likewise.
60321         * rt/Makefile: Likewise.
60322         * sysdeps/i386/asm-syntax.h: Likewise.
60323         * sysdeps/i386/sysdep.h: Likewise.
60324         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
60325         * sysdeps/mach/sysdep.h: Likewise.
60326         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
60327         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
60328         * sysdeps/s390/asm-syntax.h: Likewise.
60329         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60330         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60331         * sysdeps/sh/sysdep.h: Likewise.
60332         * sysdeps/unix/sparc/sysdep.h: Likewise.
60333         * sysdeps/wordsize-32/divdi3.c: Likewise.
60334         * sysdeps/x86_64/sysdep.h: Likewise.
60336         * argp/Versions: Remove _argp_unlock_xxx.
60338         [BZ #13559]
60339         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
60340         * abilist/libBrokenLocale.abilist: Likewise.
60341         * abilist/libanl.abilist: Likewise.
60342         * abilist/libc.abilist: Likewise.
60343         * abilist/libcrypt.abilist: Likewise.
60344         * abilist/libdl.abilist: Likewise.
60345         * abilist/libm.abilist: Likewise.
60346         * abilist/libnsl.abilist: Likewise.
60347         * abilist/libpthread.abilist: Likewise.
60348         * abilist/libresolv.abilist: Likewise.
60349         * abilist/librt.abilist: Likewise.
60350         * abilist/libthread_db.abilist: Likewise.
60351         * abilist/libutil.abilist: Likewise.
60352         * abilist/libnss_db.abilist: New file.
60354         * scripts/abilist.awk: Add support for indirect functions.
60356         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
60358         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
60360         * shlib-versions: Remove entries for ports architectures.
60362         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
60363         files in ports.
60364         * elf/stackguard-macros.h: Remove support for IA-64.
60365         * elf/tst-auditmod1.c: Likewise.
60366         * sysdeps/generic/ldsodefs.h: Likewise.
60368         * sysdeps/unix/sysv/linux/configure.in: Ports should define
60369         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
60370         configure files.
60372         [BZ #13552]
60373         * configure.in: Remove --enable-omitfp support.
60374         * FAQ.in: Adjust.
60375         * config.make.in: Likewise.
60376         * Makeconfig: Likewise.
60377         * manual/install.texi: Likewise.
60379         In case anyone cares, the IA-64 architecture could move to ports.
60380         * sysdeps/ia64/*: Removed.
60381         * sysdeps/unix/sysv/linux/ia64/*: Removed.
60382         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
60384         [BZ #13555]
60385         * configure.in: Remove entries for unsupported architectures.
60387         [BZ #13533]
60388         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
60389         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
60390         routines.
60391         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
60392         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
60393         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
60394         fall back to using wcrtomb.
60395         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
60396         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
60397         renaming.
60398         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
60399         * wcsmbs/tst-c16c32-1.c: New file.
60401         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
60402         local variable.
60404         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
60406         * elf/tst-unique3.cc: Add explicit declaration of gets.
60407         * elf/tst-unique3lib.cc: Likewise.
60408         * elf/tst-unique3lib2.cc: Likewise.
60409         * elf/tst-unique4.cc: Likewise.
60411         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
60413 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
60415         [BZ #13566]
60416         * assert/assert.h (static_assert): Don't define for C++.
60417         * libio/stdio.h (gets): Do declare for C++ <= C++11.
60418         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
60420 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
60422         * iconv/loop.c (single loop): Fix assertion in storing of
60423         remaining bytes.
60425         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
60427 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
60429         * posix/getconf.c: Update copyright year.
60430         * nss/getent.c: Likewise.
60431         * nss/makedb.c: Likewise.
60432         * iconv/iconvconfig.c: Likewise.
60433         * iconv/iconv_prog.c: Likewise.
60434         * elf/ldconfig.c: Likewise.
60435         * elf/pldd.c: Likewise.
60436         * elf/sotruss.ksh: Likewise.
60437         * catgets/gencat.c: Likewise.
60438         * csu/version.c: Likewise.
60439         * elf/ldd.bash.in: Likewise.
60440         * elf/sprof.c (print_version): Likewise.
60441         * locale/programs/locale.c: Likewise.
60442         * locale/programs/localedef.c: Likewise.
60443         * login/programs/pt_chown.c: Likewise.
60444         * nscd/nscd.c (print_version): Likewise.
60445         * debug/xtrace.sh: Likewise.
60446         * malloc/memusage.sh: Likewise.
60447         * malloc/mtrace.pl: Likewise.
60448         * debug/catchsegv.sh: Likewise.
60450 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
60452         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
60453         pure attribute.
60455 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
60457         [BZ #13533]
60458         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
60459         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
60460         transformations.
60461         * iconv/gconv_int.h: Likewise.
60462         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
60463         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
60464         from libc for GLIBC_2.16.
60465         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
60466         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
60467         * wcsmbs/uchar.h: Really define mbstate_t.
60468         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
60469         * wcsmbs/c16rtomb.c: New file.
60470         * wcsmbs/mbrtoc16.c: New file.
60471         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
60472         for C/POSIX locale.
60473         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
60474         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
60476         * wcsmbs/wchar.h: Add missing __restrict.
60478 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
60480         [BZ #13532]
60481         * time/Makefile (routines): Add timespec_get.
60482         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
60483         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
60484         timespec for ISO C11.
60485         * time/timespec_get.c: New file.
60486         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
60487         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
60489         [BZ #13531]
60490         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
60491         * stdlib/stdlib.h: Declare aligned_alloc.
60492         * Versions.def: Add GLIBC_2.16 for libc.
60493         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
60495         [BZ 13527]
60496         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
60497         ISO C11.
60499         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
60500         code.
60502         [BZ #13528]
60503         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
60505         [BZ #13529]
60506         * assert/assert.h (static_assert): Define.
60508         * version.h: Update for 2.16 development version.
60510         [BZ #13526]
60511         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
60512         _ISOC11_SOURCE.
60514         * version.h (RELEASE): Bump for 2.15 release.
60515         * include/features.h (__GLIBC_MINOR__): Bump to 15.
60517         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
60518         Patch by Marek Polacek <mpolacek@redhat.com>.
60520         * bits/byteswap.h: Protect long long constants with __extension__.
60521         * sysdeps/i386/bits/byteswap.h: Likewise.
60522         * sysdeps/ia64/bits/byteswap.h: Likewise.
60523         * sysdeps/s390/bits/byteswap.h: Likewise.
60524         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60526 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60528         [BZ #13540]
60529         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
60530         destination buffer.
60531         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
60533 2011-12-23  Marek Polacek  <polacek@redhat.com>
60535         * elf/dl-addr.c (determine_info): Add inline keyword.
60536         * elf/tst-auditmod4b.c (check_avx): Likewise.
60537         * elf/tst-auditmod6b.c (check_avx): Likewise.
60538         * elf/tst-auditmod6c.c (check_avx): Likewise.
60539         * elf/tst-auditmod7b.c (check_avx): Likewise.
60541 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
60543         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
60544         !__SSE_MATH__.
60546 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60548         [BZ #13540]
60549         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
60550         processing for last bytes.
60552 2011-08-06  Bruno Haible  <bruno@clisp.org>
60554         [BZ #13061]
60555         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
60556         U+0385, not to U+1FEE.
60558         [BZ #13062]
60559         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
60560         entry for U+00A5 U+0301.
60562 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
60564         [BZ #13166]
60565         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
60566         buffer for the output is too small.
60568         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
60569         optimization.
60571         [BZ #13185]
60572         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
60573         SSE flags if possible.
60575 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60577         [BZ #13540]
60578         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
60579         processing for last bytes.
60581 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
60583         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
60584         (syscall-list-default-options, syscall-list-default-condition)
60585         (syscall-list-includes): Define.
60586         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
60587         list of ABIs and options and #if conditions for each ABI.  Do not
60588         handle common syscalls between ABIs specially.
60589         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
60590         Remove.
60591         (syscall-list-variants, syscall-list-32bit-options)
60592         (syscall-list-32bit-condition, syscall-list-64bit-options)
60593         (syscall-list-64bit-condition): Define.
60594         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
60595         (syscall-list-variants, syscall-list-32bit-options)
60596         (syscall-list-32bit-condition, syscall-list-64bit-options)
60597         (syscall-list-64bit-condition): Define.
60598         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
60599         Remove.
60600         (syscall-list-variants, syscall-list-32bit-options)
60601         (syscall-list-32bit-condition, syscall-list-64bit-options)
60602         (syscall-list-64bit-condition): Define.
60603         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
60604         Remove.
60605         (syscall-list-variants, syscall-list-32bit-options)
60606         (syscall-list-32bit-condition, syscall-list-64bit-options)
60607         (syscall-list-64bit-condition): Define.
60609 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
60611         * locale/iso-639.def: Add brx entry.
60613         [BZ #13328]
60614         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
60615         Proposed by Mariusz_Cukr <marcukr@op.pl>.
60617         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
60618         __feraiseexcept_renamed.
60620 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
60622         [BZ #13538]
60623         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
60624         EPOLLET with unsigned values.
60625         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60626         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
60628         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
60629         to large cancellation.
60630         * math/s_cacoshf.c: Likewise.
60631         * math/s_cacoshl.c: Likewise.
60633 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
60635         [BZ #13305]
60636         [BZ #12786]
60637         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
60638         * math/s_cacoshf.c: Likewise.
60639         * math/s_cacoshl.c: Likewise.
60641 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
60643         [BZ #13439]
60644         * iconv/gconv.h: Define __GCONV_SWAP.
60645         * iconvdata/unicode.c: The swap bit must be stored in __flags.
60646         * iconvdata/utf-16.c: Likewise.
60647         * iconvdata/utf-32.c: Likewise.
60649 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
60651         [BZ #13524]
60652         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
60653         numerator after shifting it by one limb.
60655 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
60657         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
60658         under [__USE_EXTERN_INLINES].
60660 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
60662         [BZ #13446]
60663         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
60665 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60667         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
60668         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
60669         optimized code.
60670         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
60671         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
60672         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
60673         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
60674         for strncasecmp/strncasecmp_l compilation.
60675         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
60676         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
60678 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
60680         [BZ #13484]
60681         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
60682         of __asm__.
60684 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
60686         [BZ #13506]
60687         * time/tzfile.c (__tzfile_read): Check values from file header.
60689 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60691         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
60692         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
60693         * powerpc/powerpc32/dl-start.S: Likewise.
60694         * powerpc/powerpc32/elf/start.S: Likewise.
60695         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60696         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
60697         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
60698         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
60699         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60700         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
60701         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
60702         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60703         * powerpc/powerpc32/fpu/s_round.S: Likewise.
60704         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60705         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60706         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60707         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
60708         * powerpc/powerpc32/memset.S: Likewise.
60709         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60710         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60711         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60712         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60713         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60714         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60715         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60716         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60717         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
60718         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
60719         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
60720         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
60721         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
60723 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60725         * math/libm-test.inc: Added more nearbyint tests.
60726         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
60727         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
60728         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
60729         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
60731 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
60733         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
60734         FD_CLOEXEC.
60736 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60738         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
60739         Add wcscpy-ssse3 wcscpy-c.
60740         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
60741         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
60742         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
60743         * sysdeps/x86_64/wcschr.S: New file.
60744         * sysdeps/x86_64/wcsrchr.S: New file.
60745         * string/test-strcmp.c: Remove checking of wcscmp function for
60746         wrong alignments.
60747         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
60748         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
60749         wcsrchr-sse2 wcsrchr-c.
60750         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
60751         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
60752         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
60753         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
60754         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
60755         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
60756         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
60757         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
60758         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
60759         * wcsmbc/wcschr.c (WCSCHR): New macro.
60761 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60763         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
60764         * wcsmbs/test-wcsrchr.c: New file.
60765         * string/test-strrchr.c: Add wcsrchr support.
60766         (WIDE): New macro.
60767         * wcsmbs/test-wcscpy.c: New file.
60768         * string/test-strcpy.c: Add wcscpy support.
60769         (WIDE): New macro.
60771 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
60773         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
60774         the inner loop.
60776 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
60778         [BZ #13472]
60779         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
60781 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
60783         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
60784         Minor optimizations.
60786         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
60787         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
60788         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
60790 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
60792         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
60793         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
60794         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
60795         for gcc to avoid warnings.
60796         * inet/Makefile (tests): Add tst-checks.
60797         * inet/tst-checks.c: New file.
60799         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
60800         warning.
60802         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
60803         __wmemcmp_sse2.
60805         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
60806         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
60808         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
60810 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
60812         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
60813         problem.
60815         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
60817 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
60819         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
60820         conditional on GCC version.
60821         (__arch_compare_and_exchange_val_8_acq)
60822         (__arch_compare_and_exchange_val_16_acq)
60823         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
60824         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
60825         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
60827 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
60829         * sysdeps/sh/backtrace.c: New file.
60831 2011-12-02  Andreas Schwab  <schwab@redhat.com>
60833         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
60834         parenthesis.
60836 2011-12-01  Andreas Schwab  <schwab@redhat.com>
60838         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
60839         falling back to utime.
60841 2011-11-30  Andreas Schwab  <schwab@redhat.com>
60843         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
60844         expectations for float.
60846 2011-11-29  Andreas Schwab  <schwab@redhat.com>
60848         * locale/weight.h (findidx): Add parameter len.
60849         * locale/weightwc.h (findidx): Likewise.
60850         * posix/fnmatch_loop.c (FCT): Adjust caller.
60851         * posix/regcomp.c (build_equiv_class): Likewise.
60852         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
60853         * posix/regexec.c (check_node_accept_bytes): Likewise.
60854         * string/strcoll_l.c (STRCOLL): Likewise.
60855         * string/strxfrm_l.c (STRXFRM): Likewise.
60857 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
60859         * Makefile.in: Remove CVSOPT handling.
60860         * configure.in: Remove use of AC_REVISION.
60861         * iconvdata/Makefile (distribute): No need to filter out CVS.
60862         * scripts/list-sources.sh: Remove CVS, subversion and monotone
60863         handling.
60865 2011-11-16  Andreas Schwab  <schwab@redhat.com>
60867         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
60868         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
60869         [USE_AS_STRNCASECMP_L]: Likewise.
60870         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
60871         NO_TLS_DIRECT_SEG_REFS.
60872         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
60873         Fix argument offsets for non-PIC.
60874         [USE_AS_STRNCASECMP_L]: Likewise.
60875         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
60876         NO_TLS_DIRECT_SEG_REFS.
60878 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60880         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
60881         O_CLOEXEC.
60882         * locale/loadlocale.c (_nl_load_locale): Likewise.
60884 2011-11-15  Andreas Schwab  <schwab@redhat.com>
60886         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
60887         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
60888         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
60889         (SYSCALL_GETTIME): Set errno on error.
60891         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
60892         count references to noai6ai_cached.
60894 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60896         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
60898         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
60899         FD_CLOEXEC for /proc/self/maps.
60901         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
60902         FD_CLOEXEC for /proc/meminfo.
60904         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
60905         gai.conf.
60907         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
60908         FD_CLOEXEC for given file.
60910         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
60912         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
60913         FD_CLOEXEC for /etc/hosts.
60914         (_gethtent): Likewise.
60916         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
60918         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
60919         cancellation and set FD_CLOEXEC for /etc/netgroup.
60921         * nss/nss_files/files-key.c (search): Don't allow cancellation when
60922         reading /etc/publickey.
60924         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
60925         allow cancellation when reading /etc/group.
60927         * nss/nss_files/files-alias.c (internal_setent): Don't allow
60928         cancellation.
60929         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
60931         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
60932         when using data file.
60934         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
60936         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
60937         (write_nis_obj): Use "c" and "e" in fopen.
60939         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
60941         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
60943         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
60945         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60947         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60948         locale.alias.
60950         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60952         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60954         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60956         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60957         file parsing and set FD_CLOEXEC.
60959 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60961         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60963 2011-11-14  Andreas Schwab  <schwab@redhat.com>
60965         * malloc/arena.c (arena_get2): Don't call reused_arena when
60966         _int_new_arena failed.
60968 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60970         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60971         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60972         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60973         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60974         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60975         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60976         to compile strcasecmp and strncasecmp.
60977         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60978         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60980         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60982 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
60984         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60985         locale-defines.sym to gen-as-const-headers.
60986         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60987         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60988         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60989         to compile strcasecmp and strncasecmp.
60990         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60991         strcasecmp_l and strncasecmp_l.
60992         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60993         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60994         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60995         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60996         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60997         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60998         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60999         * sysdeps/i386/i686/multiarch/strncase.S: New file.
61000         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
61001         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
61002         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
61004 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
61006         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
61007         result of SYSDEP_GETTIME_CPU to retval.
61008         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
61009         parameter list to macro.  Remove trailing semicolon.  Adjust users.
61011         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
61012         variable.
61014         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
61015         mantissa words.
61016         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
61018         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
61019         from unused variable.
61021         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
61022         DWARF definitions.
61023         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
61024         for assembling.
61026         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
61027         over namespaces.
61029         * sunrpc/rpc_prot.c (rejected): Fix case value.
61031         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
61032         unsigned long long int to avoid warnings in shift.
61034         * posix/regex_internal.c (re_string_reconstruct): Actually use result
61035         of use of trans.
61036         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
61037         variable tmp.
61039         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
61040         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
61041         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
61043         * nis/nis_table.c (nis_list): Use variable of correct type for
61044         result of __follow_path call.
61046 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61048         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
61049         of math functions ceil, trunc, floor, round, and sqrt, when
61050         avaliable on the platform.
61051         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
61052         name clash.
61053         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61054         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61055         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61057 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
61059         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
61060         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
61062 2011-11-11  Roland McGrath  <roland@hack.frob.com>
61064         * include/unistd.h: Fix __readlink return type.
61065         Reported by Chris Metcalf <cmetcalf@tilera.com>.
61067 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
61069         * stdlib/ucontext.h: Undo last change for makecontext.
61071 2011-11-11  Andreas Schwab  <schwab@redhat.com>
61073         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
61075         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
61076         * setjmp/setjmp.h: Mark functions as non-leaf.
61077         * setjmp/bits/setjmp2.h: Likewise.
61078         * stdlib/ucontext.h: Likewise.
61080 2011-11-10  Andreas Schwab  <schwab@redhat.com>
61082         * malloc/arena.c (_int_new_arena): Don't increment narenas.
61083         (reused_arena): Don't check arena limit.
61084         (arena_get2): Atomically check arena limit.
61086 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
61088         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
61089         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
61091         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
61092         instructions.
61094 2011-11-07  Andreas Schwab  <schwab@redhat.com>
61096         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
61097         handler when locking.
61099         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61100         Fix size of allocated buffer.
61102 2011-11-04  Andreas Schwab  <schwab@redhat.com>
61104         [BZ #10103]
61105         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
61106         declarations for long double functions.
61107         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
61109         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
61111 2011-11-03  Andreas Schwab  <schwab@redhat.com>
61113         * nscd/nscd.c (main): Don't start AVC thread until credentials are
61114         installed.
61116         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
61117         is disabled.
61119 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61121         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
61123 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61125         * include/alloca.h (stackinfo_alloca_round): Define.
61126         (extend_alloca): Use it.
61127         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
61128         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
61129         here.
61131         * scripts/check-local-headers.sh: Ignore libaudit.h.
61133         * nscd/Makefile (extra-objs): Make recursively expanded.
61135 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
61137         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
61138         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
61140         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
61141         * posix/tst-rfc3484-2.c: Likewise.
61142         * posix/tst-rfc3484-3.c: Likewise.
61144         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
61145         process_vm_writev.
61146         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
61147         process_vm_writev.
61148         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
61149         process_vm_writev from libc using GLIBC_2.15 version.
61151         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
61153 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
61155         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
61156         stack usage.
61158 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
61160         [BZ #13367]
61161         * nss/getent.c (initgroups_keys): Show error message in case no group
61162         names are given.
61164         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
61165         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
61166         __bump_nl_timestamp.
61167         * nscd/connections (nscd_init): When host database is served open
61168         netlink socket and request notification about configuration changes.
61169         (main_loop_poll): Track netlink file descriptor and bump timestamp
61170         in case data becomes available.
61171         (main_loop_epoll): Likewise.
61172         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
61173         (database_pers_head): Add extra_data fileds.
61174         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
61175         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
61176         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
61177         Adjust caller.
61178         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
61179         in6ai data, call __free_in6ai.
61180         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
61181         Add -DHAVE_NETLINK.
61182         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
61183         interface information.  Reuse previous data if netlink timestamp
61184         is not changed.
61185         (__bump_nl_timestamp): New function.
61186         (__free_in6ai): New function.
61188 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
61190         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
61191         close_not_cancel_no_status here.
61192         (__check_pf): Reorganize code a bit to not call close twice if OOM.
61194 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
61196         [BZ #13276]
61197         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
61198         return value.
61200         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
61201         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
61202         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
61204 2011-07-03  Andreas Jaeger  <aj@suse.de>
61206         [BZ #10709]
61207         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
61208         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
61209         * math/libm-test.inc (sin_test): Add test case.
61211 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
61213         [BZ #13337]
61214         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
61215         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
61217         * elf/chroot_canon.c (chroot_canon): Cleanups.
61219         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
61221         [BZ #13335]
61222         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
61223         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
61225         * string/test-strchr.c: Make usable for strchrnul testing.
61226         * string/test-strchrnul.c: New file.
61227         * string/Makefile (strop-tests): Add strchrnul.
61229         * po/it.po: Update from translation team.
61230         * po/es.po: Likewise.
61232 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
61234         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
61235         the three constants needed as parameters.  Drop the others.
61236         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
61237         __m128i_strloadu_tolower.
61238         Create and initialize variable zero and use it in all the places
61239         where _mm_setzero_si128 was used.
61241         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
61242         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
61243         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
61244         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
61245         anymore.
61246         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
61247         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
61248         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
61249         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
61250         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
61251         __mpranred, __mptan.
61252         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
61253         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
61254         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
61255         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
61256         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
61257         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
61258         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
61259         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
61260         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
61262 2011-10-28  Andreas Schwab  <schwab@redhat.com>
61264         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
61265         redefine if SHARED.
61266         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
61268         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
61269         wide char related routines to wcsmbs subdir.
61271 2011-10-27  Andreas Schwab  <schwab@redhat.com>
61273         [BZ #13344]
61274         * misc/sys/cdefs.h (__THROWNL): Define.
61275         * posix/unistd.h: Use __THREADNL instead of __THREAD
61276         for memory synchronization functions.
61278 2011-10-26  Roland McGrath  <roland@hack.frob.com>
61280         [BZ #13349]
61281         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
61282         doesn't exist.
61283         * manual/stdio.texi (Obstack Streams): Node removed.
61285 2011-10-26  Andreas Schwab  <schwab@redhat.com>
61287         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
61288         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61289         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61291         * math/math_private.h (math_force_eval): Allow non-addressable
61292         arguments.
61293         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
61295 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
61297         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
61298         file is not needed.
61300         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
61301         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
61302         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61303         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61304         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61305         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61306         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61307         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
61308         Add AVX variants.
61309         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
61310         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
61311         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
61312         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
61313         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
61314         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
61315         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
61316         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
61317         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
61318         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
61319         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
61320         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
61321         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
61322         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
61323         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
61324         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
61325         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
61326         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
61327         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
61329         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
61330         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
61332         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
61333         place.  Use VEX encoding when compiling for AVX.
61335 2011-10-25  Andreas Schwab  <schwab@redhat.com>
61337         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
61338         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
61340         * string/test-strchr.c (do_test): Don't generate NUL bytes.
61342 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
61344         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
61345         useless if() expression.
61346         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61347         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61348         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61349         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61350         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61351         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61352         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61353         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61354         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61355         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61356         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61357         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61358         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
61359         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61360         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61361         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61362         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61363         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61364         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61366         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
61368 2011-10-25  Andreas Schwab  <schwab@redhat.com>
61370         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
61371         condition.
61372         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61374 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
61376         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
61377         .text section.  Avoid duplicate constants.
61378         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61379         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61380         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61381         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61382         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61383         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61384         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61385         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61386         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61387         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
61388         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61389         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61390         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61391         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61392         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61393         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61394         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61395         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61396         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61397         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61398         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61399         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61400         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61401         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
61402         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
61403         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
61404         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
61405         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
61406         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
61407         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
61408         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
61409         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
61410         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61411         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
61412         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
61413         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
61414         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
61415         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
61416         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
61417         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
61418         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
61419         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
61420         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
61421         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
61422         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
61424 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
61426         * sysdeps/x86_64/dla.h: Move to ...
61427         * sysdeps/x86_64/fpu/dla.h: ...here.
61428         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
61429         situations.  Use __builtin_fma only for gcc 4.6 and up.
61431         * config.make.in: Add have-mfma4 entry.
61432         * configure.in: Substitute libc_cv_cc_fma4.
61433         * math/Makefile (dbl-only-routines): Add sincostab.
61434         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
61435         Use __sincostab not sincos.
61436         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
61437         name is a macro.
61438         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61439         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61440         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61441         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
61442         using __copysign.
61443         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
61444         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
61445         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
61446         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
61447         and __inv.
61448         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
61449         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
61450         __copysign.
61451         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
61452         define aliases when function name is a macro.
61453         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
61454         sysdeps/ieee754/dbl-64/sincos.tbl.
61455         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
61456         fma4-enabled routines.
61457         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
61458         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
61459         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
61460         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
61461         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
61462         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
61463         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
61464         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
61465         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
61466         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
61467         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
61468         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
61469         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
61470         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
61471         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
61472         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
61473         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
61474         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
61475         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
61476         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
61477         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
61478         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
61479         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
61480         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
61481         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
61482         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
61483         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
61484         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
61485         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
61486         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
61488         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
61489         rename.
61490         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61491         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61492         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61493         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61494         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61495         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61496         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61497         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61499 2011-10-24  Andreas Schwab  <schwab@redhat.com>
61501         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
61503 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
61505         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
61507         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
61508         prediction.
61509         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
61511         * string/strnlen.c: Don't define STRNLEN, reverse logic.
61512         Remove unused variable magic_bits.
61513         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
61515         * string/strnlen.c: Define and use STRNLEN macro.
61516         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
61517         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
61518         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
61519         * wcsmbs/wcslen.c: Define and use WCSLEN.
61520         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
61521         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
61522         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
61523         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
61524         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
61525         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
61526         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61528 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61531         strnlen-sse2-no-bsf.
61532         Rename strlen-no-bsf to strlen-sse2-no-bsf.
61533         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
61534         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
61535         Add strnlen support.
61536         (USE_AS_STRNLEN): New macro.
61537         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
61538         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
61539         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
61540         * sysdeps/x86_64/wcslen.S: New file.
61542 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
61544         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61545         XMM-moves are used for copying on small sizes.
61547 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61549         * wcsmbs/Makefile (strop-tests): Add wcschr.
61550         * wcsmbs/test-wcschr.c: New file.
61551         * string/test-strchr.c: Update.
61552         Add wcschr support.
61553         (WIDE): New macro.
61555 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61557         * wcsmbs/Makefile (strop-tests): Add wcslen.
61558         * wcsmbs/test-wcslen.c: New file.
61559         * string/test-strlen.c: Update.
61560         Add wcslen support.
61561         (WIDE): New macro.
61563 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
61565         * po/it.po: Update from translation team.
61567 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61569         * sysdeps/x86_64/wcscmp.S: Update.
61570         Fix wrong comparison semantics.
61571         wcscmp shall use signed comparison not unsigned.
61572         Don't use substraction to avoid overflow bug.
61573         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
61574         * wcsmbc/wcscmp.c: Likewise.
61575         * string/test-strcmp.c: Likewise.
61576         Add new tests to check cases with negative values.
61578 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
61580         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
61581         * sysdeps/x86_64/dla.h: ...here.  New file.
61582         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
61583         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61584         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61585         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61586         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61587         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61588         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61589         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61590         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61592 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
61594         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
61595         __ynl_finite aliases.
61597 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
61599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61601         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
61602         define DLA_FMA.
61603         [DLA_FMA] (EMULV): Use DLA_FMA.
61604         [DLA_FMA] (MUL12): Use EMULV.
61605         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
61606         that are not needed.
61607         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61608         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61611         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61612         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61613         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61615 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
61617         * math/s_nan.c: Undef __nan.
61618         * math/s_nanf.c: Undef __nanf.
61619         * math/s_nanl.c: Undef __nanl.
61620         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
61621         "math_private.h".
61623 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
61625         * math/s_catan.c: Add branch predictions.
61626         * math/s_catanf.c: Likewise.
61627         * math/s_catanh.c: Likewise.
61628         * math/s_catanhf.c: Likewise.
61629         * math/s_catanhl.c: Likewise.
61630         * math/s_catanl.c: Likewise.
61631         * math/s_cexp.c: Likewise.
61632         * math/s_cexpf.c: Likewise.
61633         * math/s_cexpl.c: Likewise.
61634         * math/s_clog.c: Likewise.
61635         * math/s_clog10.c: Likewise.
61636         * math/s_clog10f.c: Likewise.
61637         * math/s_clog10l.c: Likewise.
61638         * math/s_clogf.c: Likewise.
61639         * math/s_clogl.c: Likewise.
61640         * math/s_csqrt.c: Likewise.
61641         * math/s_csqrtf.c: Likewise.
61642         * math/s_csqrtl.c: Likewise.
61643         * math/s_ctanf.c: Likewise.
61644         * math/s_ctanh.c: Likewise.
61645         * math/s_ctanhf.c: Likewise.
61646         * math/s_ctanhl.c: Likewise.
61647         * math/s_ctanl.c: Likewise.
61649         * math/math_private.h: Define __nan, __nanf, __nanl.
61650         * math/s_cacosh.c: Include <math_private.h>.
61651         * math/s_cacoshl.c: Likewise.
61652         * math/s_casinh.c: Likewise.
61653         * math/s_casinhf.c: Likewise.
61654         * math/s_casinhl.c: Likewise.
61655         * math/s_ccos.c: Rely entire on ccosh.
61656         * math/s_ccosf.c: Rely entire on ccoshf.
61657         * math/s_ccosl.c: Rely entirely on ccoshl.
61658         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
61659         Remove tests for FE_INVALID.
61660         * math/s_ccoshf.c: Likewise.
61661         * math/s_ccoshl.c: Likewise.
61662         * math/s_csin.c: Likewise.
61663         * math/s_csinf.c: Likewise.
61664         * math/s_csinh.c Likewise.
61665         * math/s_csinhf.c: Likewise.
61666         * math/s_csinhl.c: Likewise.
61667         * math/s_csinl.c: Likewise.
61668         * math/s_ctan.c: Likewise.
61669         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
61670         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
61671         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
61673 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
61675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
61676         compilation problems.
61678         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
61679         __builtin_expect.
61681 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
61683         * sysdeps/i386/configure.in: Test for -mfma4 option.
61684         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
61685         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
61686         COMMON_CPUID_INDEX_80000001.
61687         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
61688         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
61689         use it if FMA3 is not supported.
61690         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
61692         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
61693         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61695 2011-10-20  Andreas Schwab  <schwab@redhat.com>
61697         [BZ #12892]
61698         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
61699         it would create a cycle with a link time dependency.
61701 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
61703         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
61704         instruction.
61705         * string/Makefile (strop-tests): Add rawmemchr.
61706         * string/test-rawmemchr.c: New file.
61708         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
61709         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
61710         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
61711         when compiling str{,n}casecmp and when AVX is available.  Hook up
61712         new optimized code in initializers.
61714 2011-10-19  Andreas Schwab  <schwab@redhat.com>
61716         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
61717         __feraiseexcept instead of feraiseexcept.
61719 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
61721         * math/math_private.h: Define defaults for libc_fetestexcept and
61722         libc_feupdateenv.
61723         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
61724         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
61725         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61726         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61727         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61728         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61729         libc_fetestexcept and libc_feupdateenv.
61731         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
61732         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
61733         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
61734         * sysdeps/x86_64/fpu/math_private.h: Define special version of
61735         libc_feholdexcept_setround.
61737         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
61738         Add s_nearbyint-c and s_nearbyintf-c.
61739         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
61740         nearbyintf inlines.
61741         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
61742         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
61743         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
61744         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
61746         * math/math_private.h: Define defaults for libc_fegetround,
61747         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
61748         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
61749         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
61750         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
61751         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
61752         standard functions.
61753         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61754         Remove comments and hacks for old compiler versions.
61755         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61756         libc_fegetround, libc_fesetround, libc_feholdexcept, and
61757         libc_feholdexceptl.
61759 2011-10-18  Andreas Schwab  <schwab@redhat.com>
61761         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
61762         (__feraiseexcept_renamed): Add __NTH.
61763         (feraiseexcept): Add __NTH.  Rename local variables to fix
61764         namespace violations.
61766 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
61768         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
61770         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
61772         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
61773         recently added interfaces.
61774         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
61776         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
61777         about macro parameter expansion.
61779         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
61780         __NO_MATH_INLINES is defined.  Cleanups.
61782         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
61783         and __floorf is target has SSE4.1.
61784         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
61785         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
61786         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
61787         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
61789         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
61790         name.
61791         (floorf): Likewise.
61793         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
61795 2011-10-17  Andreas Schwab  <schwab@redhat.com>
61797         * misc/sys/cdefs.h: Fix last change.
61799         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
61800         database lookup.
61802 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
61804         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
61806         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
61807         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61808         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61809         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61810         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61811         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61812         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61813         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61814         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61815         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
61816         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
61817         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
61818         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
61819         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
61820         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
61821         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
61822         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
61823         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
61824         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
61825         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
61826         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
61827         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
61829         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
61830         ceil, ceilf, floor, floorf.
61832         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
61833         Perform IRELATIVE relocations last.
61835         * elf/do-rel.h: Add another parameter nrelative, replacing the
61836         local variable with the same name.  Change name of the function
61837         to end in Rel or Rela (uppercase).
61838         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
61839         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
61840         elf_dynamic_do_##reloc function.
61842 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61844         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
61845         is sufficient, at least on modern CPUs.
61847         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
61849         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
61850         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
61852         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
61853         __expl_finite.
61854         * math/bits/math-finite.h: Add entries for exp.
61855         * math/e_expl.c: Add __*_finite alias.
61856         * sysdeps/i386/fpu/e_exp.S: Likewise.
61857         * sysdeps/i386/fpu/e_expf.S: Likewise.
61858         * sysdeps/i386/fpu/e_expl.c: Likewise.
61859         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61860         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61861         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61862         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61863         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
61864         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61865         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61867         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
61868         is sufficient, at least on modern CPUs.
61870         * ctype/ctype-info.c (__ctype_init): Define.
61871         * include/ctype.h (__ctype_init): Declare.
61872         (__ctype_b_loc): The variable is always initialized.
61873         (__ctype_toupper_loc): Likewise.
61874         (__ctype_tolower_loc): Likewise.
61875         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
61876         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
61878 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
61880         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
61882         * configure.in: Also look in $cxxmachine/include for C++ system
61883         headers.
61885 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61887         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
61888         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
61889         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
61890         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
61891         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
61892         (USE_AS_WMEMCMP): New macro.
61893         Fixing indents.
61894         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
61895         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
61896         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
61897         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
61898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61899         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
61900         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
61901         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
61902         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
61903         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
61904         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
61905         (USE_AS_WMEMCMP): New macro.
61906         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
61907         * sysdeps/string/test-memcmp.c: Update.
61908         Fix simple_wmemcmp.
61909         Add new tests.
61910         * wcsmbs/wmemcmp.c: Update.
61911         (WMEMCMP): New macro.
61912         Fix overflow bug.
61914 2011-10-12  Andreas Jaeger  <aj@suse.de>
61916         [BZ #13268]
61917         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
61919 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61921         * libio/iofwide.c (do_length): Avoid warning.
61923         * ctype/ctype.h (__isctype_f): Add missing __THROW.
61925 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
61927         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
61929         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
61930         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
61931         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
61932         * sysdeps/i386/i686/fpu/e_log.S: New file.
61933         * sysdeps/i386/i686/fpu/e_logf.S: New file.
61934         * sysdeps/i386/i686/fpu/e_logl.S: New file.
61936         * ctype/ctype.h: Add support for inlined isXXX functions when
61937         compiling C++ code.
61939 2011-10-14  Andreas Schwab  <schwab@redhat.com>
61941         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61943         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
61945 2011-10-13  Roland McGrath  <roland@hack.frob.com>
61947         [BZ #13291]
61948         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61950 2011-10-13  Andreas Schwab  <schwab@redhat.com>
61952         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61953         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61954         feraiseexcept.
61956         * sysdeps/x86_64/memrchr.S: Check for zero size.
61958         * string/stratcliff.c: Add memrchr tests.
61960 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61962         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61963         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61964         rawmemchr-sse2 rawmemchr-sse2-bsf.
61965         * sysdeps/i386/i686/multiarch/memchr.S: New file.
61966         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61967         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61968         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61969         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61970         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61971         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61972         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61973         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61974         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61975         * string/memrchr.c (MEMRCHR): New macro.
61977 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
61979         Add integration with gcc's -ffinite-math-only and optimize wrapper
61980         functions in libm.
61981         * Versions.def: Define GLIBC_2.15 version for libm.
61982         * math/Makefile (headers): Add bits/math-finite.h.
61983         * math/bits/math-finite.h: New file.
61984         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61985         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61986         * math/e_acoshl.c: Add __*_finite alias.
61987         * math/e_acosl.c: Likewise.
61988         * math/e_asinl.c: Likewise.
61989         * math/e_atan2l.c: Likewise.
61990         * math/e_atanhl.c: Likewise.
61991         * math/e_coshl.c: Likewise.
61992         * math/e_exp10.c: Likewise.
61993         * math/e_exp10f.c: Likewise.
61994         * math/e_exp10l.c: Likewise.
61995         * math/e_exp2l.c: Likewise.
61996         * math/e_fmodl.c: Likewise.
61997         * math/e_gammal_r.c: Likewise.
61998         * math/e_hypotl.c: Likewise.
61999         * math/e_j0l.c: Likewise.
62000         * math/e_j1l.c: Likewise.
62001         * math/e_jnl.c: Likewise.
62002         * math/e_lgammal_r.c: Likewise.
62003         * math/e_log10l.c: Likewise.
62004         * math/e_log2l.c: Likewise.
62005         * math/e_logl.c: Likewise.
62006         * math/e_powl.c: Likewise.
62007         * math/e_sinhl.c: Likewise.
62008         * math/e_sqrtl.c: Likewise.
62009         * math/e_scalb.c: Completely rewritten and optimized.
62010         * math/e_scalbf.c: Likewise.
62011         * math/e_scalbl.c: Likewise.
62012         * math/w_acos.c: Likewise.
62013         * math/w_acosf.c: Likewise.
62014         * math/w_acosl.c: Likewise.
62015         * math/w_acosh.c: Likewise.
62016         * math/w_acoshf.c: Likewise.
62017         * math/w_acoshl.c: Likewise.
62018         * math/w_asin.c: Likewise.
62019         * math/w_asinf.c: Likewise.
62020         * math/w_asinl.c: Likewise.
62021         * math/w_atan2.c: Likewise.
62022         * math/w_atan2f.c: Likewise.
62023         * math/w_atan2l.c: Likewise.
62024         * math/w_atanh.c: Likewise.
62025         * math/w_atanhf.c: Likewise.
62026         * math/w_atanhl.c: Likewise.
62027         * math/w_exp10.c: Likewise.
62028         * math/w_exp10f.c: Likewise.
62029         * math/w_exp10l.c: Likewise.
62030         * math/w_fmod.c: Likewise.
62031         * math/w_fmodf.c: Likewise.
62032         * math/w_fmodl.c: Likewise.
62033         * math/w_j0.c: Likewise.
62034         * math/w_j0f.c: Likewise.
62035         * math/w_j0l.c: Likewise.
62036         * math/w_j1.c: Likewise.
62037         * math/w_j1f.c: Likewise.
62038         * math/w_j1l.c: Likewise.
62039         * math/w_jn.c: Likewise.
62040         * math/w_jnf.c: Likewise.
62041         * math/w_log.c: Likewise.
62042         * math/w_logf.c: Likewise.
62043         * math/w_logl.c: Likewise.
62044         * math/w_log10.c: Likewise.
62045         * math/w_log10f.c: Likewise.
62046         * math/w_log10l.c: Likewise.
62047         * math/w_log2.c: Likewise.
62048         * math/w_log2f.c: Likewise.
62049         * math/w_log2l.c: Likewise.
62050         * math/w_pow.c: Likewise.
62051         * math/w_powf.c: Likewise.
62052         * math/w_powl.c: Likewise.
62053         * math/w_remainder.c: Likewise.
62054         * math/w_remainderf.c: Likewise.
62055         * math/w_remainderl.c: Likewise.
62056         * math/w_scalb.c: Likewise.
62057         * math/w_scalbf.c: Likewise.
62058         * math/w_scalbl.c: Likewise.
62059         * math/w_sqrt.c: Likewise.
62060         * math/w_sqrtf.c: Likewise.
62061         * math/w_sqrtl.c: Likewise.
62062         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
62063         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
62064         used.
62065         * math/math_private.h: Declare __kernel_standard_f.
62066         * math/w_cosh.c: Remove cruft and optimize a bit.
62067         * math/w_coshf.c: Likewise.
62068         * math/w_coshl.c: Likewise.
62069         * math/w_exp2.c: Likewise.
62070         * math/w_exp2f.c: Likewise.
62071         * math/w_exp2l.c: Likewise.
62072         * math/w_hypot.c: Likewise.
62073         * math/w_hypotf.c: Likewise.
62074         * math/w_hypotl.c: Likewise.
62075         * math/w_lgamma.c: Likewise.
62076         * math/w_lgamma_r.c: Likewise.
62077         * math/w_lgammaf.c: Likewise.
62078         * math/w_lgammaf_r.c: Likewise.
62079         * math/w_lgammal.c: Likewise.
62080         * math/w_lgammal_r.c: Likewise.
62081         * math/w_sinh.c: Likewise.
62082         * math/w_sinhf.c: Likewise.
62083         * math/w_sinhl.c: Likewise.
62084         * math/w_tgamma.c: Likewise.
62085         * math/w_tgammaf.c: Likewise.
62086         * math/w_tgammal.c: Likewise.
62087         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62088         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62089         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
62090         Minor optimizations.  Pretty printing.  Remove cruft.
62091         * sysdeps/i386/fpu/e_acosf.S: Likewise.
62092         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62093         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62094         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62095         * sysdeps/i386/fpu/e_acosl.c: Likewise.
62096         * sysdeps/i386/fpu/e_asin.S: Likewise.
62097         * sysdeps/i386/fpu/e_asinf.S: Likewise.
62098         * sysdeps/i386/fpu/e_atan2.S: Likewise.
62099         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
62100         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
62101         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62102         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62103         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62104         * sysdeps/i386/fpu/e_exp10.S: Likewise.
62105         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
62106         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
62107         * sysdeps/i386/fpu/e_exp2.S: Likewise.
62108         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
62109         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
62110         * sysdeps/i386/fpu/e_fmod.S: Likewise.
62111         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
62112         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
62113         * sysdeps/i386/fpu/e_hypot.S: Likewise.
62114         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
62115         * sysdeps/i386/fpu/e_log.S: Likewise.
62116         * sysdeps/i386/fpu/e_log10.S: Likewise.
62117         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62118         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62119         * sysdeps/i386/fpu/e_log2.S: Likewise.
62120         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62121         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62122         * sysdeps/i386/fpu/e_logf.S: Likewise.
62123         * sysdeps/i386/fpu/e_logl.S: Likewise.
62124         * sysdeps/i386/fpu/e_pow.S: Likewise.
62125         * sysdeps/i386/fpu/e_powf.S: Likewise.
62126         * sysdeps/i386/fpu/e_powl.S: Likewise.
62127         * sysdeps/i386/fpu/e_remainder.S: Likewise.
62128         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
62129         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
62130         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62131         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62132         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62133         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
62134         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
62135         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
62136         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62137         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62138         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62139         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62140         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62141         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62142         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
62143         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62144         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62145         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62146         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62147         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62148         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62149         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62150         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62151         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62152         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62153         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62154         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62155         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62156         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62157         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62158         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62159         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62160         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62161         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62162         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
62163         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62164         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
62165         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62166         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62167         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62168         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62169         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62170         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62171         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62172         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62173         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62174         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62175         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62176         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62177         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62178         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62179         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62180         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62181         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62182         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62183         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62184         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62185         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
62186         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62187         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62188         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62189         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62190         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62191         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62192         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62193         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62194         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62195         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62196         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62197         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62198         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62199         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62200         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62201         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62202         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62203         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62204         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
62205         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62206         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62207         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62208         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62209         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62210         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62211         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62212         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62213         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62214         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62215         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62216         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62217         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62218         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
62219         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62220         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62221         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62222         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62223         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62224         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62225         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62226         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62227         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62228         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62229         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
62230         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62231         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
62232         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
62233         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
62234         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
62235         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
62236         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
62237         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
62238         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
62239         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
62240         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62241         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62242         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62243         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62244         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
62245         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62246         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
62247         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
62248         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
62249         (__isnanf): Likewise.
62250         (__isinf_ns): Likewise.
62251         (__isinf_nsf): Likewise.
62252         (__finite): Likewise.
62253         (__finitef): Likewise.
62254         (__ieee754_sqrt): Define as macro.
62255         (__ieee754_sqrtf): Define as macro.
62256         (__ieee754_sqrtl): Define as macro.
62257         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
62258         inlined copy.
62259         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
62260         __FINITE_MATH_ONLY__ consistent.
62261         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
62263 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
62265         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
62266         of rawmemchr.
62268         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
62270 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
62272         * po/ja.po: Update from translation team.
62274 2011-10-08  Roland McGrath  <roland@hack.frob.com>
62276         * locale/programs/locarchive.c (prepare_address_space): New function.
62277         (create_archive, enlarge_archive, open_archive): Use it.
62279         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
62280         inside [SHARED], where it is used.
62282         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
62284         * nss/getent.c (netgroup_keys): Remove unused variable.
62285         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62287 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
62289         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
62290         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
62291         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
62292         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
62293         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
62294         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
62295         * math/Makefile (libm-calls): Add s_isinf_ns.
62296         * math/divtc3.c: Use __isinf_nsl instead of isinf.
62297         * math/multc3.c: Likewise.
62298         * math/s_casin.c: Likewise.
62299         * math/s_casinf.c: Likewise.
62300         * math/s_casinl.c: Likewise.
62301         * math/s_ccos.c: Likewise.
62302         * math/s_ccosf.c: Likewise.
62303         * math/s_ccosl.c: Likewise.
62304         * math/s_ctan.c: Likewise.
62305         * math/s_ctanf.c: Likewise.
62306         * math/s_ctanh.c: Likewise.
62307         * math/s_ctanhf.c: Likewise.
62308         * math/s_ctanhl.c: Likewise.
62309         * math/s_ctanl.c: Likewise.
62310         * math/w_fmod.c: Likewise.
62311         * math/w_fmodf.c: Likewise.
62312         * math/w_fmodl.c: Likewise.
62313         * math/w_remainder.c: Likewise.
62314         * math/w_remainderf.c: Likewise.
62315         * math/w_remainderl.c: Likewise.
62316         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
62317         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
62318         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
62319         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
62320         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
62321         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
62322         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
62323         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
62325         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
62326         of the number.
62327         * stdio-common/printf_fphex.c: Likewise.
62328         * stdio-common/printf_size.c: Likewise.
62330         * math/e_exp10.c: Include math_private.h using <...> not "...".
62331         * math/e_exp10f.c: Likewise.
62332         * math/e_exp10l.c: Likewise.
62333         * math/e_exp2l.c: Likewise.
62334         * math/e_j0l.c: Likewise.
62335         * math/e_j1l.c: Likewise.
62336         * math/e_jnl.c: Likewise.
62337         * math/e_lgammal_r.c: Likewise.
62338         * math/e_rem_pio2l.c: Likewise.
62339         * math/e_scalb.c: Likewise.
62340         * math/e_scalbf.c: Likewise.
62341         * math/e_scalbl.c: Likewise.
62342         * math/k_cosl.c: Likewise.
62343         * math/k_sinl.c: Likewise.
62344         * math/k_tanl.c: Likewise.
62345         * math/s_cacoshf.c: Likewise.
62346         * math/s_catan.c: Likewise.
62347         * math/s_catanf.c: Likewise.
62348         * math/s_catanh.c: Likewise.
62349         * math/s_catanhf.c: Likewise.
62350         * math/s_catanhl.c: Likewise.
62351         * math/s_catanl.c: Likewise.
62352         * math/s_ccosh.c: Likewise.
62353         * math/s_ccoshf.c: Likewise.
62354         * math/s_ccoshl.c: Likewise.
62355         * math/s_cexp.c: Likewise.
62356         * math/s_cexpf.c: Likewise.
62357         * math/s_cexpl.c: Likewise.
62358         * math/s_clog.c: Likewise.
62359         * math/s_clog10.c: Likewise.
62360         * math/s_clog10f.c: Likewise.
62361         * math/s_clog10l.c: Likewise.
62362         * math/s_clogf.c: Likewise.
62363         * math/s_clogl.c: Likewise.
62364         * math/s_csin.c: Likewise.
62365         * math/s_csinf.c: Likewise.
62366         * math/s_csinh.c: Likewise.
62367         * math/s_csinhf.c: Likewise.
62368         * math/s_csinhl.c: Likewise.
62369         * math/s_csinl.c: Likewise.
62370         * math/s_csqrt.c: Likewise.
62371         * math/s_csqrtf.c: Likewise.
62372         * math/s_csqrtl.c: Likewise.
62373         * math/s_ctan.c: Likewise.
62374         * math/s_ctanf.c: Likewise.
62375         * math/s_ctanh.c: Likewise.
62376         * math/s_ctanhf.c: Likewise.
62377         * math/s_ctanhl.c: Likewise.
62378         * math/s_ctanl.c: Likewise.
62379         * math/s_ldexp.c: Likewise.
62380         * math/s_ldexpf.c: Likewise.
62381         * math/s_ldexpl.c: Likewise.
62382         * math/s_significand.c: Likewise.
62383         * math/s_significandf.c: Likewise.
62384         * math/s_significandl.c: Likewise.
62385         * math/w_acos.c: Likewise.
62386         * math/w_acosf.c: Likewise.
62387         * math/w_acosh.c: Likewise.
62388         * math/w_acoshf.c: Likewise.
62389         * math/w_acoshl.c: Likewise.
62390         * math/w_acosl.c: Likewise.
62391         * math/w_asin.c: Likewise.
62392         * math/w_asinf.c: Likewise.
62393         * math/w_asinl.c: Likewise.
62394         * math/w_atan2.c: Likewise.
62395         * math/w_atan2f.c: Likewise.
62396         * math/w_atan2l.c: Likewise.
62397         * math/w_atanh.c: Likewise.
62398         * math/w_atanhf.c: Likewise.
62399         * math/w_atanhl.c: Likewise.
62400         * math/w_cosh.c: Likewise.
62401         * math/w_coshf.c: Likewise.
62402         * math/w_coshl.c: Likewise.
62403         * math/w_dremf.c: Likewise.
62404         * math/w_exp10.c: Likewise.
62405         * math/w_exp10f.c: Likewise.
62406         * math/w_exp10l.c: Likewise.
62407         * math/w_exp2.c: Likewise.
62408         * math/w_exp2f.c: Likewise.
62409         * math/w_fmod.c: Likewise.
62410         * math/w_fmodf.c: Likewise.
62411         * math/w_fmodl.c: Likewise.
62412         * math/w_hypot.c: Likewise.
62413         * math/w_hypotf.c: Likewise.
62414         * math/w_hypotl.c: Likewise.
62415         * math/w_j0.c: Likewise.
62416         * math/w_j0f.c: Likewise.
62417         * math/w_j0l.c: Likewise.
62418         * math/w_j1.c: Likewise.
62419         * math/w_j1f.c: Likewise.
62420         * math/w_j1l.c: Likewise.
62421         * math/w_jn.c: Likewise.
62422         * math/w_jnf.c: Likewise.
62423         * math/w_jnl.c: Likewise.
62424         * math/w_lgamma.c: Likewise.
62425         * math/w_lgamma_r.c: Likewise.
62426         * math/w_lgammaf.c: Likewise.
62427         * math/w_lgammaf_r.c: Likewise.
62428         * math/w_lgammal.c: Likewise.
62429         * math/w_lgammal_r.c: Likewise.
62430         * math/w_log.c: Likewise.
62431         * math/w_log10.c: Likewise.
62432         * math/w_log10f.c: Likewise.
62433         * math/w_log10l.c: Likewise.
62434         * math/w_log2.c: Likewise.
62435         * math/w_log2f.c: Likewise.
62436         * math/w_log2l.c: Likewise.
62437         * math/w_logf.c: Likewise.
62438         * math/w_logl.c: Likewise.
62439         * math/w_pow.c: Likewise.
62440         * math/w_powf.c: Likewise.
62441         * math/w_powl.c: Likewise.
62442         * math/w_remainder.c: Likewise.
62443         * math/w_remainderf.c: Likewise.
62444         * math/w_remainderl.c: Likewise.
62445         * math/w_scalb.c: Likewise.
62446         * math/w_scalbf.c: Likewise.
62447         * math/w_scalbl.c: Likewise.
62448         * math/w_sinh.c: Likewise.
62449         * math/w_sinhf.c: Likewise.
62450         * math/w_sinhl.c: Likewise.
62451         * math/w_sqrt.c: Likewise.
62452         * math/w_sqrtf.c: Likewise.
62453         * math/w_sqrtl.c: Likewise.
62454         * math/w_tgamma.c: Likewise.
62455         * math/w_tgammaf.c: Likewise.
62456         * math/w_tgammal.c: Likewise.
62458         * po/ja.po: Update from translation team.
62460 2011-09-29  Andreas Jaeger  <aj@suse.de>
62462         [BZ #13179]
62463         * sunrpc/netname.c (netname2host): Fix logic.
62465         [BZ #6779]
62466         [BZ #6783]
62467         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
62468         correctly.
62469         * math/w_remainder.c (__remainder): Likewise.
62470         * math/w_remainderf.c (__remainderf): Likewise.
62471         * math/libm-test.inc (remainder_test): Add test cases.
62473 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62475         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
62476         sdiv_qrnnd.
62478 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
62480         * string/test-memcmp.c: Avoid unncessary #defines.
62481         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
62483 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62485         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
62486         Use new sse2 version for core i3 - i7 as it's faster
62487         than sse42 version.
62488         (bit_Prefer_PMINUB_for_stringop): New.
62489         * sysdeps/x86_64/rawmemchr.S: Update.
62490         Replace with faster SSE2 version.
62491         * sysdeps/x86_64/memrchr.S: New file.
62492         * sysdeps/x86_64/memchr.S: Update.
62493         Replace with faster SSE2 version.
62495 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
62497         * elf/dl-load.c (lose): Add cast to avoid warning.
62499 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
62501         * po/ca.po: Update from translation team.
62503         * inet/getnetgrent_r.c: Hook up nscd.
62504         * nscd/Makefile (routines): Add nscd_netgroup.
62505         (nscd-modules): Add netgroupcache.
62506         (CFLAGS-netgroupcache.c): Define.
62507         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
62508         (cache_search): Add const to second parameter.
62509         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
62510         INNETGR.
62511         (dbs): Add netgrdb entry.
62512         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
62513         (verify_persistent_db): Handle netgrdb.
62514         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
62515         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
62516         GETFDNETGR.
62517         (netgroup_response_header): Define.
62518         (innetgroup_response_header): Define.
62519         (datahead): Add netgroup_response_header and innetgroup_response_header
62520         elements.
62521         * nscd/nscd.conf: Add entries for netgroup cache.
62522         * nscd/nscd.h (dbtype): Add netgrdb.
62523         (_PATH_NSCD_NETGROUP_DB): Define.
62524         (netgroup_iov_disabled): Declare.
62525         (xmalloc, xcalloc, xrealloc): Move declarations here.
62526         (cache_search): Adjust prototype.
62527         Add netgroup-related prototypes.
62528         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
62529         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
62530         (__nscd_innetgr): Declare.
62531         * nscd/selinux.c (perms): Use access_vector_t as element type and
62532         add netgroup-related initializers.
62533         * nscd/netgroupcache.c: New file.
62534         * nscd/nscd_netgroup.c: New file.
62535         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
62536         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
62537         For four parameters use innetgr.
62538         * nss/nss_files/files-init.c: Add definition and callback for netgr.
62539         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
62540         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
62541         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
62543         * nscd/connections.c (register_traced_file): Don't register file
62544         for disabled databases.
62546 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
62548         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
62550         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
62551         from tree and freeing node.
62553 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
62555         * nss/nsswitch.c (__nss_database_lookup): Handle
62556         nss_parse_service_list out of memory case.
62558 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
62560         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
62561         out of memory case.
62563 2011-10-04  Andreas Schwab  <schwab@redhat.com>
62565         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
62566         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
62567         pass it down.
62568         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
62569         elf_machine_rela, elf_machine_lazy_rel.
62570         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
62571         (ELF_DYNAMIC_DO_REL): Likewise.
62572         (ELF_DYNAMIC_DO_RELA): Likewise.
62573         (ELF_DYNAMIC_RELOCATE): Likewise.
62574         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
62575         to ELF_DYNAMIC_DO_REL.
62576         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
62577         (dl_main): In trace mode always set __RTLD_NOIFUNC.
62578         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
62579         elf_machine_rela.
62580         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
62581         skip_ifunc, don't call ifunc function if non-zero.
62582         (elf_machine_rela): Likewise.
62583         (elf_machine_lazy_rel): Likewise.
62584         (elf_machine_lazy_rela): Likewise.
62585         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
62586         (elf_machine_lazy_rel): Likewise.
62587         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
62588         Likewise.
62589         (elf_machine_lazy_rel): Likewise.
62590         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62591         Likewise.
62592         (elf_machine_lazy_rel): Likewise.
62593         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
62594         (elf_machine_lazy_rel): Likewise.
62595         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
62596         (elf_machine_lazy_rel): Likewise.
62597         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62598         (elf_machine_lazy_rel): Likewise.
62599         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
62600         (elf_machine_lazy_rel): Likewise.
62601         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
62602         (elf_machine_lazy_rel): Likewise.
62603         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62604         (elf_machine_lazy_rel): Likewise.
62606 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
62608         * nss/nss_files/files-init.c (_nss_files_init): Use static
62609         initialization for all the *_traced_file variables.
62611 2011-09-28  Andreas Schwab  <schwab@redhat.com>
62613         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62615 2011-09-27  Roland McGrath  <roland@hack.frob.com>
62617         [BZ #13226]
62618         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
62620 2011-09-27  Andreas Schwab  <schwab@redhat.com>
62622         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
62623         Reread the line before reparsing it.
62625 2011-09-26  Andreas Schwab  <schwab@redhat.com>
62627         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
62629 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
62630             Maxim Kuvyrkov  <maxim@codesourcery.com>
62631             Joseph Myers  <joseph@codesourcery.com>
62633         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
62634         if needed for __stack_chk_guard.
62636 2011-09-19  Roland McGrath  <roland@hack.frob.com>
62638         * sysdeps/posix/spawni.c (script_execute): Always define it.
62639         It will be optimized away if unused.
62640         (maybe_script_execute): New function.
62641         (__spawni): Call it.
62643         * Makerules: Don't include tls.make.
62644         (config-tls): Always set to thread.
62645         * tls.make.c: File removed.
62647 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
62649         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
62650         * config.make.in (CPPFLAGS-config): New substituted variable.
62652 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
62654         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
62656         [BZ #13192]
62657         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
62658         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
62660 2011-09-15  Roland McGrath  <roland@hack.frob.com>
62662         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
62663         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
62664         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62665         (CALL_FAIL): Likewise.
62666         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
62667         (CALL_FAIL): Macro removed.
62668         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
62670 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
62672         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
62673         for __FINITE_MATH_ONLY__ == 1.
62675 2011-09-15  Andreas Schwab  <schwab@redhat.com>
62677         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
62678         __ieee754_sqrt instead of sqrt.
62679         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
62680         __ieee754_sqrtf instead of sqrtf.
62681         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
62682         __floorf instead of floorf.
62683         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
62684         __floorf, __truncf instead of floorf, truncf.
62686 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
62688         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
62690         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
62691         __extern_always_inline.
62692         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
62693         32-bit.
62695 2011-09-14  Andreas Schwab  <schwab@redhat.com>
62697         * elf/rtld.c (dl_main): Also relocate in dependency order when
62698         doing symbol dependency testing.
62700 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
62702         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62703         Always define `refsym'.
62705 2011-09-13  Andreas Schwab  <schwab@redhat.com>
62707         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
62708         (__FD_ELT): Renamed from __FDELT.
62709         * misc/bits/select2.h (__FD_ELT): Likewise.
62710         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
62711         __FD_MASK instead of __FDELT, __FDMASK.
62712         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62713         Likewise.
62714         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62715         Likewise.
62717         * elf/Makefile (gen-ldd): Fix pattern.
62719         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
62720         (init_tls): Likewise.
62722 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
62724         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
62726 2011-09-12  Andreas Schwab  <schwab@redhat.com>
62728         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
62729         `struct cmsghdr *' instead of `void *'.
62730         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
62731         Likewise.
62733 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
62735         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
62736         if non-absolute.
62737         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
62738         ldd_rewrite_script.
62740 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
62742         * configure.in: Remove --with-tls option.
62743         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
62744         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
62745         out in case it is missing.
62746         * sysdeps/ia64/elf/configure.in: Likewise.
62747         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
62748         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
62749         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
62750         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
62751         * sysdeps/sh/elf/configure.in: Likewise.
62752         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
62753         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62754         * sysdeps/x86_64/elf/configure.in: Likewise.
62755         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
62756         * sysdeps/mach/hurd/tls.h: Likewise.
62758         [BZ #13067]
62759         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
62761         [BZ #13090]
62762         * configure.in: Fix use of AC_INIT.
62764         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
62766 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
62768         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
62769         __set_errno.
62770         * malloc/hooks.c: Likewise.
62772         [BZ #11929]
62773         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
62774         variables statically.
62775         (narenas): Initialize.
62776         (list_lock): Initialize.
62777         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
62778         initializtion of main_arena and list_lock.  Small cleanups.
62779         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
62780         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
62781         Add initializers to main_arena and mp_.
62782         (malloc_state): Remove pagesize member.  Change all users to use
62783         GLRO(dl_pagesize).
62785         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
62786         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
62787         is always initialized.
62789         * malloc/malloc.c: Removed unused configurations and dead code.
62790         * malloc/arena.c: Likewise.
62791         * malloc/hooks.c: Likewise.
62792         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
62794         * include/tls.h: Removed.  USE___THREAD must always be defined.
62795         * bits/libc-tsd.h: Don't handle !USE___THREAD.
62796         * elf/dl-libc.c: Likewise.
62797         * elf/dl-tsd.c: Likewise.
62798         * include/errno.h: Likewise.
62799         * include/netdb.h: Likewise.
62800         * include/resolv.h: Likewise.
62801         * inet/herrno-loc.c: Likewise.
62802         * inet/herrno.c: Likewise.
62803         * malloc/arena.c: Likewise.
62804         * malloc/hooks.c: Likewise.
62805         * malloc/malloc.c: Likewise.
62806         * resolv/res-state.c: Likewise.
62807         * resolv/res_libc.c: Likewise.
62808         * sysdeps/i386/dl-machine.h: Likewise.
62809         * sysdeps/ia64/dl-machine.h: Likewise.
62810         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
62811         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62812         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
62813         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
62814         * sysdeps/sh/dl-machine.h: Likewise.
62815         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62816         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62817         * sysdeps/unix/i386/sysdep.S: Likewise.
62818         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
62819         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
62820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
62821         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
62822         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
62823         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
62824         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
62825         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62826         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
62828         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62829         * sysdeps/x86_64/dl-machine.h: Likewise.
62830         * tls.make.c: Likewise.
62832         * configure.in: Remove --with-__thread option.  Make tests for
62833         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
62834         tls_model attribute fail if no support is available.  Remove
62835         USE_IN_LIBIO.
62836         * Makeconfig: Adjust for dropped configure option.  All features are
62837         now mandatory.
62838         * Makerules: Likewise.
62839         * Versions.def: Likewise.
62840         * argp/argp-fmtstream.c: Likewise.
62841         * argp/argp-fmtstream.h: Likewise.
62842         * argp/argp-help.c: Likewise.
62843         * assert/assert.c: Likewise.
62844         * config.h.in: Likewise.
62845         * config.make.in: Likewise.
62846         * configure: Likewise.
62847         * configure.in: Likewise.
62848         * csu/Versions: Likewise.
62849         * csu/init.c: Likewise.
62850         * elf/tst-audit2.c: Likewise.
62851         * elf/tst-tls10.c: Likewise.
62852         * elf/tst-tls10.h: Likewise.
62853         * elf/tst-tls11.c: Likewise.
62854         * elf/tst-tls12.c: Likewise.
62855         * elf/tst-tls14.c: Likewise.
62856         * elf/tst-tlsmod11.c: Likewise.
62857         * elf/tst-tlsmod12.c: Likewise.
62858         * elf/tst-tlsmod13.c: Likewise.
62859         * elf/tst-tlsmod13a.c: Likewise.
62860         * elf/tst-tlsmod14a.c: Likewise.
62861         * elf/tst-tlsmod15b.c: Likewise.
62862         * elf/tst-tlsmod16a.c: Likewise.
62863         * elf/tst-tlsmod16b.c: Likewise.
62864         * elf/tst-tlsmod7.c: Likewise.
62865         * elf/tst-tlsmod8.c: Likewise.
62866         * elf/tst-tlsmod9.c: Likewise.
62867         * gmon/gmon.c: Likewise.
62868         * grp/fgetgrent_r.c: Likewise.
62869         * grp/putgrent.c: Likewise.
62870         * hurd/fopenport.c: Likewise.
62871         * include/libc-symbols.h: Likewise.
62872         * include/tls.h: Likewise.
62873         * intl/gettextP.h: Likewise.
62874         * intl/loadinfo.h: Likewise.
62875         * locale/global-locale.c: Likewise.
62876         * locale/localeinfo.h: Likewise.
62877         * mach/devstream.c: Likewise.
62878         * malloc/arena.c: Likewise.
62879         * malloc/set-freeres.c: Likewise.
62880         * misc/err.c: Likewise.
62881         * misc/getttyent.c: Likewise.
62882         * misc/mntent_r.c: Likewise.
62883         * posix/getopt.c: Likewise.
62884         * posix/wordexp.c: Likewise.
62885         * pwd/fgetpwent_r.c: Likewise.
62886         * resolv/Versions: Likewise.
62887         * resolv/res_hconf.c: Likewise.
62888         * shadow/fgetspent_r.c: Likewise.
62889         * shadow/putspent.c: Likewise.
62890         * stdio-common/printf_fphex.c: Likewise.
62891         * stdio-common/tmpfile.c: Likewise.
62892         * stdlib/abort.c: Likewise.
62893         * stdlib/fmtmsg.c: Likewise.
62894         * sunrpc/auth_unix.c: Likewise.
62895         * sunrpc/clnt_perr.c: Likewise.
62896         * sunrpc/clnt_tcp.c: Likewise.
62897         * sunrpc/clnt_udp.c: Likewise.
62898         * sunrpc/clnt_unix.c: Likewise.
62899         * sunrpc/openchild.c: Likewise.
62900         * sunrpc/svc_simple.c: Likewise.
62901         * sunrpc/svc_tcp.c: Likewise.
62902         * sunrpc/svc_udp.c: Likewise.
62903         * sunrpc/svc_unix.c: Likewise.
62904         * sunrpc/xdr.c: Likewise.
62905         * sunrpc/xdr_array.c: Likewise.
62906         * sunrpc/xdr_rec.c: Likewise.
62907         * sunrpc/xdr_ref.c: Likewise.
62908         * sunrpc/xdr_stdio.c: Likewise.
62910 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62912         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62914 2011-07-03  Andreas Jaeger  <aj@suse.de>
62916         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
62917         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
62918         regenerate with gen-libm-tests.pl.
62920 2010-05-12  Petr Baudis  <pasky@suse.cz>
62922         [BZ #11589]
62923         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
62924         around j0() zero points by switching to j1().
62925         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62926         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62927         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62928         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62930 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62932         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
62933         instead of 0.
62934         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
62935         instead of 0.
62936         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62937         Patch in part by Pavel Roskin <proski@gnu.org>.
62939         [BZ #13138]
62940         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
62941         realloc.
62942         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
62943         Free memory block if necessary.
62945         [BZ #12847]
62946         * libio/genops.c (INTDEF): For string streams the _lock pointer can
62947         be NULL.  Don't lock in this case.
62949 2011-09-09  Roland McGrath  <roland@hack.frob.com>
62951         * elf/elf.h (ELFOSABI_GNU): New macro.
62952         (ELFOSABI_LINUX): Define to that.
62954 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
62956         * string/strncat.c (strncat): Undef the symbol in case it has been
62957         defined in bits/string.h.
62959 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62961         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62963         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62964         link map.
62966 2011-08-17  Andreas Jaeger  <aj@suse.de>
62968         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62970 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
62971             Ian Lance Taylor  <iant@google.com>
62973         * math/libm-test.inc (lround_test): New testcase.
62974         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62976 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
62978         * Makefile: Remove support for automatic cvs check-ins.
62979         * Makerules: Likewise.
62980         * config.make.in: Likewise.
62981         * configure.in: Likewise.
62982         * intl/Makefile: Likewise.
62983         * locale/Makefile: Likewise.
62984         * po/Makefile: Likewise.
62985         * posix/Makefile: Likewise.
62986         * sysdeps/gnu/Makefile: Likewise.
62987         * sysdeps/mach/hurd/Makefile: Likewise.
62988         * sysdeps/sparc/sparc32/Makefile: Likewise.
62990         [BZ #13118]
62991         * posix/Makefile (bug-regex32-ENV): Define.
62992         Patch by John Stanley <jpsinthemix@verizon.net>.
62994         * misc/Makefile (headers): Add bits/select2.h.
62995         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62996         * misc/bits/select2.h: New file.
62997         * include/bits/select2.h: New file.
62998         * debug/Makefile (routines): Add fdelt_chk.
62999         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
63000         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
63001         FD_ISSET.
63002         * debug/fdelt_chk.c: New file.
63004         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
63005         * wcsmbs/test-wmemcmp.c: Likewise.
63006         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
63007         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
63009 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63011         * string/Makefile (strop-tests): Add memcmp.
63012         * string/test-wmemcmp.c: New file.
63013         * string/test-memcmp.c: Add wmemcmp support.
63015 2011-09-08  Roland McGrath  <roland@hack.frob.com>
63017         [BZ #13153]
63018         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
63019         2011-07-19 change.
63021         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
63022         garbage value in a __mach_port_mod_refs call in the cases of the
63023         task-self and thread-self ports.
63025 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63027         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
63029 2011-09-08  Andreas Schwab  <schwab@redhat.com>
63031         * elf/dl-load.c (lose): Check for non-null L.
63033 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
63035         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
63037         * elf/dl-libc.c (dlerror_run): Pass back error code from
63038         dl_catch_error.
63040         [BZ #13123]
63041         * elf/dl-load.c (lose): Free l_origin if it is valid.
63043         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
63044         names.
63045         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
63046         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
63047         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
63048         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
63049         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
63050         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
63052 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63054         * sysdeps/powerpc/fpu/e_hypot.c: New file.
63055         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
63056         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
63057         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
63058         * sysdeps/powerpc/fpu/k_cosf.c: New file.
63059         * sysdeps/powerpc/fpu/k_sinf.c: New file.
63060         * sysdeps/powerpc/fpu/s_cosf.c: New file.
63061         * sysdeps/powerpc/fpu/s_sinf.c: New file.
63062         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
63063         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
63065 2011-08-15  Alan Modra  <amodra@gmail.com>
63067         [BZ #13092]
63068         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
63069         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
63070         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
63071         ppc_mcount to static-only-routines.
63072         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
63073         __mcount_internal.
63074         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
63075         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
63077 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
63079         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
63080         for finite and infinity parameters.
63082 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63084         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
63085         and add nop instructions for throughput optimization.
63086         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63088 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
63090         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
63091         aligned copy for power7 with vector-scalar instructions.
63092         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
63094 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
63096         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
63097         AVX check.
63099 2011-09-07  Andreas Schwab  <schwab@redhat.com>
63101         [BZ #13144]
63102         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
63103         last change.
63105 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
63107         * sysdeps/unix/sysv/linux/x86_64/init-first.c
63108         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
63109         syscall wrapper around clock_gettime in __vdso_clock_gettime.
63110         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
63111         clock_gettime.
63113 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
63115         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
63116         Forgot to demangle the pointer.
63118         * sysdeps/i386/sysdep.h: Define atom_text_section.
63119         * sysdeps/x86_64/sysdep.h: Likewise.
63120         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
63121         section with atom_text_section.
63122         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
63123         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
63124         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
63125         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
63126         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
63128         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
63129         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
63130         already be defined.  Change to take two parameters and don't assign
63131         result to variable.  Adjust all users.
63132         Define INTERNAL_GETTIME if not already defined.
63133         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
63134         call.
63135         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
63136         HAVE_CLOCK_GETTIME_VSYSCALL.
63137         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
63139         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
63140         gettimeofday vsyscall, just use time.
63142 2011-09-06  Andreas Schwab  <schwab@redhat.com>
63144         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
63145         <errno.h>.
63147 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
63149         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
63150         syscall on x86-64.
63151         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
63152         syscall.
63153         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
63154         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
63155         syscall if possible.
63157 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
63159         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
63160         e_ident.  Don't pass to find_mapsXX.
63161         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
63163 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63166         strchr-sse2-no-bsf strrchr-sse2-no-bsf
63167         * sysdeps/x86_64/multiarch/strchr.S: Update.
63168         Check bit_slow_BSF bit.
63169         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63170         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
63171         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
63173 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
63175         [BZ #13134]
63176         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
63177         before glibc 2.15.
63178         (tryshell): Define.
63179         (__spawni): Change last parameter to be flag.  Test
63180         SPAWN_XFLAGS_USE_PATH flag to use path or not.
63181         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
63182         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
63183         * posix/spawni.c: Likewise.
63184         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
63185         * posix/spawnp.c: Likewise.  Change normal version to use
63186         SPAWN_XFLAGS_USE_PATH.
63187         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
63188         SPAWN_XFLAGS_TRY_SHELL.
63190         [BZ #13150]
63191         * posix/glob.h: Remove gcc 1.x support.
63193         [BZ #13068]
63194         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
63196 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63198         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63199         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
63200         strrchr-sse2-bsf
63201         * sysdeps/i386/i686/multiarch/strchr.S: New file.
63202         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
63203         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
63204         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
63205         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
63206         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
63208 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63210         * sysdeps/x86_64/wcscmp.S: New file.
63212         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
63213         wcscmp-c wcscmp-sse2
63214         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
63215         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
63216         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
63217         * wcsmbs/wcscmp.c: Allow renaming.
63219 2011-09-05  David S. Miller  <davem@davemloft.net>
63221         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
63222         stack slot, rather than the struct return pointer slot.
63223         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
63224         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
63225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
63226         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
63228 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
63230         * po/ja.po: Update from translation team.
63232         [BZ #13144]
63233         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
63234         kernel in 64-bit binaries.
63236 2011-09-01  David S. Miller  <davem@davemloft.net>
63238         * elf/elf.h (HWCAP_SPARC_*): Move to..
63239         * sysdeps/sparc/sysdep.h: this new file and add new values.
63240         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
63241         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
63242         _DL_HWCAP_COUNT to 24.
63243         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
63244         entries.
63245         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
63246         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
63247         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
63248         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
63249         instead of magic constants.
63250         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63252 2011-08-31  David S. Miller  <davem@davemloft.net>
63254         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
63255         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
63256         Reimplement to do errno handling inline.
63257         (SYSCALL_ERROR_HANDLER): New macro.
63258         (__SYSCALL_STRING): Do not do errno handling in asm.
63259         (__CLONE_SYSCALL_STRING): Delete.
63260         (__INTERNAL_SYSCALL_STRING): Delete.
63261         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
63262         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
63263         (PSEUDO): Reimplement to do errno handling inline.
63264         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
63265         (SYSCALL_ERROR_HANDLER): New macro.
63266         (__SYSCALL_STRING): Do not do errno handling in asm.
63267         (__CLONE_SYSCALL_STRING): Delete.
63268         (__INTERNAL_SYSCALL_STRING): Delete.
63269         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
63270         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
63271         i386.
63272         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
63273         (inline_syscall*): Add 'err' argument.
63274         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
63275         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
63276         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
63277         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
63279         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
63280         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63282 2011-08-30  Andreas Schwab  <schwab@redhat.com>
63284         * elf/rtld.c (dl_main): Relocate objects in dependency order.
63286 2011-08-29  Jiri Olsa <jolsa@redhat.com>
63288         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
63289         directive.
63291 2011-08-24  David S. Miller  <davem@davemloft.net>
63293         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
63295 2011-08-24  Andreas Schwab  <schwab@redhat.com>
63297         * elf/Makefile: Add rules to build and run unload8 test.
63298         * elf/unload8.c: New file.
63299         * elf/unload8mod1.c: New file.
63300         * elf/unload8mod1x.c: New file.
63301         * elf/unload8mod2.c: New file.
63302         * elf/unload8mod3.c: New file.
63304         * elf/dl-close.c (_dl_close_worker): Reset private search list if
63305         it wasn't used.
63307 2011-08-23  David S. Miller  <davem@davemloft.net>
63309         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
63310         subtract stack bias.
63311         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
63312         %sp not %fp in calculations.
63313         (_JMPBUF_UNWINDS_ADJ): Likewise.
63315         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
63316         (aio_suspend): Call it to force an exception region around the
63317         AIO_MISC_WAIT() invocation.
63319 2011-08-23  Andreas Schwab  <schwab@redhat.com>
63321         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
63322         backslash.
63324 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
63326         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
63327         protection macro.
63328         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
63329         and <dl-machine.h>.
63330         (Elf64_FuncDesc): Remove.
63332 2011-08-22  David S. Miller  <davem@davemloft.net>
63334         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
63335         sigaltstack check, add missing cfi directives.
63336         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
63337         missing cfi directives, and sigaltstack handling.
63339 2011-08-16  Andreas Schwab  <schwab@redhat.com>
63341         [BZ #11724]
63342         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
63343         object is seen twice.
63344         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63346         * elf/Makefile (distribute): Add tst-initorder2.c.
63347         (tests): Add tst-initorder2.
63348         (modules-names): Add tst-initorder2a tst-initorder2b
63349         tst-initorder2c tst-initorder2d.  Add rules to build them.
63350         ($(objpfx)tst-initorder2.out): New rule.
63351         * elf/tst-initorder2.c: New file.
63352         * elf/tst-initorder2.exp: New file.
63354 2011-08-22  Andreas Schwab  <schwab@redhat.com>
63356         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
63358         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
63359         dependencies back to end of function.
63361         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63362         $(elfobjdir)/ld.so.
63364 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
63366         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
63367         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
63368         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
63369         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
63370         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
63371         of __vdso_gettimeofday.
63372         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
63373         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
63374         attribute_hidden.
63375         (_libc_vdso_platform_setup): Remove initialization of
63376         __vdso_gettimeofday and __vdso_time.
63378 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
63380         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
63381         and fgetc_unlocked.
63382         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
63383         getc_unlocked.
63385         * elf/dl-open.c (add_to_global): Report additions to the global scope
63386         for LD_DEBUG=scopes.
63387         (dl_open_worker): Also print scope of newly loaded dependencies.
63388         (_dl_show_scope): Indicate if there is no scope.
63390         [BZ #13114]
63391         * stdio-common/Makefile (tests): Add bug24.
63392         * stdio-common/bug24.c: New file.
63394 2011-08-19  Andreas Jaeger  <aj@suse.de>
63396         [BZ #13114]
63397         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
63398         non-existant file when using close-on-exec mode.
63400 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
63402         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
63403         the very first instruction.
63405         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
63406         the CFI state in the end.
63407         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
63408         inclusion of dl-trampoline.h.
63409         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
63411 2011-08-19  Andreas Schwab  <schwab@redhat.com>
63413         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
63414         expectations for long double.
63416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
63417         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
63419 2011-08-14  David S. Miller  <davem@davemloft.net>
63421         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
63422         artificual limit depends upon the system page size.
63424 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
63426         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
63427         * resolv/Makefile: Define CFLAGS-libresolv.
63429 2011-08-17  Andreas Schwab  <schwab@redhat.com>
63431         * nss/makedb.c (compute_tables): Make variables used in nested
63432         function static.
63434 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
63436         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
63437         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
63438         if buffer was too small.
63440         * elf/pldd.c (main): Attach to all threads in the process.
63441         Rewrite /proc handling to use *at functions.
63443 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
63445         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
63446         specifies first scope to show.
63447         (dl_open_worker): Update callers.  Move printing scope of new
63448         object to before the relocation.
63449         * elf/rtld.c (dl_main): Update _dl_show_scope call.
63450         * sysdeps/generic/ldsodefs.h: Update declaration.
63452         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
63453         string for the scope number.
63455 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
63457         * nscd/servicescache.c (cache_addserv): Make sure written is always
63458         initialized.
63460 2011-08-14  Roland McGrath  <roland@hack.frob.com>
63462         * sysdeps/i386/i486/bits/atomic.h
63463         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
63464         statement expression, so as to suppress "set but not used" warning.
63465         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
63467         * string/strncat.c (STRNCAT): Use prototype definition.
63469         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
63470         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
63471         -Iprograms here.
63472         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
63473         (localedef-modules): Add localedef.
63474         (locale-modules): Add locale.
63476         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
63477         * elf/rtld.c (dl_main): Invert order of assignment in last change,
63478         to avoid a warning.
63480 2011-08-14  David S. Miller  <davem@davemloft.net>
63482         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
63483         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
63485 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
63487         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
63488         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
63489         * elf/rtld.c (dl_main): Set l_name of vDSO.
63490         Call _dl_show_scope when DL_DEBUG_SCOPES.
63491         (process_dl_debug): Recognize scopes flag and also set it for all.
63492         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
63493         Declare _dl_show_scope.
63495         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
63496         (do_dlopen): Pass caller_dlopen to dl_open.
63497         (__libc_dlopen_mode): Initialize caller_dlopen.
63499         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
63500         of libc.  Make tolower call locale-independent.  Optimize a bit by
63501         using isdigit instead of isalnum.
63502         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
63504 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
63506         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
63507         was a dependency or dynamically loaded.
63509 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
63511         * intl/l10nflist.c: Allow architecture-specific pop function.
63512         * sysdeps/x86_64/l10nflist.c: New file.
63514         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
63515         classification.
63517 2011-08-10  Andreas Schwab  <schwab@redhat.com>
63519         * include/dirent.h: Add libc_hidden_proto for scandirat and
63520         scandirat64.  Don't declare __scandirat64.
63521         * dirent/scandirat.c: Add libc_hidden_def.
63522         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
63523         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
63525 2011-08-10  David S. Miller  <davem@davemloft.net>
63527         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
63528         enum.
63529         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63530         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63531         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63533 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
63535         * Versions.def [libc]: Add GLIBC_2.15.
63536         * dirent/Makefile (routines): Add scandirat and scandirat64.
63537         * dirent/Versions [libc]: Export scandirat and scandirat64 for
63538         GLIBC_2.15.
63539         * dirent/dirent.h: Declare scandirat and scandirat64.
63540         * dirent/scandirat.c: New file.
63541         * dirent/scandirat64.c: New file.
63542         * sysdeps/wordsize-64/scandirat.c: New file.
63543         * sysdeps/wordsize-64/scandirat64.c: New file.
63544         * dirent/opendir.c: Define opendirat.
63545         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
63546         using scandirat.
63547         * dirent/scandir64.c: Adjust for scandir.c change.
63548         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
63549         __scandirat64, and __scandir_cancel_handler.
63550         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
63551         additional parameter and use openat instead of open (outside of ld.so).
63552         Add new __opendir as wrapper around __opendirat.
63553         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
63554         here without requiring old scandirat implementation.
63556 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
63558         * dirent/scandir.c (cancel_handler): Renamed to
63559         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
63560         defined.  Adjust users.
63561         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
63562         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
63564 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
63566         * string/test-string.h (IMPL): Use __STRING to expand name and then
63567         stringify it.
63569         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
63570         of cleanups.
63572 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63574         * string/Makefile: Update.
63575         (strop-tests): Append strncat.
63576         * string/test-wcscmp.c: New file.
63577         New comprehensive test for wcscmp.
63578         * string/test-strcmp.c: Update.
63579         (WIDE): New define.
63581 2011-07-22  Andreas Schwab  <schwab@redhat.com>
63583         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
63584         line.
63586 2011-07-26  Andreas Schwab  <schwab@redhat.com>
63588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63589         encoding to ACE if AI_IDN.
63591 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
63593         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
63594         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
63596 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63598         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
63599         Fix overflow bug in strncat.
63600         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
63602         * string/test-strncat.c: Update.
63603         Add new tests for checking overflow bugs.
63605 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63607         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63608         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
63609         * sysdeps/i386/i686/multiarch/strcat.S: New file.
63610         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
63611         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
63612         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
63613         * sysdeps/i386/i686/multiarch/strncat.S: New file.
63614         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
63615         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
63617         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
63618         (USE_AS_STRCAT): Define.
63619         Add strcat and strncat support.
63620         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
63622 2011-07-25  Andreas Schwab  <schwab@redhat.com>
63624         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
63625         __n bigger than INT_MAX+1.
63626         (__strncmp_g): Likewise.
63628 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
63630         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
63631         * libio/stido.h: Likewise.
63633         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
63634         (AF_NFC): Define.
63635         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
63636         (AF_NFC): Define.
63638         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
63639         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63640         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63641         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
63642         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63644         [BZ #13021]
63645         * scripts/test-installation.pl: Don't expect libnss_test1 to be
63646         installed.
63648         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
63649         typo.
63650         (_dl_x86_64_save_sse): Likewise.
63652 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
63654         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
63655         OSXSAVE.
63656         (_dl_x86_64_save_sse): Likewise.
63658         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
63660         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
63662 2011-07-21  Andreas Schwab  <schwab@redhat.com>
63664         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
63665         change.
63666         (_dl_x86_64_save_sse): Use correct AVX check.
63668 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63670         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
63671         bug in strncpy/strncat.
63672         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
63674 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
63676         * string/tester.c (test_strcat): Add tests for different alignments
63677         of source and destination.
63678         (test_strncat): Likewise.
63680 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
63682         [BZ #12852]
63683         * posix/glob.c (glob): Check passed in values before using them in
63684         expressions to avoid some overflows.
63685         (glob_in_dir): Likewise.
63687         [BZ #13007]
63688         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
63689         check for AVX enablement so that we don't crash with old kernels and
63690         new hardware.
63691         * elf/tst-audit4.c: Add same checks here.
63692         * elf/tst-audit6.c: Likewise.
63694         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
63696 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
63698         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
63700 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
63702         * po/cs.po: Update from translation team.
63703         * po/bg.po: Likewise.
63705 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
63707         * misc/sys/cdefs.h: Add support for const attribute.
63708         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
63709         to gnu_dev_{major,minor,makedev} functions.
63711 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
63713         * intl/dcigettext.c (get_output_charset): Add missing bracket.
63715 2011-07-20  Andreas Schwab  <schwab@redhat.com>
63717         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
63718         strlen results.
63720 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63722         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
63723         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
63724         register in order to avoid conflicts with the soft frame pointer
63725         being held in r11 when necessary.
63726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
63727         (INTERNAL_VSYSCALL_NCS): Likewise.
63729 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
63731         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
63732         * elf/dl-fini.c (_dl_fini): Adjust caller.
63733         * elf/dl-close.c (_dl_close_worker): Likewise.
63734         * sysdeps/generic/ldsodefs.h: Adjust declaration.
63736 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63738         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
63739         "aux_cache->nlibs < 0".
63741         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
63742         in the reload-count case.
63744 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63746         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63747         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
63748         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
63749         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
63750         * sysdeps/x86_64/multiarch/strcat.S: New file.
63751         * sysdeps/x86_64/multiarch/strncat.S: New file.
63752         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
63753         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
63754         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
63755         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
63756         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
63757         (USE_AS_STRCAT): Define.
63758         Add strcat and strncat support.
63759         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
63760         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63761         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
63762         * string/strncat.c: Update.
63763         (USE_AS_STRNCAT): Define.
63764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63765         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
63766         and i7.
63767         * sysdeps/x86_64/multiarch/init-arch.h
63768         (bit_Prefer_PMINUB_for_stringop): New.
63769         (index_Prefer_PMINUB_for_stringop): Likewise.
63770         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
63771         bit_Prefer_PMINUB_for_stringop.
63773 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63775         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
63776         buffer64.
63777         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
63778         of casting of buffer.
63779         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
63780         buffer32 and buffer64.
63781         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
63782         writes instead of casting of buffer.
63783         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
63784         buffer32.
63785         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
63786         casting of buffer.
63788 2011-07-19  Andreas Schwab  <schwab@redhat.com>
63790         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
63792 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63794         * nscd/nscd.c (termination_handler): Don't do anything for a database
63795         if it has not yet been initialized.
63797 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63799         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63801 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63803         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63805 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63807         * po/nl.po: Update from translation team.
63808         * po/sv.po: Likewise.
63810 2011-07-16  Roland McGrath  <roland@hack.frob.com>
63812         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
63813         now disallowed by GCC.
63815         * configure.in (use-default-link): Default to yes if a test -shared
63816         link meets our qualifications.
63817         * configure: Regenerated.
63819         * config.make.in (output-format): New variable.
63820         * configure.in: Check for ld --print-output-format support.
63821         * configure: Regenerated.
63822         * Makerules ($(common-objpfx)format.lds)
63823         [$(output-format) != unknown]: Just use $(output-format),
63824         instead of the linker-script munging.
63826 2011-07-14  Roland McGrath  <roland@hack.frob.com>
63828         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
63829         of $(common-objpfx)shlib.lds.
63830         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
63832         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
63833         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
63835         * configure.in (-z relro check): Adjust test code to add a large
63836         writable data section after it.
63837         * configure: Regenerated.
63839 2011-07-11  Roland McGrath  <roland@hack.frob.com>
63841         * configure.in (-z relro check): Fix test code to make the variable
63842         truly const.
63843         * configure: Regenerated.
63845 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
63847         * nscd/nscd.h (struct traced_file): Define.
63848         (struct database_dyn): Remove inotify_descr, reset_res, and filename
63849         elements.  Add traced_files.
63850         (inotify_fd): Declare.
63851         (register_traced_file): Declare.
63852         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
63853         (inotify_fd): Export.
63854         (resolv_conf_descr): Remove.
63855         (nscd_init): Move inotify descriptor creation to main.
63856         Don't register files for notification here.
63857         (register_traced_file): New function.
63858         (invalidate_cache): Don't use reset_res to determine whether to call
63859         res_init, go through the list of registered files.
63860         (main_loop_poll): The inotify descriptors are now stored in the
63861         structures for the traced files.
63862         (main_loop_epoll): Likewise
63863         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
63864         to __nss_disable_nscd.
63865         * nscd/cache.c (prune_cache): There is no single inotify descriptor
63866         for a database anymore.  Check the records for all the registered
63867         files instead.
63868         * nss/Makefile (libnss_files-routines): Add files-init.
63869         (libnss_db-routines): Add db-init.
63870         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
63871         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
63872         * nss/nss_db/db-init.c: New file.
63873         * nss/nss_files/files-init.c: New file.
63874         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
63875         __nss_lookup_function.
63876         (__nss_lookup_function): Call nss_load_library.
63877         (nss_load_all_libraries): New function.
63878         (__nss_disable_nscd): Take parameter with callback function for files
63879         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
63880         used for the cached services.
63881         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
63882         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
63883         options for features to all the files in nscd.
63885         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
63887 2011-07-10  Roland McGrath  <roland@hack.frob.com>
63889         * csu/elf-init.c (__libc_csu_init): Comment typo.
63891 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
63893         * po/pl.po: Update from translation team.
63894         * po/ja.po: Likewise.
63895         * po/ru.po: Likewise.
63896         * po/ko.po: Likewise.
63897         * po/fr.po: Likewise.
63899 2011-07-09  Roland McGrath  <roland@hack.frob.com>
63901         * configure.in (.ctors/.dtors header and trailer check):
63902         Use an empirical test on a built program.
63903         * configure: Regenerated.
63905         * configure.in (-z relro check): Use an empirical test on a built DSO.
63906         Detect, but do not require, on ia64.
63907         * configure: Regenerated.
63909         * configure.in (READELF): Find it with AC_CHECK_TOOL.
63910         Update tests that use readelf to use $READELF instead.
63911         * configure: Regenerated.
63913 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
63915         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
63916         if the result is not used.
63918 2011-07-05  Andreas Jaeger  <aj@suse.de>
63920         [BZ#9696]
63921         * stdlib/tst-strtod.c: Add testcase.
63923 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
63925         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
63926         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
63927         The latter has a higher limit.  Take additional parameter to pass to
63928         the new function.
63929         (__pathconf): Pass file to __statfs_link_max.
63930         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
63931         __statfs_link_max.
63932         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
63933         __statfs_link_max.
63935         [BZ #12868]
63936         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
63937         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63938         Handle Lustre.
63939         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
63940         (__statfs_filesize_max): Likewise.
63941         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
63943 2011-07-05  Andreas Jaeger  <aj@suse.de>
63945         * resolv/res_comp.c (dn_skipname): Remove unused variable.
63947 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
63949         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63950         `status' variable.
63951         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63952         Likewise.
63954 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
63956         * Makefile (strop-tests): Add strncat.
63957         * string/test-strncat.c: New file.
63959 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
63961         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63963 2011-06-21  Andreas Jaeger  <aj@suse.de>
63965         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63966         Copy rule from iconvdata/Makefile.
63968 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63970         [BZ #12922]
63971         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63972         but no long options are defined, just return 'W'.
63974 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
63976         [BZ #9696]
63977         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63979 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63981         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63982         netgroups to read.
63983         (innetgr): Likewise.
63985 2011-07-05  Roland McGrath  <roland@hack.frob.com>
63987         * config.make.in (install_root): Default to $(DESTDIR).
63989 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
63991         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63993 2011-07-02  Roland McGrath  <roland@hack.frob.com>
63995         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63997         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63998         containing directory rather than embedding absolute directory names.
64000         * scripts/check-local-headers.sh: Rewritten using awk.
64001         Match by word, not by line.  Print error messages for matches.
64002         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
64004         * Makerules [shlib-lds-flags empty]:
64005         ($(common-objpfx)libc_pic.opts): New target.
64006         ($(common-objpfx)libc_pic.os.clean): New target.
64007         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
64009         * config.make.in (OBJCOPY): New variable.
64010         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
64011         * configure: Regenerated.
64013         * config.make.in (use-default-link): New variable.
64014         * configure.in (use_default_link): Grok --with-default-link to set it.
64015         * configure: Regenerated.
64016         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
64017         (shlib-lds, shlib-lds-flags): Define to empty.
64019         * Makerules (shlib-lds): New variable.
64020         (shlib-lds-flags): New variable.
64021         (build-shlib, build-moduile, build-module-asneeded): Use it.
64022         ($(common-objpfx)libc.so): Use $(shlib-lds).
64023         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
64024         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
64026         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
64027         DT_FLAGS/DT_FLAGS_1 with zero flags.
64029         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
64030         linker script munging.
64032 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
64034         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
64035         as 128-bit value.
64036         * crypt/sha512.c (sha512_process_block): Perform total addition using
64037         128-bit if possible.
64038         (__sha512_finish_ctx): Likewise.
64039         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
64040         as 64-bit value.
64041         * crypt/sha256.c (SWAP64): Define.
64042         (sha256_process_block): Perform total addition using 64-bit if
64043         possible.
64044         (__sha256_finish_ctx): Likewise.
64046 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
64048         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
64049         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64050         * nscd/hstcache.c (cache_addhst): Likewise.
64051         * nscd/grpcache.c (cache_addgr): Likewise.
64052         * nscd/aicache.c (addhstaiX): Likewise
64053         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
64055 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
64057         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
64058         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64059         * nscd/hstcache.c (cache_addhst): Likewise.
64060         * nscd/grpcache.c (cache_addgr): Likewise.
64061         * nscd/aicache.c (addhstaiX): Likewise
64063 2011-07-01  Andreas Schwab  <schwab@redhat.com>
64065         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
64066         domain only when needed.
64068 2011-06-30  Andreas Schwab  <schwab@redhat.com>
64070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
64071         is always restored.
64073 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
64075         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
64076         are re-adding the entry.
64077         * nscd/servicescache.c (cache_addserv): Likewise.
64079 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
64081         * sysdeps/generic/dl-irel.h: fix protection against multiple
64082         inclusions.
64083         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
64085 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
64087         [BZ #12935]
64088         * malloc/memusage.sh: Fix quoting in message.
64089         * debug/xtrace.sh: Likewise.
64091         * configure.in: Remove support for --experimental-malloc option, make
64092         it the default.
64093         * config.make.in: Likewise.
64094         * malloc/Makefile: Likewise.
64096 2011-06-27  Andreas Schwab  <schwab@redhat.com>
64098         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
64099         two-byte characters.
64101 2011-06-27  Roland McGrath  <roland@hack.frob.com>
64103         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
64104         AC_CACHE_CHECK invocation.
64105         * configure: Regenerated.
64107         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
64109 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
64111         [BZ #12350]
64112         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
64113         bit from old_res_options.
64115         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
64117         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
64118         value type for setfct.
64120 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
64122         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
64123         __gettimeofday instead of gettimeofday.
64125 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
64127         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
64129 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
64131         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
64133         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
64134         info.
64136 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
64138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64139         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
64140         strcpy-sse2-unaligned strncpy-sse2-unaligned
64141         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
64142         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
64143         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
64144         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
64145         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
64146         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
64147         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
64148         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
64149         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
64150         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
64151         (STRCPY): Support SSE2 and SSSE3 versions.
64153 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
64155         [BZ #12874]
64156         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
64157         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
64158         kernels which artificially limit size of requests.
64160 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
64162         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64163         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
64164         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
64165         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
64166         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
64167         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
64168         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
64169         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
64170         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
64171         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
64172         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
64173         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
64174         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
64175         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
64176         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
64177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64178         Enable unaligned load optimization for Intel Core i3, i5 and i7
64179         processors.
64180         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
64181         Define.
64182         (index_Fast_Unaligned_Load): Define.
64183         (HAS_FAST_UNALIGNED_LOAD): Define.
64185 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
64187         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
64189 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
64191         [BZ #12907]
64192         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
64193         until it is clear that the information is realy needed.
64194         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
64196 2011-06-22  Andreas Schwab  <schwab@redhat.com>
64198         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
64200 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
64202         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
64203         /sys/devices/system/cpu/online if it is usable.
64205         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
64206         reading the information from the /proc filesystem to once a second.
64208 2011-06-21  Andreas Jaeger  <aj@suse.de>
64210         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
64211         NULL after inclusion of kernel headers.
64213 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
64215         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
64216         calls to internal_setent.
64218         [BZ #12885]
64219         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
64220         addresses using gethostbyname4_r ignore IPv4 addresses.
64222         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
64223         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
64225         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
64227 2011-06-20  David S. Miller  <davem@davemloft.net>
64229         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
64230         inclusions.
64231         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
64233         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
64234         (elf_irel): Use it.
64235         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
64236         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
64237         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
64238         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
64239         * sysdeps/x86_64/dl-irel.h: Likewise.
64241         * elf/dl-runtime.c: Use elf_ifunc_invoke.
64242         * elf/dl-sym.c: Likewise.
64244 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
64246         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
64247         need to dereference resplen2.
64249 2011-06-14  Andreas Schwab  <schwab@redhat.com>
64251         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
64253 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
64255         * Makeconfig: Define vardbdir and inst_vardbdir.
64256         * nss/Makefile: Add rules to install db-Makefile.
64258         * nss/nss_db/db-XXX.c: Cleanup.
64260         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
64261         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
64262         GLIBC_PRIVATE.
64263         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
64264         * nss/makedb.c: Implement -g option to specify that value strings
64265         are generated and should not be added to table iterated over for
64266         get*ent calls.
64267         * nss/nss_db/db-initgroups.c: New file.
64269         * nss/getent.c: Add support for initgroups lookups through getgrouplist
64270         interface.
64272         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
64273         (internal_getgrouplist): Adjust to name change.
64274         Update use_initgroups_entry if this is not the first call.
64275         * nss/databases.def: Add initgroups entry.
64277         * nss/makedb.c (compute_tables): Check result of multiple hash table
64278         sizes to minimize maximum chain length.
64280 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
64282         * Versions.def: Add entry for libnss_db.
64283         * shlib-versions: Likewise.
64284         * nss/Makefile: Add rules to build libnss_db.
64285         * nss/Versions: Add libnss_db information.  Organize libnss_files
64286         entries better.
64287         * nss/db-Makefile: Add gshadow support.  Change rules for the new
64288         makedb progra.  Some minor improvements to generate smaller files.
64289         * nss/nss_db/nss_db.h: Move NSS database header data structures to
64290         here from...
64291         * nss/makedb.c: ...here.
64292         Improve database format to be smaller and require less memory at
64293         runtime.
64294         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
64295         db anymore.
64296         * nss/nss_db/db-netgrp.c: Likewise.
64297         * nss/nss_db/db-open.c: Likewise.
64298         * nss/nss_files/flies-XXX.x: Adjust comments.
64299         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
64300         * nss/nss_files/files-grp.c: Likewise.
64301         * nss/nss_files/files-hosts.c: Likewise.
64302         * nss/nss_files/files-network.c: Likewise.
64303         * nss/nss_files/files-proto.c: Likewise.
64304         * nss/nss_files/files-pwd.c: Likewise.
64305         * nss/nss_files/files-rpc.c: Likewise.
64306         * nss/nss_files/files-service.c: Likewise.
64307         * nss/nss_files/files-sgrp.c: Likewise.
64308         * nss/nss_files/files-spwd.c: Likewise.
64309         * nss/nss_db/db-alias.c: Removed.
64310         * nss/nss_db/dummy-db.h: Removed.
64312 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
64314         * nss/makedb.c: Rewritten to not use database library.
64315         * nss/Makefile: Update to build new makedb program.
64317 2011-06-14  Andreas Jaeger  <aj@suse.de>
64319         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
64320         memset declaration.
64322 2011-06-10  Andreas Schwab  <schwab@redhat.com>
64324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
64325         tmpbuf.
64327 2011-06-10  Roland McGrath  <roland@hack.frob.com>
64329         * Makerules (shlib.lds): Fail if the linker script comes out empty.
64330         * elf/Makefile ($(objpfx)ld.so): Likewise.
64332         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
64333         Don't list ld.so twice in dependencies.
64335         * posix/bug-regex31.c: Include <stdlib.h>.
64337         * nscd/hstcache.c (cache_addhst): Remove unused variable.
64339         * nis/nss_compat/compat-spwd.c
64340         (getspent_next_nss_netgr): Remove unused variable.
64341         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
64343         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
64344         nonmembers" output to use the right array.
64346         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
64348         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
64350         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
64351         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
64352         * catgets/gencat.c (read_input_file): Likewise.
64353         * locale/programs/locarchive.c (enlarge_archive): Likewise.
64355         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
64356         variable definition inside #if's controlling its use.
64358         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
64360         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
64362         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
64364         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
64365         unreachable code.
64367         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
64369         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
64370         * configure: Regenerated.
64372         * Makerules: Revert last change.
64373         * elf/Makefile: Likewise.
64375 2011-06-09  Roland McGrath  <roland@hack.frob.com>
64377         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
64378         * elf/Makefile ($(objpfx)librtld.os): Likewise.
64379         (reloc-link): Likewise.
64381 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
64383         * elf/Makefile: Add rules to build pldd.
64384         * elf/pldd.c: New file.
64385         * elf/pldd-xx.c: New file.
64387 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
64389         * version.h: Update for 2.15 development version.
64391 2011-06-07  David S. Miller  <davem@davemloft.net>
64393         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
64394         ifuncs.
64395         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
64396         elf_machine_lazy_rel): Likewise.
64397         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
64398         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
64399         elf_machine_lazy_rel): Likewise.
64400         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
64401         dl_hwcap via passed in argument.
64402         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
64403         Likewise.
64405 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64407         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
64409 2011-06-06  Roland McGrath  <roland@hack.frob.com>
64411         [BZ #12849]
64412         * manual/fdl-1.1.texi: New file, verbatim from:
64413         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
64414         * manual/lgpl-2.1.texi: New file, verbatim from:
64415         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
64416         * manual/Makefile (licenses): New variable, list those new file names.
64417         (texis): Use it.
64418         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
64420         * manual/fdl.texi: File removed.
64421         * manual/lesser.texi: File removed.
64422         * manual/libc.texinfo (Copying, Documentation License):
64423         Use new @include file names, put @appendix directive before @include.
64425 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
64427         [BZ #12841]
64428         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
64429         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
64430         (mq_open): Add __NTH.
64432 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
64434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64435         Assume Intel Core i3/i5/i7 processor if AVX is available.
64437 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
64439         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
64440         typo.
64442 2011-05-31  Andreas Schwab  <schwab@redhat.com>
64444         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
64445         memory.  Use alloca_account.  Fix memory leak when retrying.
64447 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
64449         * version.h (RELEASE): Bump for 2.14 release.
64450         * include/features.h (__GLIBC_MINOR__): Bump to 14.
64452         * config.make.in (RANLIB): Remove entry.
64454 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
64456         * po/Makefile (po-sed-cmd): Add ksh to extensions.
64457         (libc.pot): Work around missing support for .ksh extension in xgettext.
64459         [BZ #12684]
64460         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
64461         if both request failed.
64462         (send_dg): In case of server errors clear resplen or *resplen2.
64464         [BZ #12454]
64465         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
64466         when there are multiple maps.
64467         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
64468         (_dl_fini): Remove test here.
64470         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
64472 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
64474         [BZ #12350]
64475         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
64476         bit from old_res_options.
64477         (gaih_inet): Likewise.
64479         [BZ #11099]
64480         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
64481         as signed.
64483         * resolv/res_init.c (res_setoptions): Make the code more compact.
64485         [BZ #11558]
64486         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
64487         set RES_USEVC.
64489         [BZ #11634]
64490         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
64492         * malloc/malloc.h: Mark malloc hook variables as deprecated.
64494         [BZ #11781]
64495         * malloc/malloc.h: Declare malloc hook variables as volatile.
64497         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
64498         in last patch.
64500         [BZ #11799]
64501         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
64502         raise in the comment.
64503         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64504         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64505         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
64507 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
64509         [BZ #12811]
64510         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
64511         grow the buffers more if it already has to be sufficient.
64512         (build_wcs_upper_buffer): Likewise.
64513         * posix/regexec.c (check_matching): Likewise.
64514         (clean_state_log_if_needed): Likewise.
64515         (extend_buffers): Don't enlarge buffers beyond size of the input
64516         buffer.
64517         Patches mostly by Emil Wojak <emil@wojak.eu>.
64518         * posix/bug-regex32.c: New file.
64519         * posix/Makefile (tests): Add bug-regex32.
64521         * locale/findlocale.c (_nl_find_locale): Return right away if
64522         _nl_explode_name failed.
64523         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
64525         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
64527         * debug/xtrace.sh: Unify messages.
64528         * malloc/memusage.sh: Likewise.
64530         [BZ #12813]
64531         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
64532         time symbol from vDSO.  Substitute with vsyscall if not available.
64533         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
64534         __vdso_time.
64536         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
64537         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
64538         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
64539         Add sendmmsg and internal_sendmmsg.
64540         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
64541         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
64542         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
64544         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
64545         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
64546         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
64548 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
64550         [BZ #12813]
64551         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
64552         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
64553         available.
64554         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
64555         __vdso_getcpu.
64557         [BZ #12814]
64558         * iconvdata/Makefile (tests): Add bug-iconv9.
64559         * iconvdata/bug-iconv9.c: New file.
64561 2011-05-27  Andreas Schwab  <schwab@redhat.com>
64563         [BZ #12814]
64564         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
64566 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
64568         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
64569         (struct user_regs_struct): Change intcs field back to cs.
64571 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
64573         * po/ja.po: Update from translation team.
64575 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
64577         [BZ #12795]
64578         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
64579         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
64581 2011-05-20  Andreas Schwab  <schwab@redhat.com>
64583         * stdlib/longlong.h: Update from GCC.
64585 2011-05-23  Andreas Schwab  <schwab@redhat.com>
64587         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
64588         parameter name.
64589         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
64590         Add parameter name.
64591         (__sysconf): Pass it down.
64593 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
64595         [BZ #12671]
64596         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
64597         some situations.
64598         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
64599         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
64600         add in in __libc_use_alloca calls.  Adjust callers.
64601         (glob): Use malloc in some situations.
64603         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
64604         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
64605         pltexit.
64607 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
64609         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
64610         and CLOCK_BOOTTIME_ALARM.
64612         [BZ #12782]
64613         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
64614         is returned.
64616         * string/_strerror.c (__strerror_r): Print negative errors as signed
64617         numbers.
64619         [BZ #12777]
64620         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
64621         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
64622         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
64624         * configure.in: Fix typo in redirection and correct removal of test
64625         files in two cases.
64627         [BZ #12788]
64628         * locale/setlocale.c (new_composite_name): Fix test to check for
64629         identical name of all categories.
64631         [BZ #12792]
64632         * libio/filedoalloc.c (local_isatty): New function.
64633         (_IO_file_doallocate): Use local_isatty.
64634         * stdio-common/perror.c (perror): In case a new stream is used
64635         forward the stream error.
64636         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
64637         error flag.
64639 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
64641         [BZ #11869]
64642         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
64643         alloca.
64644         * include/alloca.h (extend_alloca_account): Define.
64646         [BZ #11857]
64647         * posix/regex.h: Fix comments with documentation of user-accessible
64648         fields after compilation and describe correct free'ing of pattern
64649         after re_compile_pattern.
64650         Patch by Reuben Thomas <rrt@sc3d.org>.
64652 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
64654         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
64655         and -mno-altivec to prevent the compiler from using Altivec and/or
64656         VSX instructions when the corresponding registers are not available.
64658 2011-05-19  Andreas Schwab  <schwab@redhat.com>
64660         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
64662 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
64664         * libio/freopen.c (freopen): Use __dup2, not dup2.
64665         * libio/freopen64.c (freopen64): Likewise.
64667 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64669         [BZ #12775]
64670         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
64671         * math/Makefile (tests): Add test-powl.
64672         (CFLAGS-test-powl.c): Define.
64673         * math/test-powl.c: New file.
64675 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64677         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
64679 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
64681         [BZ #11837]
64682         * iconvdata/gb18030.c: Update to GB18020-2005.
64684 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
64686         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
64687         RE_SYNTAX_POSIX_AWK): Update to match recent development.
64688         Patch by Aharon Robbins <arnold@skeeve.com>.
64690         [BZ #11892]
64691         * stdlib/putenv.c (putenv): Don't always create copy of the variable
64692         on the stack.
64694         [BZ #11895]
64695         * misc/pselect.c (__pselect): Handle timeout value errors hidden
64696         through underflows.
64698         [BZ #12766]
64699         * misc/error.c (error_at_line): Ensure file_name and old_file_name
64700         point to strings before performing equality test for error_one_per_line
64701         mode.
64703         [BZ #11697]
64704         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
64706         [BZ #11820]
64707         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
64708         (struct user_fpregs_struct): Avoid __uint*_t types.
64710         [BZ #6420]
64711         * malloc/mtrace.c (tr_where): Add additional parameter to point to
64712         symbol info.  Use it instead of calling _dl_addr locally.
64713         (lock_and_info): New function.
64714         (tr_freehook): Call lock_and_info and pass symbol info as additional
64715         parameter to tr_where.
64716         (tr_mallochook): Likewise.
64717         (tr_reallochook): Likewise.
64718         (tr_memalignhook): Likewise.
64720         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
64721         used and couldn't be at all thread-safe.
64723 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
64725         * libio/freopen.c (freopen): Don't close old file descriptor
64726         before the new one is opened.  Instead dup the new file descriptor
64727         to the old one after the new stream is created.
64728         * libio/freopen64.c (freopen64): Likewise.
64729         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
64730         * libio/fileops.c (_IO_new_file_close_it): Handle new
64731         _IO_FLAGS2_NOCLOSE flag.
64732         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
64733         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
64734         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
64735         _IO_FLAGS2_NOCLOSE flag.
64736         * include/unistd.h: Add hidden_proto for dup3.
64737         Define __have_dup3.
64738         * io/dup3.c: Define hidden symbol.
64739         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
64741         [BZ #7101]
64742         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
64743         when an incomplete long option is used.
64744         * posix/tst-getopt_long1.c: New file.
64745         * posix/Makefile (tests): Add tst-getopt_long1.
64747         [BZ #10138]
64748         * scripts/config.guess: Update from autoconf-2.68.
64749         * scripts/config.sub: Likewise.
64751         [BZ #10157]
64752         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
64753         tests into ...
64754         (has_cpuclock): ...this.  New function.
64755         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
64756         macro here based on has_cpuclock code.
64758         [BZ #10149]
64759         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64760         First byte (not low byte) is now always NUL.
64761         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
64763         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64764         Use non-cancelable interfaces.
64766         [BZ #9809]
64767         * locale/iso-639.def: Add entry for Sorani.
64769         [BZ #11901]
64770         * include/stdlib.h: Move include protection to the right place.
64771         Define abort_msg_s.  Declare __abort_msg with it.
64772         * stdlib/abort.c (__abort_msg): Adjust type.
64773         * assert/assert.c (__assert_fail_base): New function.  Majority
64774         of code from __assert_fail.  Allocate memory for __abort_msg with
64775         mmap.
64776         (__assert_fail): Now call __assert_fail_base.
64777         * assert/assert-perr.c: Remove bulk of implementation.  Use
64778         __assert_fail_base.
64779         * include/assert.hL Declare __assert_fail_base.
64780         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
64781         mmap.
64782         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
64784 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
64786         [BZ #11952]
64787         [BZ #12453]
64788         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
64789         until all modules are registered in the DTV.
64790         * elf/Makefile: Add rules to build and run tst-tls19.
64791         * elf/tst-tls19.c: New file.
64792         * elf/tst-tls19mod1.c: New file.
64793         * elf/tst-tls19mod2.c: New file.
64794         * elf/tst-tls19mod3.c: New file.
64795         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
64797         [BZ #12083]
64798         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
64799         correctly.
64801         [BZ #12601]
64802         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
64803         two-byte sequence errors.
64804         * iconvdata/Makefile (tests): Add bug-iconv8.
64805         * iconvdata/bug-iconv8.c: New file.
64807         [BZ #12626]
64808         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
64809         buf2 definition.
64811         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
64813         [BZ #12432]
64814         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
64815         (dummy_getcfa): New function.
64816         (init): Get _Unwind_GetCFA address, use dummy if not found.
64817         (backtrace_helper): In recursion check, also check whether CFA changes.
64818         (__backtrace): Completely initialize arg.
64820         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
64821         storing incomplete byte sequence in state object.  Avoid testing for
64822         guaranteed too small input if we know there is enough data available.
64824 2011-05-11  Andreas Schwab  <schwab@redhat.com>
64826         * Makeconfig (+link-pie): Indent.
64827         * Rules (binaries-pie): Define if $(have-fpie) and
64828         $(build-shared).
64829         (binaries-shared): Also filter out $(binaries-pie).
64830         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
64831         * nscd/Makefile (others-pie): Add nscd.
64832         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
64833         ($(objpfx)nscd): Remove command override.
64834         * login/Makefile (others-pie): Add pt_chown.
64835         ($(objpfx)pt_chown): Remove command override.
64836         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
64837         remove command overrides.
64839 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
64841         * libio/tst_putwc.c: Fix error messages.
64843         [BZ #12724]
64844         * libio/fileops.c (_IO_new_file_close_it): Always flush when
64845         currently writing and seek to current position when not.
64846         * libio/Makefile (tests): Add bug-fclose1.
64847         * libio/bug-fclose1.c: New file.
64849 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
64851         [BZ #12511]
64852         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
64853         don't set DF_1_NODELETE here.
64854         (do_lookup_x): When entering new entry test for copy relocation
64855         and if necessary set DF_1_NODELETE flag.
64856         * elf/tst-unique4.cc: New file.
64857         * elf/tst-unique4.h: New file.
64858         * elf/tst-unique4lib.cc: New file.
64859         * elf/Makefile: Add rules to build and run tst-unique4.
64860         Patch by Piotr Bury <pbury@goahead.com>.
64862 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
64864         [BZ #12052]
64865         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
64867         [BZ #12625]
64868         * misc/mntent_r.c (addmntent): Flush the stream after the output
64870         [BZ #12393]
64871         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
64872         (is_trusted_path_normalize): Skip initial colon.  Append slash
64873         to empty buffer.  Duplicate is_trusted_path code but allow
64874         constructed patch to be prefix.
64875         (is_dst): Allow $ORIGIN followed by /.
64876         (_dl_dst_substitute): Correct clearing of check_for_trusted.
64877         Correct testing of result of is_trusted_path_normalize
64878         (decompose_rpath): Fix warning.
64880 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
64882         [BZ #11257]
64883         * grp/initgroups.c (internal_getgrouplist): When we found the service
64884         list through the initgroups entry in nsswitch.conf do not always
64885         continue on a successful lookup.  Don't always use the
64886         __nss_group_database value if it is set.
64887         * nss/nsswitch.conf (initgroups): Change action for successful db
64888         lookup to continue for compatibility.
64890 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
64892         [BZ #11532]
64893         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
64894         and CP774 modules.
64895         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
64896         and CP774 modules.
64897         * iconvdata/tst-tables.sh: Likewise.
64898         * iconvdata/cp770.c: New file.
64899         * iconvdata/cp771.c: New file.
64900         * iconvdata/cp772.c: New file.
64901         * iconvdata/cp773.c: New file.
64902         * iconvdata/cp774.c: New file.
64903         * iconvdata/testdata/CP770: New file.
64904         * iconvdata/testdata/CP770..UTF8: New file.
64905         * iconvdata/testdata/CP771: New file.
64906         * iconvdata/testdata/CP771..UTF8: New file.
64907         * iconvdata/testdata/CP772: New file.
64908         * iconvdata/testdata/CP772..UTF8: New file.
64909         * iconvdata/testdata/CP773: New file.
64910         * iconvdata/testdata/CP773..UTF8: New file.
64911         * iconvdata/testdata/CP774: New file.
64912         * iconvdata/testdata/CP774..UTF8: New file.
64914         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
64915         END CHARMAP line.
64916         * iconvdata/gen-8bit-gap.sh: Likewise.
64917         * iconvdata/gen-8bit.sh: Likewise.
64919         * locale/iso-639.def: Add ary entry.
64921         [BZ #11258]
64922         * locale/C-translit.h.in: Add U20A1 transliteration.
64924         [BZ #12178]
64925         * locale/iso-639.def: Add wae entry.
64926         Patch by Kevin Bortis <bortis@translate-wae.ch>.
64928         [BZ #12545]
64929         * locale/programs/localedef.c (construct_output_path): Use ssize_t
64930         for n.
64932         [BZ #12711]
64933         * locale/C-translit.h.in: Add entry for U20B9.
64934         Patch by pravin.d.s@gmail.com.
64936 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
64938         [BZ #12713]
64939         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
64940         ENAMETOOLONG use generic getcwd.
64941         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
64942         in rtld.  Use *stat64.
64943         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
64944         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64945         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64946         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64947         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64948         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64949         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64950         __fstatat64 macros.
64951         * include/dirent.h: Add libc_hidden_proto for rewinddir.
64952         * dirent/rewinddir.c: Add libc_hidden_def.
64953         * sysdeps/mach/hurd/rewinddir.c: Likewise.
64954         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
64956         * include/dirent.h (__alloc_dir): Add flags parameter.
64957         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64958         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64959         __alloc_dir.
64960         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
64961         from fdopendir if O_CLOEXEC is already set.
64963 2011-03-15  Alan Modra  <amodra@gmail.com>
64965         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64966         l_tls_firstbyte_offset non-zero.  Save padding offset in
64967         l_tls_firstbyte_offset for later use.
64968         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64969         freeing static tls block.
64971 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
64973         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64974         where #ifdef was intended.  The intent is to prevent ARG_MAX from
64975         being defined by the kernel headers.
64977 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
64979         [BZ #12734]
64980         * resolv/resolv.h: Define RES_NOTLDQUERY.
64981         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64982         no-tld-query and set RES_NOTLDQUERY.
64983         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64984         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64985         modern BIND to search name as TLD unless forbidden.
64987 2011-05-07  Petr Baudis  <pasky@suse.cz>
64988             Ulrich Drepper  <drepper@gmail.com>
64990         [BZ #12393]
64991         * elf/dl-load.c (fillin_rpath): Move trusted path check...
64992         (is_trusted_path): ...to here.
64993         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64994         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64995         using is_trusted_path_normalize() in setuid scripts.
64997 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64999         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
65000         __BEGIN/__END_DECLS.
65002 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
65004         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
65005         NSS_STATUS_NOTFOUND if no record was found.
65007 2011-05-05  Andreas Schwab  <schwab@redhat.com>
65009         * sunrpc/Makefile (headers): Add rpc/netdb.h.
65010         (headers-not-in-tirpc): Remove rpc/netdb.h
65011         * resolv/netdb.h: Revert last change.
65013 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65015         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
65016         circular dependency between libgcc.a and libc.a.
65018 2011-05-05  Andreas Schwab  <schwab@redhat.com>
65020         * resolv/netdb.h: Don't include <rpc/netdb.h>.
65021         * nis/Makefile: Don't install rpcsvc/*.
65022         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
65023         instead of <rpc/types.h>.
65024         (MAXHOSTNAMELEN): Define.
65026 2011-05-03  Andreas Schwab  <schwab@redhat.com>
65028         * elf/ldconfig.c (add_dir): Don't crash on empty path.
65030 2011-04-28  Maciej Babinski  <mbabinski@google.com>
65032         [BZ #12714]
65033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
65034         gethostbyname4_r when IPv6 results are possible.
65036 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
65038         [BZ #12723]
65039         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
65040         _PC_PIPE_BUF handling.
65042 2011-04-30  Bruno Haible  <bruno@clisp.org>
65044         [BZ #12717]
65045         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
65046         * resolv/netdb.h (getnameinfo): Change type of flags parameter
65047         to 'int'.
65048         * inet/getnameinfo.c (getnameinfo): Likewise.
65050 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
65052         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
65053         to groups setting in database lookup.
65054         * nss/nsswitch.conf: Add initgroups entry.
65056 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
65058         [BZ #12685]
65059         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
65060         mode string.
65061         Patch by Eric Blake <eblake@redhat.com>.
65063 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
65065         * sunrpc/Makefile (need-export-routines): Add svc_run.
65066         (routines): Remove svc_run.
65067         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
65068         * sunrpc/clnt_perr.c (clnt_perrno): Export.
65069         * sunrpc/svc_run.c (svc_run): Likewise.
65070         * sunrpc/svc_udp.c (svcudp_create): Likewise.
65072 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
65074         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
65075         problem in reallocation in last patch.
65077 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
65079         * sunrpc/Makefile: Move inclusion of Rules.
65081 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
65083         * nss/nss_files/files-initgroups.c: New file.
65084         * nss/Makefile (libnss_files-routines): Add files-initgroups.
65085         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
65086         _nss_files_initgroups_dyn.
65088 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
65090         * elf/elf.h (R_ARM_IRELATIVE): Define.
65092 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
65094         * po/ru.po: Update from translation team.
65096 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
65098         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
65099         dependencies.
65101 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
65103         [BZ #12653]
65104         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
65105         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
65106         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65107         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
65108         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
65110 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
65112         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
65113         differing bytes.
65114         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
65115         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
65116         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65118 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
65120         [BZ #12420]
65121         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
65122         storing it.
65123         * stdlib/bug-getcontext.c: New file.
65124         * stdlib/Makefile: Add rules to build and run bug-getcontext.
65126 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65128         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
65129         instructions into .machine "z9-109".
65130         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
65131         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
65133 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65135         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
65136         between environment variables and auxiliary vector.
65138 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
65140         * Makefile: Add rules to build linkobj/libc.so.
65141         * include/libc-symbols.h: Define libc_hidden_nolink.
65142         * include/rpc/auth.h: Mark functions which are to be hidden.
65143         * include/rpc/auth_des.h: Likewise.
65144         * include/rpc/auth_unix.h: Likewise.
65145         * include/rpc/clnt.h: Likewise.
65146         * include/rpc/des_crypt.h: Likewise.
65147         * include/rpc/key_prot.h: Likewise.
65148         * include/rpc/pmap_clnt.h: Likewise.
65149         * include/rpc/pmap_prot.h: Likewise.
65150         * include/rpc/pmap_rmt.h: Likewise.
65151         * include/rpc/rpc_msg.h: Likewise.
65152         * include/rpc/svc.h: Likewise.
65153         * include/rpc/svc_auth.h: Likewise.
65154         * include/rpc/xdr.h: Likewise.
65155         * nis/Makefile: Link all DSOs against linkobj/libc.so.
65156         * nss/Makefile: Likewise.
65157         * sunrpc/Makefile: Don't install headers.  Build library with normal
65158         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
65159         * sunrpc/auth_des.c: Hide exported symbols by default, export some
65160         for the compat linking library.  Remove use of INTDEF/INTUSE.
65161         * sunrpc/auth_none.c: Likewise.
65162         * sunrpc/auth_unix.c: Likewise.
65163         * sunrpc/authdes_prot.c: Likewise.
65164         * sunrpc/authuxprot.c: Likewise.
65165         * sunrpc/clnt_gen.c: Likewise.
65166         * sunrpc/clnt_perr.c: Likewise.
65167         * sunrpc/clnt_raw.c: Likewise.
65168         * sunrpc/clnt_simp.c: Likewise.
65169         * sunrpc/clnt_tcp.c: Likewise.
65170         * sunrpc/clnt_udp.c: Likewise.
65171         * sunrpc/clnt_unix.c: Likewise.
65172         * sunrpc/des_crypt.c: Likewise.
65173         * sunrpc/des_soft.c: Likewise.
65174         * sunrpc/get_myaddr.c: Likewise.
65175         * sunrpc/key_call.c: Likewise.
65176         * sunrpc/key_prot.c: Likewise.
65177         * sunrpc/netname.c: Likewise.
65178         * sunrpc/pm_getmaps.c: Likewise.
65179         * sunrpc/pm_getport.c: Likewise.
65180         * sunrpc/pmap_clnt.c: Likewise.
65181         * sunrpc/pmap_prot.c: Likewise.
65182         * sunrpc/pmap_prot2.c: Likewise.
65183         * sunrpc/pmap_rmt.c: Likewise.
65184         * sunrpc/publickey.c: Likewise.
65185         * sunrpc/rpc_cmsg.c: Likewise.
65186         * sunrpc/rpc_common.c: Likewise.
65187         * sunrpc/rpc_dtable.c: Likewise.
65188         * sunrpc/rpc_prot.c: Likewise.
65189         * sunrpc/rpc_thread.c: Likewise.
65190         * sunrpc/rtime.c: Likewise.
65191         * sunrpc/svc.c: Likewise.
65192         * sunrpc/svc_auth.c: Likewise.
65193         * sunrpc/svc_authux.c: Likewise.
65194         * sunrpc/svc_raw.c: Likewise.
65195         * sunrpc/svc_run.c: Likewise.
65196         * sunrpc/svc_simple.c: Likewise.
65197         * sunrpc/svc_tcp.c: Likewise.
65198         * sunrpc/svc_udp.c: Likewise.
65199         * sunrpc/svc_unix.c: Likewise.
65200         * sunrpc/svcauth_des.c: Likewise.
65201         * sunrpc/xcrypt.c: Likewise.
65202         * sunrpc/xdr.c: Likewise.
65203         * sunrpc/xdr_array.c: Likewise.
65204         * sunrpc/xdr_float.c: Likewise.
65205         * sunrpc/xdr_intXX_t.c: Likewise.
65206         * sunrpc/xdr_mem.c: Likewise.
65207         * sunrpc/xdr_rec.c: Likewise.
65208         * sunrpc/xdr_ref.c: Likewise.
65209         * sunrpc/xdr_sizeof.c: Likewise.
65210         * sunrpc/xdr_stdio.c: Likewise.
65212 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
65214         [BZ #12650]
65215         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
65216         * sysdeps/ia64/dl-tls.h: Likewise.
65217         * sysdeps/powerpc/dl-tls.h: Likewise.
65218         * sysdeps/s390/dl-tls.h: Likewise.
65219         * sysdeps/sh/dl-tls.h: Likewise.
65220         * sysdeps/sparc/dl-tls.h: Likewise.
65221         * sysdeps/x86_64/dl-tls.h: Likewise.
65222         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
65224 2011-03-14  Andreas Schwab  <schwab@redhat.com>
65226         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
65227         rpath element also skip the following colon.
65228         (expand_dynamic_string_token): Add is_path parameter and pass
65229         down to DL_DST_REQUIRED and _dl_dst_substitute.
65230         (decompose_rpath): Call expand_dynamic_string_token with
65231         non-zero is_path.  Ignore empty rpaths.
65232         (_dl_map_object_from_fd): Call expand_dynamic_string_token
65233         with zero is_path.
65235 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
65237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
65238         Make cancelable.
65240 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
65242         [BZ #12655]
65243         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
65244         Patch by Filipe David Manana <fdmanana@apache.org>.
65246 2011-04-07  Andreas Schwab  <schwab@redhat.com>
65248         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
65249         Maintain aligned stack.
65250         (CHECK_RSP): Remove unused macro.
65252 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
65254         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
65255         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
65257 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
65259         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
65261         * include/features.h: Mention __USE_XOPEN2K8 in comment.
65263 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
65265         [BZ #12518]
65266         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
65267         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
65268         * sysdeps/x86_64/memmove.c: New file.
65269         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
65270         (memcpy): Renamed to ...
65271         (__new_memcpy): This.
65272         (memcpy): Provide GLIBC_2_14 memcpy.
65273         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
65274         (memcpy): Provide GLIBC_2_2_5 memcpy.
65276 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
65278         [BZ #12631]
65279         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
65281 2011-03-30  Andreas Schwab  <schwab@redhat.com>
65283         * misc/syncfs.c: New file.
65284         * misc/Makefile (routines): Add syncfs.
65285         * posix/unistd.h: Declare syncfs.
65286         * sysdeps/unix/syscalls.list: Add syncfs.
65288 2011-04-01  Andreas Schwab  <schwab@redhat.com>
65290         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
65291         open_by_handle_at.
65292         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65293         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
65294         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65295         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65296         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65297         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
65298         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65300 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
65302         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
65303         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
65304         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
65305         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65306         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65307         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65308         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65310         * io/Makefile: Compile fallocate.c, fallocate64.c, and
65311         sync_file_range.c with -fexceptions.
65312         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
65313         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
65314         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
65315         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
65316         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
65317         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
65318         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
65319         sync_file_range as cancellation point
65320         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
65321         now a wrapper around __call_sync_file_range with cancellation handling.
65322         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
65323         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
65324         function name to __call_sync_file_range.
65325         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
65326         Add call_sync_file_range.
65328 2011-04-01  Andreas Schwab  <schwab@redhat.com>
65330         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65331         bits/timex.h.
65333 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
65335         * iconv/iconv.h: Fix typo in comment.
65336         * io/fcntl.h: Likewise.
65337         * libio/stdio.h: Likewise.
65338         * posix/spawn.h: Likewise.
65339         * posix/unistd.h: Likewise.
65340         * stdlib/stdlib.h: Likewise.
65341         * time/time.h: Likewise.
65342         * wcsmbs/wchar.h: Likewise.
65344         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
65345         open_by_handle): Add.
65346         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
65347         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
65348         Augment a few comments.
65349         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
65350         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65351         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65352         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65353         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65354         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
65355         open_by_handle.
65357         * io/fcntl.h (AT_EMPTY_PATH): Define.
65359 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
65361         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
65362         * sysdeps/unix/sysv/linux/bits/time.h: New file.
65363         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
65364         to...
65365         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
65366         * Versions.def: Add GLIBC_2.14.
65367         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
65368         Export.
65370 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
65372         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
65373         round counter.
65374         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
65376 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65378         [BZ #12597]
65379         * string/test-strncmp.c (do_page_test): New function.
65380         (check2): Likewise.
65381         (test_main): Call check2.
65382         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
65384 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
65386         [BZ #12587]
65387         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
65388         Handle cache information in CPU leaf 4.
65389         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
65391 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
65393         [BZ #12583]
65394         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
65395         character representation.
65396         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
65398 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
65400         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
65401         END(__isnan) to END(__isnanf) to match function entry point/label
65402         EALIGN(__isnanf,...).
65404 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
65406         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
65408 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
65410         [BZ #12510]
65411         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
65412         copy from the symbol referenced in the relocation to initialize the
65413         used variable.
65414         Patch by Piotr Bury <pbury@goahead.com>.
65415         * elf/Makefile: Add rules to build and tst-unique3.
65416         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
65417         * elf/tst-unique3.cc: New file.
65418         * elf/tst-unique3.h: New file.
65419         * elf/tst-unique3lib.cc: New file.
65420         * elf/tst-unique3lib2.cc: New file.
65422         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
65424 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
65426         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
65427         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
65428         to _start.
65430 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
65432         * elf/dl-load.c (_dl_map_object): If we are looking for the first
65433         to-be-loaded object along a path to loader is ld.so.
65435 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
65436             Ulrich Drepper  <drepper@gmail.com>
65438         * sysdeps/x86_64/memset.S: After aligning destination, code
65439         branches to different locations depending on the value of
65440         misalignment, when multiarch is enabled. Fix this.
65442 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
65444         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
65445         Set _x86_64_preferred_memory_instruction for AMD processsors.
65446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65447         Set bit_Prefer_SSE_for_memop for AMD processors.
65449 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
65451         * libio/fmemopen.c (fmemopen): Optimize a bit.
65453 2011-03-03  Andreas Schwab  <schwab@redhat.com>
65455         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
65457 2011-03-03  Roland McGrath  <roland@redhat.com>
65459         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
65461 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
65463         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
65464         __bzero_ultra1 instead of __memset_ultra1.
65466 2011-02-23  Andreas Schwab  <schwab@redhat.com>
65467             Ulrich Drepper  <drepper@gmail.com>
65469         [BZ #12509]
65470         * include/link.h (struct link_map): Add l_orig_initfini.
65471         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
65472         returning unsuccessfully.
65473         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
65474         close of a file loaded at startup, restore the original l_initfini
65475         list.
65476         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
65477         list, store the pointer.
65478         * elf/Makefile ($(objpfx)noload-mem): New rule.
65479         (noload-ENV): Define.
65480         (tests): Add $(objpfx)noload-mem.
65481         * elf/noload.c: Include <memcheck.h>.
65482         (main): Call mtrace.  Close all opened handles.
65484 2011-02-17  Andreas Schwab  <schwab@redhat.com>
65486         [BZ #12454]
65487         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
65488         dependencies are missing.
65490 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65492         Fix __if_freereq crash: Unlike the generic version which uses free,
65493         Hurd needs munmap.
65494         * sysdeps/mach/hurd/ifreq.h: New file.
65496 2011-01-27  Petr Baudis  <pasky@suse.cz>
65497             Ulrich Drepper  <drepper@gmail.com>
65499         [BZ 12445]#
65500         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
65501         to extend_alloca().
65502         * stdio-common/bug23.c: New file.
65503         * stdio-common/Makefile (tests): Add bug23.
65505 2010-09-28  Andreas Schwab  <schwab@redhat.com>
65506             Ulrich Drepper  <drepper@gmail.com>
65508         [BZ #12489]
65509         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
65510         before performing relro protection.  At old place add assertion
65511         to make sure nothing changed.
65513 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
65514             Glauber de Oliveira Costa  <glommer@gmail.com>
65516         * elf/elf.h: Add new ARM TLS relocs.
65518 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
65520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65521         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
65522         cast from r3.
65523         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
65524         'tests' variable.
65525         * sysdeps/wordsize-64/tst-writev.c: New file.
65527 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
65529         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
65530         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
65531         insns in _dl_start to prevent a TOC reference before relocs are
65532         resolved.
65534 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
65536         [BZ #12469]
65537         * Makeconfig: Remove RANLIB definition.
65538         * Makerules: Don't use RANLIB.
65539         * aclocal.m4: Remove ranlib test.
65540         * configure.in: No need to check for ranlib.
65541         * elf/rtld-Rules: Don't use RANLIB.
65543 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65545         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
65546         protection macro.
65547         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
65548         inclusion protection macro.
65550         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
65551         SIGRTMIN and SIGRTMAX and print information in that case only when
65552         SIGRTMIN is defined.
65554 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
65556         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
65557         arginfo fn returning -1.
65559         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
65560         and thousands string is zero terminated.
65562 2011-02-03  Andreas Schwab  <schwab@redhat.com>
65564         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
65565         sysdeps/unix/sysv/linux/bits/socket.h.
65567 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65569         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
65570         (__CPU_COUNT): Remove old macros.
65571         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
65572         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
65573         (__CPU_ALLOC, __CPU_FREE): Add macros.
65574         (__sched_cpualloc, __sched_cpufree): Add declarations.
65576 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
65578         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
65579         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
65580         * nscd/aicache.c (addhstaiX): Return timeout of added value.
65581         (readdhstai): Return value of addhstaiX call.
65582         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
65583         (addgrbyX): Return value returned by cache_addgr.
65584         (readdgrbyname): Return value returned by addgrbyX.
65585         (readdgrbygid): Likewise.
65586         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
65587         (addpwbyX): Return value returned by cache_addpw.
65588         (readdpwbyname): Return value returned by addhstbyX.
65589         (readdpwbyuid): Likewise.
65590         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
65591         (addservbyX): Return value returned by cache_addserv.
65592         (readdservbyname): Return value returned by addservbyX:
65593         (readdservbyport): Likewise.
65594         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
65595         (addhstbyX): Return value returned by cache_addhst.
65596         (readdhstbyname): Return value returned by addhstbyX.
65597         (readdhstbyaddr): Likewise.
65598         (readdhstbynamev6): Likewise.
65599         (readdhstbyaddrv6): Likewise.
65600         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
65601         (readdinitgroups): Return value returned by addinitgroupsX.
65602         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
65603         (prune_cache): Keep track of timeout value of re-added entries.
65604         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
65605         * nscd/nscd.h: Adjust prototypes of readd* functions.
65607 2011-02-04  Roland McGrath  <roland@redhat.com>
65609         * nis/nis_server.c (nis_servstate): Use the right name for 0.
65610         (nis_stats): Likewise.
65611         * nis/nis_modify.c (nis_modify): Likewise.
65612         * nis/nis_remove.c (nis_remove): Likewise.
65613         * nis/nis_add.c (nis_add): Likewise.
65615         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
65617         * posix/fnmatch_loop.c: Add some consts.
65619         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
65621 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
65623         [BZ #12460]
65624         * config.make.in (config-cflags-novzeroupper): Define.
65625         * configure.in: Substitute libc_cv_cc_novzeroupper.
65626         * elf/Makefile (AVX-CFLAGS): Define.
65627         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
65628         (CFLAGS-tst-auditmod4a.c): Likewise.
65629         (CFLAGS-tst-auditmod4b.c): Likewise.
65630         (CFLAGS-tst-auditmod6b.c): Likewise.
65631         (CFLAGS-tst-auditmod6c.c): Likewise.
65632         (CFLAGS-tst-auditmod7b.c): Likewise.
65633         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
65635 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
65637         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
65638         function to the callback.
65639         Patch partly by Jiri Olsa <jolsa@redhat.com>.
65641 2011-02-02  Andreas Schwab  <schwab@redhat.com>
65643         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
65644         of errno.
65646 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
65648         [BZ #11724]
65649         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
65650         of constructors.
65651         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
65652         of destructors.
65653         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
65655         [BZ #11724]
65656         * elf/Makefile: Add rules to build and run new test.
65657         * elf/tst-initorder.c: New file.
65658         * elf/tst-initorder.exp: New file.
65659         * elf/tst-initordera1.c: New file.
65660         * elf/tst-initordera2.c: New file.
65661         * elf/tst-initordera3.c: New file.
65662         * elf/tst-initordera4.c: New file.
65663         * elf/tst-initorderb1.c: New file.
65664         * elf/tst-initorderb2.c: New file.
65665         * elf/tst-order-a1.c: New file.
65666         * elf/tst-order-a2.c: New file.
65667         * elf/tst-order-a3.c: New file.
65668         * elf/tst-order-a4.c: New file.
65669         * elf/tst-order-b1.c: New file.
65670         * elf/tst-order-b2.c: New file.
65671         * elf/tst-order-main.c: New file.
65672         New test case by George Gensure <werkt0@gmail.com>.
65674 2010-10-01  Andreas Schwab  <schwab@redhat.com>
65676         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65677         decoding ACE if AI_CANONIDN.
65679 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
65681         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
65683 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
65685         * version.h (RELEASE): Bump for 2.13 release.
65686         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
65688         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
65690         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
65691         MADV_NOHUGEPAGE.
65692         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
65693         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65694         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65695         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65696         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65697         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65699         * posix/getconf.c: Update copyright year.
65700         * catgets/gencat.c: Likewise.
65701         * csu/version.c: Likewise.
65702         * debug/catchsegv.sh: Likewise.
65703         * debug/xtrace.sh: Likewise.
65704         * elf/ldconfig.c: Likewise.
65705         * elf/ldd.bash.in: Likewise.
65706         * elf/sprof.c (print_version): Likewise.
65707         * iconv/iconv_prog.c: Likewise.
65708         * iconv/iconvconfig.c: Likewise.
65709         * locale/programs/locale.c: Likewise.
65710         * locale/programs/localedef.c: Likewise.
65711         * malloc/memusage.sh: Likewise.
65712         * malloc/mtrace.pl: Likewise.
65713         * nscd/nscd.c (print_version): Likewise.
65714         * nss/getent.c: Likewise.
65716         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
65717         PF_CAIF, and PF_ALG.
65718         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65720 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
65722         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
65723         (modules-names): Use them.
65724         (ifunc-test-modules, ifunc-pie-tests): Define.
65725         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
65726         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
65727         (test-extras): Likewise.
65728         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
65729         $(compile-command.c).
65730         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
65731         (all-built-dso): Define.
65732         (check-textrel.out, check-execstack.out): Depend on it.
65734         * configure.in: Don't override --enable-multi-arch.
65736 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
65738         [BZ #6812]
65739         * nscd/hstcache.c (tryagain): Define.
65740         (cache_addhst): Return tryagain not notfound for temporary errors.
65741         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
65742         failed.
65744 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
65746         [BZ #10563]
65747         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
65748         to make the syscall.
65749         * sysdeps/unix/sysv/linux/setgroups.c: New file.
65751         [BZ #12378]
65752         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
65753         and fall back to matching as normal character if the string ends before
65754         the matching ']' is found.  This is what POSIX requires.
65755         * posix/testfnm.c: Adjust test result.
65756         * posix/globtest.sh: Adjust test result.  Add new test.
65757         * posix/tst-fnmatch.input: Likewise.
65758         * posix/tst-fnmatch2.c: Add new test.
65760 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
65762         * elf/Makefile (check-execstack): Revert last change.  Depend on
65763         check-execstack.h.
65764         (check-execstack.h): New target.
65765         (generated): Add check-execstack.h.
65766         * elf/check-execstack.c: Include "check-execstack.h".
65767         (main): Revert last change.
65768         (handle_file): Return zero if GNU_STACK is absent and
65769         DEFAULT_STACK_PERMS doesn't include PF_X.
65771 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
65773         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
65774         in child fails because the descriptor is already closed.
65775         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
65776         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
65777         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
65779         [BZ #12397]
65780         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
65781         syscall.
65783         [BZ #10484]
65784         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
65785         temporary buffer used to handle multi lookups locally.
65786         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
65788 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65790         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
65791         loader is ld.so.
65793 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
65795         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
65796         alignment for SSE2.
65798 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65800         [BZ #12394]
65801         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
65802         characters.  When rounding increased number of integer digits recompute
65803         number of groups.
65804         * stdio-common/tst-grouping.c: New file.
65805         * stdio-common/Makefile: Add rules to build and run tst-grouping.
65807 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
65809         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
65810         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
65812         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
65813         void.
65814         * bits/select.h: Likewise.
65816 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
65818         * po/ja.po: Update from translation team.
65820 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
65822         [BZ #11155]
65823         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
65824         implementation just like for lxstat, fxstatat, et al.
65826 2010-12-27  Jim Meyering  <meyering@redhat.com>
65828         [BZ #12348]
65829         * posix/regexec.c (build_trtable): Return failure indication upon
65830         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
65832 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
65834         [BZ #12201]
65835         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
65836         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
65837         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
65838         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
65840         [BZ #12207]
65841         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
65843         [BZ #12204]
65844         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
65845         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
65847 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
65849         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
65850         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
65851         script has SORT_BY_INIT_PRIORITY.
65852         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
65853         NO_CTORS_DTORS_SECTIONS is defined.
65854         * elf/soinit.c: Likewise.
65855         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
65856         NO_CTORS_DTORS_SECTIONS is defined.
65857         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
65858         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
65859         * sysdeps/sh/init-first.c: Likewise.
65860         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
65862 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
65864         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
65865         always use the slow path.
65867 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
65869         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
65870         similar rule which adds the sysdep directories to the header search in
65871         order to pick up the correct platform stackinfo.h.
65872         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
65873         perform test if it is, otherwise return successfully without testing.
65874         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
65875         DEFAULT_STACK_PERMS define in stackinfo.h.
65876         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
65877         defined in stackinfo.h.
65878         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
65879         DEFAULT_STACK_PERMS defined in stackinfo.h.
65880         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
65881         * sysdeps/ia64/stackinfo.h: Likewise.
65882         * sysdeps/s390/stackinfo.h: Likewise.
65883         * sysdeps/sh/stackinfo.h: Likewise.
65884         * sysdeps/sparc/stackinfo.h: Likewise.
65885         * sysdeps/x86_64/stackinfo.h: Likewise.
65886         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
65887         PF_X for powerpc64.  Retain PF_X for powerpc32.
65889 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
65891         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
65892         accurately.
65893         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
65894         GETDENTS_64BIT_ALIGNED.
65896 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
65898         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
65900 2010-12-10  Andreas Schwab  <schwab@redhat.com>
65902         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
65903         _GNU_SOURCE.
65905         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
65906         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
65907         Remove __restrict.
65908         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
65909         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
65911 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
65913         [BZ #11655]
65914         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
65915         are initialized.
65917 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
65919         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
65921 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
65923         * po/it.po: Update from translation team.
65925 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
65927         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
65928         unused codes.
65930 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
65932         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
65934 2010-11-24  Andreas Schwab  <schwab@redhat.com>
65936         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
65937         specially.
65938         (gaih_getanswer_slice): Likewise.
65940 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
65942         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
65944 2010-05-31  Petr Baudis  <pasky@suse.cz>
65946         [BZ #11149]
65947         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65948         silently even in the chroot mode.
65950 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
65952         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65953         last patch a bit.  Pretty printing
65955 2010-05-31  Petr Baudis <pasky@suse.cz>
65957         [BZ #10085]
65958         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65959         initialization of skip_initgroups_dyn.
65961 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
65963         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65964         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65966 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
65968         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65970 2010-11-11  Andreas Schwab  <schwab@redhat.com>
65972         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65973         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65974         (tst-fnmatch-ENV): Set MALLOC_TRACE.
65975         ($(objpfx)tst-fnmatch-mem): New rule.
65976         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65977         * posix/tst-fnmatch.c (main): Call mtrace.
65979 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
65981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65982         Support Intel processor model 6 and model 0x2c.
65984 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
65986         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65987           signed comparison.
65989 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
65991         [BZ #12205]
65992         * string/test-strncasecmp.c (check_result): New function.
65993         (do_one_test): Use it.
65994         (check1): New function.
65995         (test_main): Use it.
65996         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65997         Support strcasecmp and strncasecmp.
65999 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
66001         [BZ #12194]
66002         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
66003         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66005 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
66007         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
66008         IFUNC support.
66009         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66010         memset-x86-64.
66011         * sysdeps/x86_64/multiarch/bzero.S: New file.
66012         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
66013         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
66014         * sysdeps/x86_64/multiarch/memset.S: New file.
66015         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
66016         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66017         Set bit_Prefer_SSE_for_memop for Intel processors.
66018         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
66019         Define.
66020         (index_Prefer_SSE_for_memop): Define.
66021         (HAS_PREFER_SSE_FOR_MEMOP): Define.
66023 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
66025         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
66026         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
66028 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
66030         [BZ #12191]
66031         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
66032         (__x86_64_raw_data_cache_size_half): Likewise.
66033         (__x86_64_raw_shared_cache_size): Likewise.
66034         (__x86_64_raw_shared_cache_size_half): Likewise.
66036         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
66037         (__x86_64_raw_data_cache_size_half): Likewise.
66038         (__x86_64_raw_shared_cache_size): Likewise.
66039         (__x86_64_raw_shared_cache_size_half): Likewise.
66040         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
66041         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
66042         and __x86_64_raw_shared_cache_size_half.  Round
66043         __x86_64_data_cache_size_half, __x86_64_data_cache_size
66044         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
66045         to multiple of 256 bytes.
66047 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
66049         [BZ #12167]
66050         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
66051         of inacessible symlinks.  Verify result of symlink before returning it.
66052         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
66053         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
66055 2010-10-28  Erich Ritz  <erichritz@gmail.com>
66057         * math/math.h (isinf): Fix typo in comment.
66059 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
66061         * po/da.po: Update from translation team.
66063 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
66065         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
66066         is added to the list.
66068 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66069             Ulrich Drepper  <drepper@gmail.com>
66071         * elf/dl-object.c (_dl_new_object): Don't append the new object to
66072         the global list here.  Move code to...
66073         (_dl_add_to_namespace_list): ...here.  New function.
66074         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
66075         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
66076         * elf/dl-load.c (lose): Don't remove the element from the list.
66077         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
66078         (_dl_map_object): Likewise.
66080 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
66082         [BZ #12159]
66083         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
66084         into all bytes of SSE register.
66085         Patch by Richard Li <richardpku@gmail.com>.
66087 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
66089         [BZ #12140]
66090         * malloc/malloc.c (_int_free): Fill correct number of bytes when
66091         perturbing.
66093 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
66095         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
66096         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
66097         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
66098         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
66099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
66100         submachine.
66101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
66103 2010-10-22  Andreas Schwab  <schwab@redhat.com>
66105         * include/dlfcn.h (__RTLD_SECURE): Define.
66106         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
66107         mode & __RTLD_SECURE instead.
66108         (open_path): Rename preloaded parameter to secure.
66109         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
66110         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
66111         * elf/dl-deps.c (openaux): Likewise.
66112         * elf/rtld.c (struct map_args): Remove is_preloaded.
66113         (map_doit): Don't use it.
66114         (dl_main): Likewise.
66115         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
66116         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
66118 2010-09-09  Andreas Schwab  <schwab@redhat.com>
66120         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
66121         (sysd-rules-targets): Remove duplicates.
66122         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
66123         rtld-%.$o dependency.
66125 2010-10-18  Andreas Schwab  <schwab@redhat.com>
66127         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
66128         _dl_map_object do it.
66130 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
66132         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
66133         fast fma builtins, define the macros in the C99 standard.
66134         (FP_FAST_FMAF): Likewise.
66135         (FP_FAST_FMAL): Likewise.
66136         * sysdeps/x86_64/bits/mathdef.h: Likewise.
66138         * bits/mathdef.h: Update copyright year.
66139         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66141 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
66143         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
66144         builtins, define the macros in the C99 standard.
66145         (FP_FAST_FMAF): Likewise.
66146         (FP_FAST_FMAL): Likewise.
66147         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
66148         multiply/add.
66149         (FP_FAST_FMAF): Likewise.
66151 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
66153         [BZ #3268]
66154         * math/libm-test.inc (fma_test): Some new testcases.
66155         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
66156         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
66157         y and infinite z.  Do multiplication by C already in long double.
66158         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
66159         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
66160         y and infinite z.  Do bitwise or of inexact bit into u.d.
66161         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
66162         * sysdeps/i386/fpu/s_fmaf.S: Removed.
66163         * sysdeps/i386/fpu/s_fma.S: Removed.
66164         * sysdeps/i386/fpu/s_fmal.S: Removed.
66166 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
66168         [BZ #3268]
66169         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
66170         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
66171         computation is not scheduled after fetestexcept.  Fix value
66172         of minimum denormal long double.
66174 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
66176         [BZ #3268]
66177         * math/libm-test.inc (fma_test): Add some more tests.
66178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
66179         correctly.
66181 2010-10-15  Andreas Schwab  <schwab@redhat.com>
66183         * scripts/data/localplt-s390-linux-gnu.data: New file.
66184         * scripts/data/localplt-s390x-linux-gnu.data: New file.
66186 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
66188         [BZ #3268]
66189         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
66190         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
66191         instead of dbl-64.
66192         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
66193         inlines.
66194         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
66195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
66196         if one of x and y is very large and the other is subnormal.
66197         * sysdeps/s390/fpu/s_fmaf.c: New file.
66198         * sysdeps/s390/fpu/s_fma.c: New file.
66199         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
66200         * sysdeps/powerpc/fpu/s_fma.S: New file.
66201         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
66202         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
66203         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
66205 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
66207         [BZ #3268]
66208         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
66209         fma tests.
66210         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
66211         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
66212         * sysdeps/i386/i686/multiarch/s_fma.c: Include
66213         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
66214         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
66215         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
66216         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
66218 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
66220         [BZ #12078]
66221         * posix/regcomp.c (parse_branch): One more memory leak plugged.
66222         * posix/bug-regex31.input: Add test case.
66224 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
66226         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
66227         * posix/bug-regex31.input: New file.
66229         [BZ #12078]
66230         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
66231         (parse_sub_exp): Fix last change, use postorder.
66233         * posix/bug-regex31.c: New file.
66234         * posix/Makefile: Add rules to build and run bug-regex31.
66236         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
66238         [BZ #12078]
66239         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
66241         [BZ #12108]
66242         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
66243         to have entries in sys_siglist.
66245         [BZ #12093]
66246         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
66247         be NULL.
66249 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
66251         [BZ #3268]
66252         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
66253         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
66254         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
66255         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
66256         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66257         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
66258         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
66259         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
66260         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
66261         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
66262         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
66263         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
66264         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
66265         * math/ftestexcept.c (fetestexcept): Likewise.
66266         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
66267         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
66268         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
66269         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
66270         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
66271         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
66272         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66274 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
66276         [BZ #12107]
66277         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
66278         newline.
66280 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
66282         * string/bug-strstr1.c: New file.
66283         * string/Makefile: Add rules to build and run bug-strstr1.
66285 2010-10-05  Eric Blake  <eblake@redhat.com>
66287         [BZ #12092]
66288         * string/str-two-way.h (two_way_long_needle): Always clear memory
66289         when skipping input due to the shift table.
66291 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
66293         [BZ #12005]
66294         * malloc/mcheck.c: Handle large requests.
66296         [BZ #12077]
66297         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
66298         for strncmp and strncasecmp.
66299         * string/stratcliff.c: Add tests for strcmp and strncmp.
66300         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
66302 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66304         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
66305         __set_fpscr.
66307 2010-09-30  Andreas Jaeger  <aj@suse.de>
66309         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
66310         (CGROUP_SUPER_MAGIC): Define.
66311         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66312         Handle btrfs and cgroup file systems.
66313         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66314         Likewise.
66316 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
66318         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
66319         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
66321 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66323         [BZ #12067]
66324         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
66325         trying to locate the ELF header.
66327 2010-09-27  Andreas Schwab  <schwab@redhat.com>
66329         [BZ #11611]
66330         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
66331         Mask out sign-bit copies when constructing f_fsid.
66333 2010-09-24  Petr Baudis <pasky@suse.cz>
66335         * debug/stack_chk_fail_local.c: Add missing licence exception.
66336         * debug/warning-nop.c: Likewise.
66338 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
66340         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
66341         implementing getdents64 using getdents syscall, set d_type if
66342         __ASSUME_GETDENTS32_D_TYPE.
66344 2010-09-16  Andreas Schwab  <schwab@redhat.com>
66346         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
66347         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
66349 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
66351         [BZ #12037]
66352         * posix/unistd.h: Undo change of feature selection for ftruncate from
66353         2010-01-11.
66355 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
66357         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
66358         detection.
66360 2010-09-20  Andreas Schwab  <schwab@redhat.com>
66362         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
66363         fanotify_mark.
66364         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66366 2010-09-14  Andreas Schwab  <schwab@redhat.com>
66368         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
66369         variables after CHECK_SP call.
66370         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
66372 2010-09-13  Andreas Schwab  <schwab@redhat.com>
66373             Ulrich Drepper  <drepper@redhat.com>
66375         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
66376         re-relocationg ld.so.
66377         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
66378         _dl_init_paths call.
66379         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
66380         here anymore.
66382 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
66384         * resolv/res_init.c (__res_vinit): Count the default server we added.
66386 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
66387             Ulrich Drepper  <drepper@redhat.com>
66389         [BZ #11968]
66390         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
66391         (____longjmp_chk): Use %ebx for saving value across system call.
66392         Add unwind info.
66394 2010-09-06  Andreas Schwab  <schwab@redhat.com>
66396         * manual/Makefile: Don't mix pattern rules with normal rules.
66398 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66400         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
66401         operation.
66402         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
66403         * libio/iofopncook.c (_IO_cookie_init): Likewise.
66404         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
66405         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
66406         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66407         Likewise.
66409 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
66411         [BZ #11979]
66412         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
66413         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
66415 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
66417         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
66418         * sysdeps/x86_64/addmul_1.S: Likewise.
66419         * sysdeps/x86_64/lshift.S: Likewise.
66420         * sysdeps/x86_64/mul_1.S: Likewise.
66421         * sysdeps/x86_64/rshift.S: Likewise.
66422         * sysdeps/x86_64/sub_n.S: Likewise.
66423         * sysdeps/x86_64/submul_1.S: Likewise.
66425 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66427         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
66428         Define __sched_param instead of SCHED_* and sched_param when
66429         <bits/sched.h> is included with __need_schedparam defined.
66430         * bits/sched.h [__need_schedparam]
66431         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
66432         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
66433         (__defined_schedparam): Define to 1.
66434         (__sched_param): New structure, identical to sched_param.
66435         (__need_schedparam): Undefine.
66437 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
66439         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
66440         (epoll_create1): Declare.
66442         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
66444 2010-08-31  Andreas Schwab  <schwab@redhat.com>
66446         [BZ #7066]
66447         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
66448         shifting retval into place.
66450 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
66452         * nis/rpcsvc/nis.h: Update copyright notice.
66453         * nis/rpcsvc/nis.x: Likewise.
66454         * nis/rpcsvc/nis_callback.h: Likewise.
66455         * nis/rpcsvc/nis_callback.x: Likewise.
66456         * nis/rpcsvc/nis_object.x: Likewise.
66457         * nis/rpcsvc/nis_tags.h: Likewise.
66458         * nis/rpcsvc/yp.h: Likewise.
66459         * nis/rpcsvc/yp.x: Likewise.
66460         * nis/rpcsvc/ypupd.h: Likewise.
66461         * nis/yp_xdr.c: Likewise.
66462         * nis/ypupdate_xdr.c: Likewise.
66464         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
66465         mainly the body of pmap_getport.  Add parameters to specify timeouts.
66466         (pmap_getport): Use __libc_rpc_getport.
66467         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
66468         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
66469         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
66471 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
66473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
66474         fanotify_mark.
66476 2010-08-27  Roland McGrath  <roland@redhat.com>
66478         * sysdeps/i386/i686/multiarch/Makefile
66479         (CFLAGS-varshift.c): New variable.
66481 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
66483         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
66484         * sysdeps/i386/i686/multiarch/varshift.c: New file.
66486         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
66488         * sysdeps/x86_64/strlen.S: Minimal code improvement.
66490 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
66492         * sysdeps/x86_64/strlen.S: Unroll the loop.
66493         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66494         strlen-sse2 strlen-sse2-bsf.
66495         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
66496         __strlen_no_bsf if bit_Slow_BSF is set.
66497         (__strlen_sse42): Removed.
66498         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
66499         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
66501 2010-08-25  Roland McGrath  <roland@redhat.com>
66503         * sysdeps/x86_64/multiarch/varshift.S: File removed.
66504         * sysdeps/x86_64/multiarch/varshift.c: New file.
66505         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
66506         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
66507         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
66508         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
66510 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
66512         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66513         strlen-sse2 strlen-sse2-bsf.
66514         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
66515         __strlen_sse2_bsf if bit_Slow_BSF is unset.
66516         (__strlen_sse2): Removed.
66517         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
66518         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
66519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
66520         bit_Slow_BSF for Atom.
66521         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
66522         (index_Slow_BSF): Define.
66523         (HAS_SLOW_BSF): Define.
66525 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
66527         [BZ #10851]
66528         * resolv/res_init.c (__res_vinit): When no server address at all
66529         is given default to loopback.
66531 2010-08-24  Roland McGrath  <roland@redhat.com>
66533         * configure.in: Remove config-name.h generation.
66534         * configure: Regenerated.
66535         * config-name.in: File removed.
66536         * scripts/config-uname.sh: New file.
66537         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
66538         ($(objdir)config-name.h): New target.
66540         * sunrpc/rpc_parse.h: Avoid nested comment.
66542 2010-08-24  Richard Henderson  <rth@redhat.com>
66543             Ulrich Drepper  <drepper@redhat.com>
66544             H.J. Lu  <hongjiu.lu@intel.com>
66546         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
66547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
66548         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
66549         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
66550         _mm_alignr_epi8 with _mm_loadu_si128.
66551         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
66552         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
66553         (__m128i_shift_right): Removed.
66554         * sysdeps/i386/i686/multiarch/varshift.h: New file.
66555         * sysdeps/i386/i686/multiarch/varshift.S: New file.
66556         * sysdeps/x86_64/multiarch/varshift.h: New file.
66557         * sysdeps/x86_64/multiarch/varshift.S: New file.
66559 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
66561         * configure.in: Move assembler checks to before sysdep dir checking.
66563 2010-08-20  Petr Baudis  <pasky@suse.cz>
66565         * LICENSES: Sync the sunrpc license.
66567 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
66569         * sunrpc/auth_des.c: Update copyright notice once again.
66570         * sunrpc/auth_none.c: Likewise.
66571         * sunrpc/auth_unix.c: Likewise.
66572         * sunrpc/authdes_prot.c: Likewise.
66573         * sunrpc/authuxprot.c: Likewise.
66574         * sunrpc/bindrsvprt.c: Likewise.
66575         * sunrpc/clnt_gen.c: Likewise.
66576         * sunrpc/clnt_perr.c: Likewise.
66577         * sunrpc/clnt_raw.c: Likewise.
66578         * sunrpc/clnt_simp.c: Likewise.
66579         * sunrpc/clnt_tcp.c: Likewise.
66580         * sunrpc/clnt_udp.c: Likewise.
66581         * sunrpc/clnt_unix.c: Likewise.
66582         * sunrpc/des_crypt.c: Likewise.
66583         * sunrpc/des_soft.c: Likewise.
66584         * sunrpc/get_myaddr.c: Likewise.
66585         * sunrpc/getrpcport.c: Likewise.
66586         * sunrpc/key_call.c: Likewise.
66587         * sunrpc/key_prot.c: Likewise.
66588         * sunrpc/openchild.c: Likewise.
66589         * sunrpc/pm_getmaps.c: Likewise.
66590         * sunrpc/pm_getport.c: Likewise.
66591         * sunrpc/pmap_clnt.c: Likewise.
66592         * sunrpc/pmap_prot.c: Likewise.
66593         * sunrpc/pmap_prot2.c: Likewise.
66594         * sunrpc/pmap_rmt.c: Likewise.
66595         * sunrpc/rpc/auth.h: Likewise.
66596         * sunrpc/rpc/auth_unix.h: Likewise.
66597         * sunrpc/rpc/clnt.h: Likewise.
66598         * sunrpc/rpc/des_crypt.h: Likewise.
66599         * sunrpc/rpc/key_prot.h: Likewise.
66600         * sunrpc/rpc/netdb.h: Likewise.
66601         * sunrpc/rpc/pmap_clnt.h: Likewise.
66602         * sunrpc/rpc/pmap_prot.h: Likewise.
66603         * sunrpc/rpc/pmap_rmt.h: Likewise.
66604         * sunrpc/rpc/rpc.h: Likewise.
66605         * sunrpc/rpc/rpc_des.h: Likewise.
66606         * sunrpc/rpc/rpc_msg.h: Likewise.
66607         * sunrpc/rpc/svc.h: Likewise.
66608         * sunrpc/rpc/svc_auth.h: Likewise.
66609         * sunrpc/rpc/types.h: Likewise.
66610         * sunrpc/rpc/xdr.h: Likewise.
66611         * sunrpc/rpc_clntout.c: Likewise.
66612         * sunrpc/rpc_cmsg.c: Likewise.
66613         * sunrpc/rpc_common.c: Likewise.
66614         * sunrpc/rpc_cout.c: Likewise.
66615         * sunrpc/rpc_dtable.c: Likewise.
66616         * sunrpc/rpc_hout.c: Likewise.
66617         * sunrpc/rpc_main.c: Likewise.
66618         * sunrpc/rpc_parse.c: Likewise.
66619         * sunrpc/rpc_parse.h: Likewise.
66620         * sunrpc/rpc_prot.c: Likewise.
66621         * sunrpc/rpc_sample.c: Likewise.
66622         * sunrpc/rpc_scan.c: Likewise.
66623         * sunrpc/rpc_scan.h: Likewise.
66624         * sunrpc/rpc_svcout.c: Likewise.
66625         * sunrpc/rpc_tblout.c: Likewise.
66626         * sunrpc/rpc_util.c: Likewise.
66627         * sunrpc/rpc_util.h: Likewise.
66628         * sunrpc/rpcinfo.c: Likewise.
66629         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
66630         * sunrpc/rpcsvc/key_prot.x: Likewise.
66631         * sunrpc/rpcsvc/klm_prot.x: Likewise.
66632         * sunrpc/rpcsvc/mount.x: Likewise.
66633         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
66634         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
66635         * sunrpc/rpcsvc/rex.x: Likewise.
66636         * sunrpc/rpcsvc/rstat.x: Likewise.
66637         * sunrpc/rpcsvc/rusers.x: Likewise.
66638         * sunrpc/rpcsvc/sm_inter.x: Likewise.
66639         * sunrpc/rpcsvc/spray.x: Likewise.
66640         * sunrpc/rpcsvc/yppasswd.x: Likewise.
66641         * sunrpc/rtime.c: Likewise.
66642         * sunrpc/svc.c: Likewise.
66643         * sunrpc/svc_auth.c: Likewise.
66644         * sunrpc/svc_authux.c: Likewise.
66645         * sunrpc/svc_raw.c: Likewise.
66646         * sunrpc/svc_run.c: Likewise.
66647         * sunrpc/svc_simple.c: Likewise.
66648         * sunrpc/svc_tcp.c: Likewise.
66649         * sunrpc/svc_udp.c: Likewise.
66650         * sunrpc/svc_unix.c: Likewise.
66651         * sunrpc/svcauth_des.c: Likewise.
66652         * sunrpc/xcrypt.c: Likewise.
66653         * sunrpc/xdr.c: Likewise.
66654         * sunrpc/xdr_array.c: Likewise.
66655         * sunrpc/xdr_float.c: Likewise.
66656         * sunrpc/xdr_mem.c: Likewise.
66657         * sunrpc/xdr_rec.c: Likewise.
66658         * sunrpc/xdr_ref.c: Likewise.
66659         * sunrpc/xdr_sizeof.c: Likewise.
66660         * sunrpc/xdr_stdio.c: Likewise.
66662         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
66663         handling.
66665 2010-08-19  Andreas Schwab  <schwab@redhat.com>
66667         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
66669 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
66671         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
66672         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
66673         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
66674         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
66675         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
66676         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
66677         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
66678         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
66679         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
66680         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
66681         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
66682         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
66683         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
66684         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
66686 2010-07-26  Anton Blanchard  <anton@samba.org>
66688         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
66689         * malloc/arena.c (heap_trim): Likewise.
66691 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
66693         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
66694         here.  Not...
66695         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
66696         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
66698 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
66700         * sysdeps/i386/elf/Makefile: New file.
66702 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
66704         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
66705         from fanotify_init.
66706         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
66707         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66709 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
66711         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
66712         of strncasecmp_l.
66713         * sysdeps/multiarch/strcmp.S: Likewise.
66715 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
66717         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66718         strncase_l-nonascii.
66719         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66720         Add strncase_l-ssse3.
66721         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
66722         * sysdeps/x86_64/strcmp.S: Likewise.
66723         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
66724         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
66725         * sysdeps/x86_64/strncase.S: New file.
66726         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
66727         * sysdeps/x86_64/strncase_l.S: New file.
66728         * string/Makefile (strop-tests): Add strncasecmp.
66729         * string/test-strncasecmp.c: New file.
66731         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
66732         warning.
66734         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
66735         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
66737 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
66739         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
66741 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
66743         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
66744         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
66745         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
66747 2010-05-01  Alan Modra  <amodra@gmail.com>
66749         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
66750         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
66751         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
66752         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
66753         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
66754         tidying.  Don't tail-call __sigjmp_save for static lib.
66755         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
66756         save location.
66757         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
66758         (CALL_MCOUNT): Add eh info, and nop after bl.
66759         (TAIL_CALL_SYSCALL_ERROR): New macro.
66760         (PSEUDO_RET): Use it.
66761         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
66762         Correct save location of integer regs and cr.
66763         (_dl_profile_resolve): Correct cr save location.  Delete nops
66764         after bl when SHARED.  Reduce cfi size a little by better
66765         placement of cfi directives.
66766         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
66767         make a stack frame.  Instead use parm save area as a temp.
66768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
66769         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
66770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
66771         Don't make a stack frame for parent, use parm save area.
66772         Increase child stack frame to 112 bytes.  Don't save unused reg,
66773         and adjust reg usage.  Set up cfi on error recovery and
66774         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
66775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66776         (__makecontext): Add dummy nop after jump to exit.
66777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
66778         Use correct parm save area and cr save, reduce stack frame.
66779         Correct cfi for possible PSEUDO_RET frame setup.
66780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
66781         Branch to local label emitted by PSEUDO_RET rather than
66782         __syscall_error.
66784 2010-08-12  Andreas Schwab  <schwab@redhat.com>
66786         [BZ #11904]
66787         * locale/programs/locale.c (print_assignment): New function.
66788         (show_locale_vars): Use it.
66790 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
66792         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
66793         field.
66794         (struct statfs64): Likewise.
66795         (_STATFS_F_FLAGS): Define.
66796         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
66797         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66798         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
66799         (ST_VALID): Define locally.
66800         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
66801         __statvfs_getflags, use the provided value.
66802         * sysdeps/unix/sysv/linux/kernel-features.h: Define
66803         __ASSUME_STATFS_F_FLAGS.
66805         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
66807         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
66808         Add sys/fanotify.h.
66809         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
66810         fanotify_mask for GLIBC_2.13.
66811         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
66812         fanotify_init and fanotify_mark.
66813         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66814         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
66816         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
66817         Add prlimit.
66818         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
66819         prlimit64 for GLIBC_2.13.
66820         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
66821         prlimit64.
66822         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
66823         syscall.
66824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
66825         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66826         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
66827         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
66828         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
66829         add prlimit alias.
66830         * sysdeps/unix/sysv/linux/prlimit.c: New file.
66832         [BZ #11903]
66833         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
66834         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
66836         * nss/Makefile: Add rules to build and run tst-nss-test1.
66837         * shlib-versions: Add entry for libnss_test1.
66838         * nss/nss_test1.c: New file.
66839         * nss/tst-nss-test1.c: New file.
66841         * nss/nsswitch.c (__nss_database_custom): Define new variable.
66842         (__nss_configure_lookup): Set appropriate entry in
66843         __nss_configure_lookup to true.
66844         * nss/nsswitch.h: Define enum with indeces of databases in
66845         databases and __nss_database_custom arrays.  Declare
66846         __nss_database_custom.
66847         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
66848         to avoid using nscd when custom rules are installed.
66849         * nss/getXXbyYY_r.c: Likewise.
66850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
66852         * nss/nss_files/files-parse.c: Whitespace fixes.
66854 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
66856         [BZ #11883]
66857         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
66858         * posix/fnmatch_loop.c: Likewise.
66860 2010-07-17  Andi Kleen  <ak@linux.intel.com>
66862         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
66863         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
66864         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
66865         * Versions.def [GLIBC_2.13]: Add.
66867 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
66869         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66870         Also fail if tpwd after pwuid call is NULL.
66872 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66874         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
66875         when converting to ms.
66877 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66879         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
66880         EOPNOTSUPP errors with ENOTTY.
66881         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
66882         EOPNOTSUPP errors with ENOTTY.
66884 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
66886         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66887         Add strcasecmp_l-ssse3.
66888         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
66889         strcasecmp.
66890         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
66891         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
66892         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
66894 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
66896         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
66898         * string/Makefile (strop-tests): Add strcasecmp.
66899         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66900         strcasecmp_l-nonascii.
66901         (gen-as-const-headers): Add locale-defines.sym.
66902         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
66903         * sysdeps/x86_64/strcasecmp.S: New file.
66904         * sysdeps/x86_64/strcasecmp_l.S: New file.
66905         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
66906         * sysdeps/x86_64/locale-defines.sym: New file.
66907         * string/test-strcasecmp.c: New file.
66909         * string/test-strcasestr.c: Test both ends of the range of characters.
66910         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
66912 2010-07-29  Roland McGrath  <roland@redhat.com>
66914         [BZ #11856]
66915         * manual/locale.texi (Yes-or-No Questions): Fix example code.
66917 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
66919         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
66920         for ld.so.
66922 2010-07-27  Andreas Schwab  <schwab@redhat.com>
66924         * manual/memory.texi (Malloc Tunable Parameters): Document
66925         M_PERTURB.
66927 2010-07-26  Roland McGrath  <roland@redhat.com>
66929         [BZ #11840]
66930         * configure.in (-fgnu89-inline check): Set and substitute
66931         gnu89_inline, not libc_cv_gnu89_inline.
66932         * configure: Regenerated.
66933         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
66935 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
66937         * string/test-strnlen.c: New file.
66938         * string/Makefile (strop-tests): Add strnlen.
66939         * string/tester.c (test_strnlen): Add a few more test cases.
66940         * string/tst-strlen.c: Better error reporting.
66942         * sysdeps/x86_64/strnlen.S: New file.
66944 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
66946         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66947         lower-latency instructions.
66949 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
66951         * string/test-strcasestr.c: New file.
66952         * string/test-strstr.c: New file.
66953         * string/Makefile (strop-tests): Add strstr and strcasestr.
66954         * string/str-two-way.h: Don't undefine MAX.
66955         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66957 2010-07-21  Andreas Schwab  <schwab@redhat.com>
66959         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66960         strcasestr-nonascii.
66961         (CFLAGS-strcasestr-nonascii.c): Define.
66962         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66963         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66964         Remove unused attribute.
66966 2010-07-20  Roland McGrath  <roland@redhat.com>
66968         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66969         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
66970         ld.so.cache was broken.  With it, there is no way to disable dsocaps
66971         like LD_HWCAP_MASK can disable hwcaps.
66973 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
66975         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66977 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
66979         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66980         call in strcasestr.
66981         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66982         __strcasestr_sse42_nonascii.
66983         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66984         strcasestr-nonascii.c.
66985         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66987 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
66989         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66990         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66991         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66992         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66994 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
66996         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66997         fcntl.
66999 2010-07-06  Andreas Schwab  <schwab@redhat.com>
67001         [BZ #11577]
67002         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
67003         dl_signal_cerror.
67005 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
67007         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
67008         _PC_PIPE_BUF using F_GETPIPE_SZ.
67010 2010-07-05  Roland McGrath  <roland@redhat.com>
67012         * manual/arith.texi (Rounding Functions): Fix rint description
67013         implicit in round description.
67015 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
67017         * elf/Makefile: Fix linking for a few tests to make recent linker
67018         happy.
67020 2010-06-30  Andreas Schwab  <schwab@redhat.com>
67022         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67023         $(common-objpfx)libc_nonshared.a.
67025 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
67027         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
67028         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
67029         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
67030         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
67031         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
67032         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
67033         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
67034         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
67035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
67036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
67037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
67038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
67039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
67040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
67041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
67042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
67043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
67044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
67045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
67046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
67047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
67048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
67049         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
67050         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
67051         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
67052         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
67053         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
67054         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
67055         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
67056         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
67057         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
67058         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
67059         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
67060         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
67061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
67062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
67063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
67064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
67065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
67066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
67067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
67068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
67069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
67070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
67071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
67072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
67073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
67074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
67076 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
67078         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
67079         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
67080         * string/memmove.c (memmove): Renamed to ...
67081         (MEMMOVE): ...this.  Default to memmove.
67082         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
67083         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
67084         (END_CHK): Define.
67085         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67086         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
67087         mempcpy-ssse3-back memmove-ssse3-back.
67088         * sysdeps/x86_64/multiarch/bcopy.S: New file .
67089         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
67090         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
67091         * sysdeps/x86_64/multiarch/memcpy.S: New file.
67092         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
67093         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
67094         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
67095         * sysdeps/x86_64/multiarch/memmove.c: New file.
67096         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
67097         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
67098         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
67099         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
67100         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
67101         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
67102         Define.
67103         (index_Fast_Copy_Backward): Define.
67104         (HAS_ARCH_FEATURE): Define.
67105         (HAS_FAST_REP_STRING): Define.
67106         (HAS_FAST_COPY_BACKWARD): Define.
67108 2010-06-21  Andreas Schwab  <schwab@redhat.com>
67110         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
67111         Restore proper fallback handling.
67113 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
67115         [BZ #11701]
67116         * posix/group_member.c (__group_member): Correct checking loop.
67118         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
67119         OOM in getpwuid_r correctly.  Return error number when the caller
67120         should return, otherwise -1.
67121         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
67122         call returning > 0 value.
67123         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
67125 2010-06-07  Andreas Schwab  <schwab@redhat.com>
67127         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
67128         libc_nonshared.a from targets in modules-names.
67130 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
67132         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
67133         requires it.
67135 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
67137         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
67138         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
67139         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
67140         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
67142 2010-06-02  Andreas Schwab  <schwab@redhat.com>
67144         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
67146 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
67148         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
67149         and F_GETPIPE_SZ.
67150         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
67151         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67152         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67153         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67154         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67155         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
67157 2010-06-14  Roland McGrath  <roland@redhat.com>
67159         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
67161 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
67163         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
67164         __REDIRECT followed by __THROW.
67165         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
67166         * posix/getopt.h (getopt): Likewise.
67168 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
67170         * hurd/lookup-at.c (__file_name_lookup_at): Accept
67171         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
67172         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
67173         in AT_FLAGS.
67174         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
67175         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
67177 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
67179         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
67181 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
67183         [BZ #11640]
67184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67185         Properly check family and model.
67187 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
67189         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
67191 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
67193         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
67195 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
67197         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
67198         symbol reference.
67200 2010-05-19  Andreas Schwab  <schwab@redhat.com>
67202         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
67203         symbol reference.
67205 2010-05-21  Andreas Schwab  <schwab@redhat.com>
67207         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
67208         and internal_recvmmsg.
67209         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
67210         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
67211         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
67212         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
67214         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
67215         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
67216         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
67218 2010-05-20  Andreas Schwab  <schwab@redhat.com>
67220         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
67222 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
67224         POWER7 optimizations.
67225         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
67226         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
67228 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
67230         * version.h: Update for 2.13 development version.
67232 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
67234         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
67235         exceptions.  Return 0.
67237 2010-05-07  Roland McGrath  <roland@redhat.com>
67239         * elf/ldconfig.c (main): Add a const.
67241 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
67243         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
67244         (args_options): Add no-idn option.
67245         (ahosts_keys_int): Add idn_flags to ai_flags.
67246         (parse_option): Handle 'i' option to clear idn_flags.
67248         * malloc/malloc.c (_int_free): Possible race in the most recently
67249         added check.  Only act on the data if no current modification
67250         happened.
67252 See ChangeLog.17 for earlier changes.